Skip to content

Commit 3ec4815

Browse files
Merge branch 'release-1.42.6'
* release-1.42.6: Bumping version to 1.42.6 Add changelog entries from botocore Fix logging calls to defer formatting messages until needed (#4674)
2 parents 1237051 + 436017b commit 3ec4815

File tree

9 files changed

+74
-11
lines changed

9 files changed

+74
-11
lines changed

.changes/1.42.6.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"category": "``account``",
4+
"description": "[``botocore``] This release adds a new API (GetGovCloudAccountInformation) used to retrieve information about a linked GovCloud account from the standard AWS partition.",
5+
"type": "api-change"
6+
},
7+
{
8+
"category": "``appsync``",
9+
"description": "[``botocore``] Update Event API to require EventConfig parameter in creation and update requests.",
10+
"type": "api-change"
11+
},
12+
{
13+
"category": "``endpoint-rules``",
14+
"description": "[``botocore``] Update endpoint-rules client to latest version",
15+
"type": "api-change"
16+
},
17+
{
18+
"category": "``guardduty``",
19+
"description": "[``botocore``] Adding support for Ec2LaunchTemplate Version field",
20+
"type": "api-change"
21+
},
22+
{
23+
"category": "``ivs-realtime``",
24+
"description": "[``botocore``] Token Exchange introduces seamless token exchange capabilities for IVS RTX, enabling customers to upgrade or downgrade token capabilities and update token attributes within the IVS client SDK without forcing clients to disconnect and reconnect.",
25+
"type": "api-change"
26+
},
27+
{
28+
"category": "``mgn``",
29+
"description": "[``botocore``] Added parameters encryption, IPv4/IPv6 protocol configuration, and enhanced tagging support for replication operations.",
30+
"type": "api-change"
31+
},
32+
{
33+
"category": "``route53``",
34+
"description": "[``botocore``] Amazon Route 53 now supports the EU (Germany) Region (eusc-de-east-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region",
35+
"type": "api-change"
36+
}
37+
]

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.12.0
10+
rev: v0.14.8
1111
hooks:
1212
- id: ruff-check
1313
args: [ --fix ]

CHANGELOG.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
CHANGELOG
33
=========
44

5+
1.42.6
6+
======
7+
8+
* api-change:``account``: [``botocore``] This release adds a new API (GetGovCloudAccountInformation) used to retrieve information about a linked GovCloud account from the standard AWS partition.
9+
* api-change:``appsync``: [``botocore``] Update Event API to require EventConfig parameter in creation and update requests.
10+
* api-change:``endpoint-rules``: [``botocore``] Update endpoint-rules client to latest version
11+
* api-change:``guardduty``: [``botocore``] Adding support for Ec2LaunchTemplate Version field
12+
* api-change:``ivs-realtime``: [``botocore``] Token Exchange introduces seamless token exchange capabilities for IVS RTX, enabling customers to upgrade or downgrade token capabilities and update token attributes within the IVS client SDK without forcing clients to disconnect and reconnect.
13+
* api-change:``mgn``: [``botocore``] Added parameters encryption, IPv4/IPv6 protocol configuration, and enhanced tagging support for replication operations.
14+
* api-change:``route53``: [``botocore``] Amazon Route 53 now supports the EU (Germany) Region (eusc-de-east-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region
15+
16+
517
1.42.5
618
======
719

boto3/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from boto3.session import Session
1919

2020
__author__ = 'Amazon Web Services'
21-
__version__ = '1.42.5'
21+
__version__ = '1.42.6'
2222

2323

2424
# The default Boto3 session; autoloaded when needed.

boto3/resources/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def _load_name_with_category(self, names, name, category, snake_case=True):
366366
name = xform_name(name)
367367

368368
if name in names:
369-
logger.debug(f'Renaming {self.name} {category} {name}')
369+
logger.debug('Renaming %s %s %s', self.name, category, name)
370370
self._renamed[(category, name)] = name + '_' + category
371371
name += '_' + category
372372

boto3/s3/transfer.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,17 @@ def create_transfer_manager(client, config, osutil=None):
175175
crt_transfer_manager = create_crt_transfer_manager(client, config)
176176
if crt_transfer_manager is not None:
177177
logger.debug(
178-
f"Using CRT client. pid: {getpid()}, thread: {threading.get_ident()}"
178+
"Using CRT client. pid: %s, thread: %s",
179+
getpid(),
180+
threading.get_ident(),
179181
)
180182
return crt_transfer_manager
181183

182184
# If we don't resolve something above, fallback to the default.
183185
logger.debug(
184-
f"Using default client. pid: {getpid()}, thread: {threading.get_ident()}"
186+
"Using default client. pid: %s, thread: %s",
187+
getpid(),
188+
threading.get_ident(),
185189
)
186190
return _create_default_transfer_manager(client, config, osutil)
187191

@@ -214,9 +218,11 @@ def _should_use_crt(config):
214218
return True
215219

216220
logger.debug(
217-
"Opting out of CRT Transfer Manager. Preferred client: "
218-
f"{pref_transfer_client}, CRT available: {HAS_CRT}, "
219-
f"Instance Optimized: {is_optimized_instance}."
221+
"Opting out of CRT Transfer Manager. "
222+
"Preferred client: %s, CRT available: %s, Instance Optimized: %s",
223+
pref_transfer_client,
224+
HAS_CRT,
225+
is_optimized_instance,
220226
)
221227
return False
222228

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,15 @@ target-version = "py39"
4343
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
4444
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
4545
# McCabe complexity (`C901`) by default.
46-
select = ["E4", "E7", "E9", "F", "I", "UP"]
46+
select = [
47+
"E4", # pycodestyle
48+
"E7", # pycodestyle
49+
"E9", # pycodestyle
50+
"F", # pyflakes
51+
"G", # flake8-logging-format
52+
"I", # isort
53+
"UP", # pyupgrade
54+
]
4755
ignore = []
4856

4957
# Allow fix for all enabled rules (when `--fix`) is provided.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ universal = 0
33

44
[metadata]
55
requires_dist =
6-
botocore>=1.42.5,<1.43.0
6+
botocore>=1.42.6,<1.43.0
77
jmespath>=0.7.1,<2.0.0
88
s3transfer>=0.16.0,<0.17.0
99

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
requires = [
17-
'botocore>=1.42.5,<1.43.0',
17+
'botocore>=1.42.6,<1.43.0',
1818
'jmespath>=0.7.1,<2.0.0',
1919
's3transfer>=0.16.0,<0.17.0',
2020
]

0 commit comments

Comments
 (0)