push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -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()

View File

@@ -0,0 +1,74 @@
{
lib,
aiobotocore,
aiofiles,
buildPythonPackage,
chalice,
cryptography,
dill,
fetchFromGitHub,
moto,
pytest-asyncio,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "aioboto3";
version = "15.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "terricain";
repo = "aioboto3";
tag = "v${version}";
hash = "sha256-H/hAfFyBfeBoR6nW0sv3/AzFPATUl2uJ+JbzNB5xemo=";
};
# https://github.com/terricain/aioboto3/pull/377
patches = [ ./boto3-compat.patch ];
pythonRelaxDeps = [
"aiobotocore"
];
build-system = [
setuptools
setuptools-scm
];
dependencies = [
aiobotocore
aiofiles
]
++ aiobotocore.optional-dependencies.boto3;
optional-dependencies = {
chalice = [ chalice ];
s3cse = [ cryptography ];
};
nativeCheckInputs = [
dill
moto
pytest-asyncio
pytestCheckHook
]
++ moto.optional-dependencies.server
++ lib.flatten (builtins.attrValues optional-dependencies);
disabledTests = [
"test_patches"
];
pythonImportsCheck = [ "aioboto3" ];
meta = {
description = "Wrapper to use boto3 resources with the aiobotocore async backend";
homepage = "https://github.com/terricain/aioboto3";
changelog = "https://github.com/terricain/aioboto3/blob/${src.rev}/CHANGELOG.rst";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ mbalatsko ];
};
}