python310Packages.moto: 4.0.3 -> 4.0.12

This commit is contained in:
Anthony Roussel 2022-12-11 20:25:23 +01:00
parent 4e2ee61dfd
commit b1d1ff029a
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -20,7 +20,6 @@
, openapi-spec-validator , openapi-spec-validator
, python-dateutil , python-dateutil
, python-jose , python-jose
, pytz
, pyyaml , pyyaml
, requests , requests
, responses , responses
@ -37,21 +36,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "moto"; pname = "moto";
version = "4.0.3"; version = "4.0.12";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-iutWdX5oavPkpj+Qr7yXPLIxrarYfFzonmiTbBCbC+k="; hash = "sha256-MPjzFljxjNsV62JsjLOgdSDw2MIZMib7yzMmrhL7okY=";
}; };
postPatch = ''
substituteInPlace setup.py \
--replace "werkzeug>=0.5,<2.2.0" "werkzeug>=0.5"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
aws-xray-sdk aws-xray-sdk
boto3 boto3
@ -68,7 +62,6 @@ buildPythonPackage rec {
openapi-spec-validator openapi-spec-validator
python-dateutil python-dateutil
python-jose python-jose
pytz
pyyaml pyyaml
requests requests
responses responses
@ -139,6 +132,8 @@ buildPythonPackage rec {
"tests/test_awslambda/test_lambda_eventsourcemapping.py" "tests/test_awslambda/test_lambda_eventsourcemapping.py"
"tests/test_awslambda/test_lambda_invoke.py" "tests/test_awslambda/test_lambda_invoke.py"
"tests/test_batch/test_batch_jobs.py" "tests/test_batch/test_batch_jobs.py"
"tests/test_kinesis/test_kinesis.py"
"tests/test_kinesis/test_kinesis_stream_consumers.py"
]; ];
disabledTests = [ disabledTests = [