python3Packages.moto: reduce test dependencies (#496457)

This commit is contained in:
Martin Weinelt
2026-03-04 13:29:59 +00:00
committed by GitHub
@@ -29,7 +29,6 @@
pyyaml,
requests,
responses,
sagemaker,
setuptools,
werkzeug,
xmltodict,
@@ -294,13 +293,21 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
antlr4-python3-runtime
aws-xray-sdk
docker
flask
flask-cors
freezegun
graphql-core
joserfc
openapi-spec-validator
py-partiql-parser
pyparsing
pytest-order
pytest-xdist
pytestCheckHook
sagemaker
]
++ optional-dependencies.server;
];
# Some tests depend on AWS credentials environment variables to be set.
env.AWS_ACCESS_KEY_ID = "ak";
@@ -382,8 +389,12 @@ buildPythonPackage rec {
# botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in input: "EnableWorkDocs", must be one of: [...]
"tests/test_workspaces/test_workspaces.py"
# Requires sagemaker client
# Requires sagemaker which is broken on Python 3.14
"other_langs/tests_sagemaker_client/test_model_training.py"
"other_langs/tests_sagemaker_client/test_pipeline_session.py"
# Requires cfn-lint which is broken on Python 3.14
"tests/test_cloudformation/test_validate.py"
];
meta = {