python3Packages.aioboto3: disable DynamoDB tests with aiobotocore 3.x

DynamoDB tests fail with aiobotocore 3.x due to HTTP header issue with
moto: 'Duplicate Server header found'. This is the same issue that
causes aiobotocore itself to disable its DynamoDB tests.

Fixes 7 test failures:
- test_dynamo_resource_query
- test_dynamo_resource_put
- test_dynamo_resource_batch_write_flush_on_exit_context
- test_dynamo_resource_batch_write_flush_amount
- test_flush_doesnt_reset_item_buffer
- test_dynamo_resource_property
- test_dynamo_resource_waiter
This commit is contained in:
superherointj
2026-04-25 18:35:30 -03:00
parent 58cc3f9969
commit bba77e69fc
@@ -75,6 +75,17 @@ buildPythonPackage (finalAttrs: {
"test_s3_copy_multipart"
"test_s3_download_file_404"
"test_s3_upload_file"
]
++ [
# DynamoDB tests fail with aiobotocore 3.x due to HTTP header issue with moto:
# "Duplicate 'Server' header found" - same issue as aiobotocore disables
"test_dynamo_resource_query"
"test_dynamo_resource_put"
"test_dynamo_resource_batch_write_flush_on_exit_context"
"test_dynamo_resource_batch_write_flush_amount"
"test_flush_doesnt_reset_item_buffer"
"test_dynamo_resource_property"
"test_dynamo_resource_waiter"
];
pythonImportsCheck = [ "aioboto3" ];