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
, python-dateutil
, python-jose
, pytz
, pyyaml
, requests
, responses
@ -37,21 +36,16 @@
buildPythonPackage rec {
pname = "moto";
version = "4.0.3";
version = "4.0.12";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
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 = [
aws-xray-sdk
boto3
@ -68,7 +62,6 @@ buildPythonPackage rec {
openapi-spec-validator
python-dateutil
python-jose
pytz
pyyaml
requests
responses
@ -139,6 +132,8 @@ buildPythonPackage rec {
"tests/test_awslambda/test_lambda_eventsourcemapping.py"
"tests/test_awslambda/test_lambda_invoke.py"
"tests/test_batch/test_batch_jobs.py"
"tests/test_kinesis/test_kinesis.py"
"tests/test_kinesis/test_kinesis_stream_consumers.py"
];
disabledTests = [