dev-python/moto: Bump to 5.2.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-11 05:10:00 +02:00
parent 27231a0264
commit d657d94a0f
2 changed files with 106 additions and 0 deletions

View File

@@ -3,3 +3,5 @@ DIST moto-5.1.22.tar.gz 8547792 BLAKE2B fda4ea90318a1eb8501ed29b2c6cc23c0779c9cc
DIST moto-5.1.22.tar.gz.provenance 9052 BLAKE2B 50c2c73d5a6afac0c84c333ddbc00370e83d5dd713af7ee1c412c8f11a50922b1ace8ec79aee35465a840a7754b313c61d9baf47c44933e99cc95f3bf2172fdd SHA512 a9800117bf73b7d51d795732f0589c2e217187465322a20614fcc3fdfbdbcf0d682613dcae3d826c01e2beb672af43f62458d36f0c2d155e87ab8d5a259458c4
DIST moto-5.2.0.tar.gz 8632930 BLAKE2B 396a09231ba80d0c621711b106c4e394be80f1165bcf12fbea44131d6df01effd45327f053924e54e06ffe4d95f77f99fb00c43d6d7f5613bdd1f265899e3fb9 SHA512 23ac55057ba9acca67ced50fab7eb6b529bcd3f2ce5baf96790a81ca381794af704a9cb34640cd6f1c79e63ba91229a2529728d38ead006544e9d47bbe7c84bf
DIST moto-5.2.0.tar.gz.provenance 9372 BLAKE2B 5b984d0190d20ca075542ec337bf6e21a0346832f586ec990f6ea624a2b2b9ca27fa4d84e1aa7718419b1dd5dff43fbea8331a3eeb77d703f8f69fe8cc6491c8 SHA512 a5c4261ed91f54ab8e5dafacc8ab0c799eea74a09afc644a52f5fa8ecd810625c6764e07e35f61f02f5ea3c976947b466bc83443fdffe0abb860b4590fbfd48d
DIST moto-5.2.1.tar.gz 8634437 BLAKE2B bcf2a13d611a3ab8c25b071f8b2655db4abecce75e1b7386828104673a83ad4d138bc629b379d03fe20a0ab450e4675cd2415c46a6813a06cf0368119197c4cb SHA512 eb723316f996becdbe73a89bf01dd1aee9faec7bbace1c0a1c9455a623c8c0e3214d076686306f12b214422ce7bf28528dec46dc0c357bba6a84d9f2b04f7ab8
DIST moto-5.2.1.tar.gz.provenance 9290 BLAKE2B b5c6c010a9265b12d6a6e2fda6b63f3debffd6c9f006c844f54be3880827691ff6cd1df143e6745561efd373e4893b83f0d4ad49704c9a01b34fa5617ed72b61 SHA512 24cb296cdeabb350200572a5e10f4cdafb16ce20fe1dfc6a0162f16aacbfbe484e200278e12e6ff01d9eb40273474b551ed1384aaf2b88c3aa1e543144c17438

View File

@@ -0,0 +1,104 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/getmoto/moto
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi toolchain-funcs
DESCRIPTION="Mock library for boto"
HOMEPAGE="
https://github.com/getmoto/moto/
https://pypi.org/project/moto/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}]
dev-python/boto3[${PYTHON_USEDEP}]
>=dev-python/botocore-1.35.47[${PYTHON_USEDEP}]
>=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}]
>=dev-python/cryptography-35.0.0[${PYTHON_USEDEP}]
dev-python/cookies[${PYTHON_USEDEP}]
>=dev-python/docker-3.0.0[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/flask-cors[${PYTHON_USEDEP}]
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
dev-python/jsonpath-ng[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/more-itertools[${PYTHON_USEDEP}]
>=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}]
>=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}]
dev-python/pyaml[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
dev-python/python-jose[${PYTHON_USEDEP}]
>=dev-python/responses-0.25.6[${PYTHON_USEDEP}]
>=dev-python/requests-2.5[${PYTHON_USEDEP}]
dev-python/sshpubkeys[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
dev-python/xmltodict[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
dev-python/zipp[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/antlr4-python3-runtime[${PYTHON_USEDEP}]
dev-python/freezegun[${PYTHON_USEDEP}]
dev-python/joserfc[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
EPYTEST_RERUNS=5
: "${EPYTEST_TIMEOUT:=180}"
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# TODO
tests/test_dynamodb/test_dynamodb_import_table.py
# require py_partiql_parser
tests/test_dynamodb/test_dynamodb_statements.py
tests/test_s3/test_s3_select.py
# require graphql
tests/test_appsync/test_appsync_schema.py
# Internet
tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_entire_service
tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_specific_url
tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_wildcard_urls
tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
# Appears to be internet issues with timing out
tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header
tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins
)
local EPYTEST_IGNORE=(
# require joserfc
tests/test_cognitoidp/test_cognitoidp.py
)
if ! tc-has-64bit-time_t; then
einfo "time_t is smaller than 64 bits, will skip broken tests"
EPYTEST_DESELECT+=(
tests/test_acm/test_acm.py::test_request_certificate_with_optional_arguments
tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header
tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins
)
EPYTEST_IGNORE+=(
tests/test_route53domains/test_route53domains_domain.py
)
fi
local -x TZ=UTC
local -x AWS_DEFAULT_REGION=us-east-1
# -o timeout_func_only=true: bad interaction with pytest-rerunfailures and pytest-timeout leads to a permanent hang otherwise
epytest -m 'not network and not requires_docker' -o timeout_func_only=true
}