Skip to content

Commit b19bc09

Browse files
authored
Merge branch 'master' into httpx
2 parents 48b7310 + 1a1b2f8 commit b19bc09

10 files changed

+34
-29
lines changed

.readthedocs.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: "3.8"
7+
8+
sphinx:
9+
configuration: docs/conf.py
10+
11+
python:
12+
install:
13+
- requirements: docs/requirements.txt
14+
15+
formats:
16+
- htmlzip
17+
- epub

CHANGES.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changes
22
-------
33

4+
2.12.0 (2024-02-28)
5+
^^^^^^^^^^^^^^^^^^^
6+
* bump botocore dependency specification
7+
48
2.11.2 (2024-02-02)
59
^^^^^^^^^^^^^^^^^^^
610
* bump botocore dependency specification

aiobotocore/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.11.2'
1+
__version__ = '2.12.0'

aiobotocore/credentials.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -914,8 +914,7 @@ async def _retrieve_or_fail(self):
914914
full_uri = self._fetcher.full_url(self._environ[self.ENV_VAR])
915915
else:
916916
full_uri = self._environ[self.ENV_VAR_FULL]
917-
headers = self._build_headers()
918-
fetcher = self._create_fetcher(full_uri, headers)
917+
fetcher = self._create_fetcher(full_uri)
919918
creds = await fetcher()
920919
return AioRefreshableCredentials(
921920
access_key=creds['access_key'],
@@ -926,9 +925,10 @@ async def _retrieve_or_fail(self):
926925
refresh_using=fetcher,
927926
)
928927

929-
def _create_fetcher(self, full_uri, headers):
928+
def _create_fetcher(self, full_uri, *args, **kwargs):
930929
async def fetch_creds():
931930
try:
931+
headers = self._build_headers()
932932
response = await self._fetcher.retrieve_full_uri(
933933
full_uri, headers=headers
934934
)

docs/conf.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
#
9090
# This is also used if you do content translation via gettext catalogs.
9191
# Usually you set "language" from the command line for these cases.
92-
language = None
92+
language = "en"
9393

9494
# List of patterns, relative to source directory, that match files and
9595
# directories to ignore when looking for source files.
@@ -123,10 +123,6 @@
123123
'github_type': 'star',
124124
'github_banner': True,
125125
}
126-
# Add any paths that contain custom static files (such as style sheets) here,
127-
# relative to this directory. They are copied after the builtin static files,
128-
# so a file named "default.css" will overwrite the builtin "default.css".
129-
html_static_path = ['_static']
130126

131127

132128
# -- Options for HTMLHelp output ------------------------------------------

docs/examples/s3/basic_usage.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Put, Get and Delete
2-
-----------
2+
-------------------
3+
34
Simple put, get, delete example for S3 service:
45

56
.. literalinclude:: ../../../examples/simple.py

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sphinx==2.4.1
1+
sphinx==5.3.0

readthedocs.yml

-11
This file was deleted.

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
# NOTE: When updating botocore make sure to update awscli/boto3 versions below
88
install_requires = [
99
# pegged to also match items in `extras_require`
10-
'botocore>=1.33.2,<1.34.35',
10+
'botocore>=1.34.41,<1.34.52',
1111
'aiohttp>=3.7.4.post0,<4.0.0',
1212
'wrapt>=1.10.10, <2.0.0',
1313
'aioitertools>=0.5.1,<1.0.0',
1414
]
1515

1616
extras_require = {
17-
'awscli': ['awscli>=1.31.2,<1.32.35'],
18-
'boto3': ['boto3>=1.33.2,<1.34.35'],
17+
'awscli': ['awscli>=1.32.41,<1.32.52'],
18+
'boto3': ['boto3>=1.34.41,<1.34.52'],
1919
'httpx': ['httpx'],
2020
}
2121

tests/test_patches.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,9 @@
185185
'f09731451ff6ba0645dc82e5c7948dfbf781e025',
186186
},
187187
BaseClient.get_paginator: {
188-
'3531d5988aaaf0fbb3885044ccee1a693ec2608b',
189188
'1c38079de68ccd43a5a06e36b1a47ec62233a7c2',
190189
},
191190
BaseClient.get_waiter: {
192-
'44f0473d993d49ac7502984a7ccee3240b088404',
193191
'4a4aeabe53af25d3737204187a31f930230864b4',
194192
},
195193
BaseClient.__getattr__: {'3ec17f468f50789fa633d6041f40b66a2f593e77'},
@@ -266,10 +264,10 @@
266264
ContainerProvider.__init__: {'ea6aafb2e12730066af930fb5a27f7659c1736a1'},
267265
ContainerProvider.load: {'57c35569050b45c1e9e33fcdb3b49da9e342fdcf'},
268266
ContainerProvider._retrieve_or_fail: {
269-
'7c14f1cdee07217f847a71068866bdd10c3fa0fa'
267+
'c99153a4c68927810a3edde09ee98c5ba33d3697'
270268
},
271269
ContainerProvider._create_fetcher: {
272-
'935ae28fdb1c76f419523d4030265f8c4d9d0b00'
270+
'a921ee40b9b4779f238adcf369a3757b19857fc7'
273271
},
274272
InstanceMetadataProvider.load: {
275273
'15becfc0373ccfbc1bb200bd6a34731e61561d06'

0 commit comments

Comments
 (0)