python3Packages.moto: 4.2.13 -> 5.0.3

https://github.com/getmoto/moto/blob/5.0.3/CHANGELOG.md
This commit is contained in:
Martin Weinelt
2024-03-12 18:24:33 +01:00
parent ba39403972
commit ba5dcbcc88
@@ -20,19 +20,17 @@
# optional-dependencies
, aws-xray-sdk
, cfn-lint
, docker
, ecdsa
, flask
, flask-cors
, docker
, graphql-core
, joserfc
, jsondiff
, multipart
, openapi-spec-validator
, py-partiql-parser
, pyparsing
, python-jose
, pyyaml
, sshpubkeys
# tests
, freezegun
@@ -43,14 +41,14 @@
buildPythonPackage rec {
pname = "moto";
version = "4.2.13";
version = "5.0.3";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-Aa72pImnJcjXJb09xvcP8b7a7j4mQXUuS0cf8O3ktNc=";
hash = "sha256-BwrC7fia167ihTRIHOaOLzRMimqP7+xUJ+6g1Zm/29s=";
};
nativeBuildInputs = [
@@ -75,20 +73,21 @@ buildPythonPackage rec {
aws-xray-sdk
cfn-lint
docker
ecdsa
flask
flask-cors
graphql-core
joserfc
jsondiff
multipart
openapi-spec-validator
py-partiql-parser
pyparsing
python-jose
py-partiql-parser
pyyaml
setuptools
sshpubkeys
] ++ python-jose.optional-dependencies.cryptography;
];
cognitoidp = [
joserfc
];
};
__darwinAllowLocalNetworking = true;
@@ -121,6 +120,11 @@ buildPythonPackage rec {
"--deselect=tests/test_firehose/test_firehose_put.py::test_put_record_http_destination"
"--deselect=tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination"
# Fails at resolving s3.amazonaws.com
"--deselect=tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_wildcard_urls"
"--deselect=tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_specific_url"
"--deselect=tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_entire_service"
# Download recordings returns faulty JSON
"--deselect=tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_ec2_instance_creation_recording_on"
"--deselect=tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_ec2_instance_creation__recording_off"