Skip to content

Commit bb56c50

Browse files
committed
Bump botocore dependency specification
1 parent 7116920 commit bb56c50

File tree

4 files changed

+21
-17
lines changed

4 files changed

+21
-17
lines changed

aiobotocore/signers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ async def get_auth_instance(
158158
return auth
159159

160160
credentials = request_credentials or self._credentials
161+
if credentials and (
162+
cred_method := getattr(credentials, 'method', None)
163+
):
164+
self.check_and_register_feature_id(cred_method)
161165
if getattr(cls, "REQUIRES_IDENTITY_CACHE", None) is True:
162166
cache = kwargs["identity_cache"]
163167
key = kwargs["cache_key"]

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dynamic = ["version", "readme"]
3232
dependencies = [
3333
"aiohttp >= 3.9.2, < 4.0.0",
3434
"aioitertools >= 0.5.1, < 1.0.0",
35-
"botocore >= 1.40.2, < 1.40.12", # NOTE: When updating, always keep `project.optional-dependencies` aligned
35+
"botocore >= 1.40.12, < 1.40.13", # NOTE: When updating, always keep `project.optional-dependencies` aligned
3636
"python-dateutil >= 2.1, < 3.0.0",
3737
"jmespath >= 0.7.1, < 2.0.0",
3838
"multidict >= 6.0.0, < 7.0.0",
@@ -41,10 +41,10 @@ dependencies = [
4141

4242
[project.optional-dependencies]
4343
awscli = [
44-
"awscli >= 1.42.2, < 1.42.12",
44+
"awscli >= 1.42.12, < 1.42.13",
4545
]
4646
boto3 = [
47-
"boto3 >= 1.40.2, < 1.40.12",
47+
"boto3 >= 1.40.12, < 1.40.13",
4848
]
4949
httpx = [
5050
"httpx >= 0.25.1, < 0.29"

tests/test_patches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,13 +1027,13 @@ def test_protocol_parsers():
10271027
(
10281028
RequestSigner.get_auth,
10291029
{
1030-
'13e90d57d536179621ac012ace97e4c2cbaa096e',
1030+
'10ba1f446244906daf170e68dbd1f13c54ec2d93',
10311031
},
10321032
),
10331033
(
10341034
RequestSigner.get_auth_instance,
10351035
{
1036-
'13e90d57d536179621ac012ace97e4c2cbaa096e',
1036+
'10ba1f446244906daf170e68dbd1f13c54ec2d93',
10371037
},
10381038
),
10391039
(

uv.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)