3 antlr4-python3-runtime,
22 openapi-spec-validator,
38 buildPythonPackage rec {
43 disabled = pythonOlder "3.8";
46 inherit pname version;
47 hash = "sha256-9K+xdqlkzXpw2pvF4FPUMQlhTOPKsmBEvLtTYQQ13/Q=";
50 build-system = [ setuptools ];
64 optional-dependencies = {
66 antlr4-python3-runtime
77 openapi-spec-validator
84 antlr4-python3-runtime
93 openapi-spec-validator
100 antlr4-python3-runtime
110 openapi-spec-validator
116 cognitoidp = [ joserfc ];
120 openapi-spec-validator
124 openapi-spec-validator
133 openapi-spec-validator
147 events = [ jsonpath-ng ];
148 glue = [ pyparsing ];
149 iotdata = [ jsondiff ];
150 resourcegroupstaggingapi = [
156 openapi-spec-validator
166 antlr4-python3-runtime
176 __darwinAllowLocalNetworking = true;
178 nativeCheckInputs = [
183 ] ++ optional-dependencies.all;
185 # Some tests depend on AWS credentials environment variables to be set.
186 env.AWS_ACCESS_KEY_ID = "ak";
187 env.AWS_SECRET_ACCESS_KEY = "sk";
191 "'not network and not requires_docker'"
193 # Matches upstream configuration, presumably due to expensive setup/teardown.
199 # Fails at local name resolution
200 "test_with_custom_request_header"
201 "test_s3_server_post_cors_multiple_origins"
202 "test_create_multipart"
203 "test_aws_and_http_requests"
206 # Fails at resolving google.com
207 "test_put_record_http_destination"
208 "test_put_record_batch_http_destination"
210 # Fails at resolving s3.amazonaws.com
211 "test_passthrough_calls_for_wildcard_urls"
212 "test_passthrough_calls_for_specific_url"
213 "test_passthrough_calls_for_entire_service"
215 # Download recordings returns faulty JSON
216 "test_ec2_instance_creation_recording_on"
217 "test_ec2_instance_creation__recording_off"
219 # Connection Reset by Peer, when connecting to localhost:5678
222 # Flaky under parallel execution
223 "test_cloudformation_server_get"
224 "test_should_find_bucket"
226 # AssertionError: assert ResourceWarning not in [<class 'ResourceWarning'>, <class 'ResourceWarning'>]
227 "test_delete_object_with_version"
229 # KeyError beucase of ap-southeast-5-apse5-az
230 "test_zoneId_in_availability_zones"
232 # Parameter validation fails
233 "test_conditional_write"
236 disabledTestPaths = [
237 # Flaky under parallel execution, Connection Reset errors to localhost.
238 "tests/test_moto_api/recorder/test_recorder.py"
240 # Flaky under parallel execution
241 "tests/test_resourcegroupstaggingapi/*.py"
243 # Tries to access the network
244 "tests/test_batch/test_batch_jobs.py"
246 # Threading tests regularly blocks test execution
247 "tests/test_utilities/test_threaded_server.py"
248 "tests/test_s3/test_s3_bucket_policy.py"
250 # https://github.com/getmoto/moto/issues/7786
251 "tests/test_dynamodb/test_dynamodb_import_table.py"
253 # Infinite recursion with pycognito
254 "tests/test_cognitoidp/test_cognitoidp.py"
258 description = "Module to allow your tests to easily mock out AWS Services";
259 homepage = "https://github.com/getmoto/moto";
260 changelog = "https://github.com/getmoto/moto/blob/${version}/CHANGELOG.md";
261 license = licenses.asl20;