Skip to content

Commit 7b3410e

Browse files
committed
Bump botocore dependency specification
1 parent c7a86c3 commit 7b3410e

File tree

4 files changed

+21
-17
lines changed

4 files changed

+21
-17
lines changed

aiobotocore/regions.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ async def construct_endpoint(
4444
LOG.debug('Endpoint provider result: %s', provider_result.url)
4545

4646
# The endpoint provider does not support non-secure transport.
47-
if not self._use_ssl and provider_result.url.startswith('https://'):
47+
if (
48+
not self._use_ssl
49+
and provider_result.url.startswith('https://')
50+
and 'Endpoint' not in provider_params
51+
):
4852
provider_result = provider_result._replace(
4953
url=f'http://{provider_result.url[8:]}'
5054
)

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.12, < 1.40.15", # NOTE: When updating, always keep `project.optional-dependencies` aligned
35+
"botocore >= 1.40.15, < 1.40.19", # 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.12, < 1.42.15",
44+
"awscli >= 1.42.15, < 1.42.19",
4545
]
4646
boto3 = [
47-
"boto3 >= 1.40.12, < 1.40.15",
47+
"boto3 >= 1.40.15, < 1.40.19",
4848
]
4949
httpx = [
5050
"httpx >= 0.25.1, < 0.29"

tests/test_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ def test_protocol_parsers():
907907
(
908908
EndpointRulesetResolver.construct_endpoint,
909909
{
910-
'f3ad94494006fcfdbd622f6c19e0de9fba0ad199',
910+
'05e4f37e807b57bf9ff37dbe870308b684c62c02',
911911
},
912912
),
913913
(

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)