python3Packages.aioboto3: make compatible with boto3 1.40.4

Changed files
+18
pkgs
development
python-modules
+15
pkgs/development/python-modules/aioboto3/boto3-compat.patch
···
+
diff --git a/aioboto3/session.py b/aioboto3/session.py
+
index b6c2129..c97eaaf 100644
+
--- a/aioboto3/session.py
+
+++ b/aioboto3/session.py
+
@@ -79,7 +79,9 @@ class Session(boto3.session.Session):
+
+
if any(creds):
+
if self._account_id_set_without_credentials(
+
- aws_account_id, aws_access_key_id, aws_secret_access_key
+
+ aws_account_id=aws_account_id,
+
+ aws_access_key_id=aws_access_key_id,
+
+ aws_secret_access_key=aws_secret_access_key
+
):
+
raise NoCredentialsError()
+
+3
pkgs/development/python-modules/aioboto3/default.nix
···
hash = "sha256-Z4tUwTFaXC3BGUKc1FPY0xoaUViAEiZNeP5REWotw2M=";
};
+
# https://github.com/terricain/aioboto3/pull/377
+
patches = [ ./boto3-compat.patch ];
+
pythonRelaxDeps = [
"aiobotocore"
];