Skip to content

Commit b5b557e

Browse files
Merge branch 'release-1.18.25'
* release-1.18.25: Bumping version to 1.18.25 Add changelog entries from botocore Replace deprecated unittest aliases (#2965)
2 parents 68b2dbc + 635c711 commit b5b557e

File tree

9 files changed

+47
-16
lines changed

9 files changed

+47
-16
lines changed

.changes/1.18.25.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"category": "``ec2``",
4+
"description": "[``botocore``] The ImportImage API now supports the ability to create AMIs with AWS-managed licenses for Microsoft SQL Server for both Windows and Linux.",
5+
"type": "api-change"
6+
},
7+
{
8+
"category": "``memorydb``",
9+
"description": "[``botocore``] AWS MemoryDB SDK now supports all APIs for newly launched MemoryDB service.",
10+
"type": "api-change"
11+
},
12+
{
13+
"category": "``application-autoscaling``",
14+
"description": "[``botocore``] This release extends Application Auto Scaling support for replication group of Amazon ElastiCache Redis clusters. Auto Scaling monitors and automatically expands node group count and number of replicas per node group when a critical usage threshold is met or according to customer-defined schedule.",
15+
"type": "api-change"
16+
},
17+
{
18+
"category": "``appflow``",
19+
"description": "[``botocore``] This release adds support for SAPOData connector and extends Veeva connector for document extraction.",
20+
"type": "api-change"
21+
}
22+
]

CHANGELOG.rst

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
CHANGELOG
33
=========
44

5+
1.18.25
6+
=======
7+
8+
* api-change:``ec2``: [``botocore``] The ImportImage API now supports the ability to create AMIs with AWS-managed licenses for Microsoft SQL Server for both Windows and Linux.
9+
* api-change:``memorydb``: [``botocore``] AWS MemoryDB SDK now supports all APIs for newly launched MemoryDB service.
10+
* api-change:``application-autoscaling``: [``botocore``] This release extends Application Auto Scaling support for replication group of Amazon ElastiCache Redis clusters. Auto Scaling monitors and automatically expands node group count and number of replicas per node group when a critical usage threshold is met or according to customer-defined schedule.
11+
* api-change:``appflow``: [``botocore``] This release adds support for SAPOData connector and extends Veeva connector for document extraction.
12+
13+
514
1.18.24
615
=======
716

boto3/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
__author__ = 'Amazon Web Services'
21-
__version__ = '1.18.24'
21+
__version__ = '1.18.25'
2222

2323

2424
# The default Boto3 session; autoloaded when needed.

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ universal = 0
33

44
[metadata]
55
requires_dist =
6-
botocore>=1.21.24,<1.22.0
6+
botocore>=1.21.25,<1.22.0
77
jmespath>=0.7.1,<1.0.0
88
s3transfer>=0.5.0,<0.6.0
99

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
requires = [
17-
'botocore>=1.21.24,<1.22.0',
17+
'botocore>=1.21.25,<1.22.0',
1818
'jmespath>=0.7.1,<1.0.0',
1919
's3transfer>=0.5.0,<0.6.0'
2020
]

tests/functional/test_resource.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_has_good_error_message_when_no_resource(self):
4545
err_regex = (
4646
'%s.*resource does not exist.' % bad_resource_name
4747
)
48-
with self.assertRaisesRegexp(ResourceNotExistsError, err_regex):
48+
with self.assertRaisesRegex(ResourceNotExistsError, err_regex):
4949
boto3.resource(bad_resource_name)
5050

5151

tests/unit/dynamodb/test_conditions.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ def setUp(self):
3535
self.value2 = 'foo2'
3636

3737
def test_and(self):
38-
with self.assertRaisesRegexp(
38+
with self.assertRaisesRegex(
3939
DynamoDBOperationNotSupportedError, 'AND'):
4040
self.attr & self.attr2
4141

4242
def test_or(self):
43-
with self.assertRaisesRegexp(
43+
with self.assertRaisesRegex(
4444
DynamoDBOperationNotSupportedError, 'OR'):
4545
self.attr | self.attr2
4646

4747
def test_not(self):
48-
with self.assertRaisesRegexp(
48+
with self.assertRaisesRegex(
4949
DynamoDBOperationNotSupportedError, 'NOT'):
5050
~self.attr
5151

@@ -243,7 +243,7 @@ def test_and_operator(self):
243243

244244
def test_and_operator_throws_excepetion(self):
245245
cond1 = Equals(self.value, self.value2)
246-
with self.assertRaisesRegexp(
246+
with self.assertRaisesRegex(
247247
DynamoDBOperationNotSupportedError, 'AND'):
248248
cond1 & self.value2
249249

@@ -254,7 +254,7 @@ def test_or_operator(self):
254254

255255
def test_or_operator_throws_excepetion(self):
256256
cond1 = Equals(self.value, self.value2)
257-
with self.assertRaisesRegexp(
257+
with self.assertRaisesRegex(
258258
DynamoDBOperationNotSupportedError, 'OR'):
259259
cond1 | self.value2
260260

tests/unit/dynamodb/test_types.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def setUp(self):
6161
self.serializer = TypeSerializer()
6262

6363
def test_serialize_unsupported_type(self):
64-
with self.assertRaisesRegexp(TypeError, 'Unsupported type'):
64+
with self.assertRaisesRegex(TypeError, 'Unsupported type'):
6565
self.serializer.serialize(object())
6666

6767
def test_serialize_null(self):
@@ -78,13 +78,13 @@ def test_serialize_decimal(self):
7878
self.serializer.serialize(Decimal('1.25')), {'N': '1.25'})
7979

8080
def test_serialize_float_error(self):
81-
with self.assertRaisesRegexp(
81+
with self.assertRaisesRegex(
8282
TypeError,
8383
'Float types are not supported. Use Decimal types instead'):
8484
self.serializer.serialize(1.25)
8585

8686
def test_serialize_NaN_error(self):
87-
with self.assertRaisesRegexp(
87+
with self.assertRaisesRegex(
8888
TypeError,
8989
'Infinity and NaN not supported'):
9090
self.serializer.serialize(Decimal('NaN'))
@@ -155,11 +155,11 @@ def setUp(self):
155155
self.deserializer = TypeDeserializer()
156156

157157
def test_deserialize_invalid_type(self):
158-
with self.assertRaisesRegexp(TypeError, 'FOO is not supported'):
158+
with self.assertRaisesRegex(TypeError, 'FOO is not supported'):
159159
self.deserializer.deserialize({'FOO': 'bar'})
160160

161161
def test_deserialize_empty_structure(self):
162-
with self.assertRaisesRegexp(TypeError, 'Value must be a nonempty'):
162+
with self.assertRaisesRegex(TypeError, 'Value must be a nonempty'):
163163
self.assertEqual(self.deserializer.deserialize({}), {})
164164

165165
def test_deserialize_null(self):

tests/unit/resources/test_factory.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,8 @@ def test_hash_resource_not_equal(self):
685685
p = resource.Queue('test1')
686686
q = resource.Queue('test2')
687687

688-
self.assertNotEquals(p, q, "Should not be equal resource")
689-
self.assertNotEquals(hash(p), hash(q), "Hash values should be different")
688+
self.assertNotEqual(p, q, "Should not be equal resource")
689+
self.assertNotEqual(hash(p), hash(q), "Hash values should be different")
690690

691691
def test_dangling_resource_create_with_kwarg(self):
692692
resource = self.load('test', self.model, self.defs)()

0 commit comments

Comments
 (0)