python3Packages.aioboto3: make compatible with boto3 1.40.4

This commit is contained in:
Martin Weinelt
2025-08-09 19:05:12 +02:00
parent dc471edbde
commit 03c2f57a90
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,15 @@
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()
@@ -26,6 +26,9 @@ buildPythonPackage rec {
hash = "sha256-Z4tUwTFaXC3BGUKc1FPY0xoaUViAEiZNeP5REWotw2M=";
};
# https://github.com/terricain/aioboto3/pull/377
patches = [ ./boto3-compat.patch ];
pythonRelaxDeps = [
"aiobotocore"
];