python3Packages.moto: reduce test dependencies
The sagemaker and cfn-lint packages don't work on Python 3.14. Removing them from `nativeCheckInputs` lets us build moto for Python 3.14.
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user