3 antlr4-python3-runtime,
22 openapi-spec-validator,
38 buildPythonPackage rec {
43 disabled = pythonOlder "3.8";
46 inherit pname version;
47 hash = "sha256-JLExnMZvgfQIF6V6yAYCpfGGJmm91iHw2Wq5iaZXglU=";
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
167 antlr4-python3-runtime
177 __darwinAllowLocalNetworking = true;
179 nativeCheckInputs = [
184 ] ++ optional-dependencies.all;
186 # Some tests depend on AWS credentials environment variables to be set.
187 env.AWS_ACCESS_KEY_ID = "ak";
188 env.AWS_SECRET_ACCESS_KEY = "sk";
192 "'not network and not requires_docker'"
194 # Matches upstream configuration, presumably due to expensive setup/teardown.
200 # Fails at local name resolution
201 "test_with_custom_request_header"
202 "test_s3_server_post_cors_multiple_origins"
203 "test_create_multipart"
204 "test_aws_and_http_requests"
207 # Fails at resolving google.com
208 "test_put_record_http_destination"
209 "test_put_record_batch_http_destination"
211 # Fails at resolving s3.amazonaws.com
212 "test_passthrough_calls_for_wildcard_urls"
213 "test_passthrough_calls_for_specific_url"
214 "test_passthrough_calls_for_entire_service"
216 # Download recordings returns faulty JSON
217 "test_ec2_instance_creation_recording_on"
218 "test_ec2_instance_creation__recording_off"
220 # Connection Reset by Peer, when connecting to localhost:5678
223 # Flaky under parallel execution
224 "test_cloudformation_server_get"
225 "test_should_find_bucket"
227 # AssertionError: assert ResourceWarning not in [<class 'ResourceWarning'>, <class 'ResourceWarning'>]
228 "test_delete_object_with_version"
230 # KeyError beucase of ap-southeast-5-apse5-az
231 "test_zoneId_in_availability_zones"
233 # Parameter validation fails
234 "test_conditional_write"
237 disabledTestPaths = [
238 # Flaky under parallel execution, Connection Reset errors to localhost.
239 "tests/test_moto_api/recorder/test_recorder.py"
241 # Flaky under parallel execution
242 "tests/test_resourcegroupstaggingapi/*.py"
244 # Tries to access the network
245 "tests/test_batch/test_batch_jobs.py"
247 # Threading tests regularly blocks test execution
248 "tests/test_utilities/test_threaded_server.py"
249 "tests/test_s3/test_s3_bucket_policy.py"
251 # https://github.com/getmoto/moto/issues/7786
252 "tests/test_dynamodb/test_dynamodb_import_table.py"
254 # Infinite recursion with pycognito
255 "tests/test_cognitoidp/test_cognitoidp.py"
259 description = "Allows your tests to easily mock out AWS Services";
260 homepage = "https://github.com/getmoto/moto";
261 changelog = "https://github.com/getmoto/moto/blob/${version}/CHANGELOG.md";
262 license = lib.licenses.asl20;
263 maintainers = with lib.maintainers; [ onny ];