Skip to content

Commit d233684

Browse files
Merge branch 'release-1.42.66'
* release-1.42.66: Bumping version to 1.42.66 Add changelog entries from botocore Add TypeError for bare @requires_crt usage and regression tests (#4734) Update documentation.yml (#4725)
2 parents b7b0a0f + 4f44a49 commit d233684

8 files changed

Lines changed: 85 additions & 4 deletions

File tree

.changes/1.42.66.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"category": "``customer-profiles``",
4+
"description": "[``botocore``] Today, Amazon Connect is announcing the ability to filter (include or exclude) recommendations based on properties of items and interactions.",
5+
"type": "api-change"
6+
},
7+
{
8+
"category": "``eks``",
9+
"description": "[``botocore``] Adds support for a new tier in controlPlaneScalingConfig on EKS Clusters.",
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": "``polly``",
19+
"description": "[``botocore``] Added support for the new voices - Ambre (fr-FR), Beatrice (it-IT), Florian (fr-FR), Lennart (de-DE), Lorenzo (it-IT) and Tiffany (en-US). They are available as a Generative voices only.",
20+
"type": "api-change"
21+
},
22+
{
23+
"category": "``sagemaker``",
24+
"description": "[``botocore``] SageMaker training plans allow you to extend your existing training plans to avoid workload interruptions without workload reconfiguration. When a training plan is approaching expiration, you can extend it directly through the SageMaker AI console or programmatically using the API or AWS CLI.",
25+
"type": "api-change"
26+
},
27+
{
28+
"category": "``simpledbv2``",
29+
"description": "[``botocore``] Introduced Amazon SimpleDB export functionality enabling domain data export to S3 in JSON format. Added three new APIs StartDomainExport, GetExport, and ListExports via SimpleDBv2 service. Supports cross-region exports and KMS encryption.",
30+
"type": "api-change"
31+
},
32+
{
33+
"category": "``workspaces``",
34+
"description": "[``botocore``] Added WINDOWS SERVER 2025 OperatingSystemName.",
35+
"type": "api-change"
36+
}
37+
]

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: "📕 Documentation Issue"
33
description: Report an issue in the API Reference documentation or Developer Guide
44
title: "(short issue description)"
5-
labels: [documentation, needs-triage]
5+
labels: [documentation, needs-triage, bug]
66
assignees: []
77
body:
88
- type: textarea
@@ -21,3 +21,4 @@ body:
2121
Include links to affected documentation page(s).
2222
validations:
2323
required: true
24+

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.66
6+
=======
7+
8+
* api-change:``customer-profiles``: [``botocore``] Today, Amazon Connect is announcing the ability to filter (include or exclude) recommendations based on properties of items and interactions.
9+
* api-change:``eks``: [``botocore``] Adds support for a new tier in controlPlaneScalingConfig on EKS Clusters.
10+
* api-change:``endpoint-rules``: [``botocore``] Update endpoint-rules client to latest version
11+
* api-change:``polly``: [``botocore``] Added support for the new voices - Ambre (fr-FR), Beatrice (it-IT), Florian (fr-FR), Lennart (de-DE), Lorenzo (it-IT) and Tiffany (en-US). They are available as a Generative voices only.
12+
* api-change:``sagemaker``: [``botocore``] SageMaker training plans allow you to extend your existing training plans to avoid workload interruptions without workload reconfiguration. When a training plan is approaching expiration, you can extend it directly through the SageMaker AI console or programmatically using the API or AWS CLI.
13+
* api-change:``simpledbv2``: [``botocore``] Introduced Amazon SimpleDB export functionality enabling domain data export to S3 in JSON format. Added three new APIs StartDomainExport, GetExport, and ListExports via SimpleDBv2 service. Supports cross-region exports and KMS encryption.
14+
* api-change:``workspaces``: [``botocore``] Added WINDOWS SERVER 2025 OperatingSystemName.
15+
16+
517
1.42.65
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.65'
21+
__version__ = '1.42.66'
2222

2323

2424
# The default Boto3 session; autoloaded when needed.

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.65,<1.43.0
6+
botocore>=1.42.66,<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.65,<1.43.0',
17+
'botocore>=1.42.66,<1.43.0',
1818
'jmespath>=0.7.1,<2.0.0',
1919
's3transfer>=0.16.0,<0.17.0',
2020
]

tests/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ def tearDown(self):
5252

5353

5454
def requires_crt(reason=None):
55+
if callable(reason):
56+
raise TypeError(
57+
"Use @requires_crt() with parentheses, not bare @requires_crt"
58+
)
5559
if reason is None:
5660
reason = "Test requires awscrt to be installed"
5761

tests/unit/test_crt.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,30 @@ def test_config_without_crt_support_emits_warning(
231231
for r in caplog.records
232232
]
233233
)
234+
235+
236+
class TestRequiresCrt:
237+
def test_bare_requires_crt_fails_immediately(self):
238+
with pytest.raises(TypeError):
239+
240+
@requires_crt
241+
def my_test():
242+
pass
243+
244+
def test_requires_crt_skips_when_no_crt(self):
245+
with mock.patch('tests.HAS_CRT', False):
246+
247+
@requires_crt()
248+
def my_test():
249+
assert False
250+
251+
assert getattr(my_test, '__unittest_skip__', False) is True
252+
253+
def test_requires_crt_runs_when_crt_available(self):
254+
with mock.patch('tests.HAS_CRT', True):
255+
256+
@requires_crt()
257+
def my_test():
258+
pass
259+
260+
assert getattr(my_test, '__unittest_skip__', False) is False

0 commit comments

Comments
 (0)