Skip to content

Commit

Permalink
Merge branch 'release-1.28.0'
Browse files Browse the repository at this point in the history
* release-1.28.0:
  Bumping version to 1.28.0
  Update changelog based on model updates
  fix test failure on Python 3.11.x where mock.patch() raises exception (#8014)
  • Loading branch information
aws-sdk-python-automation committed Jul 3, 2023
2 parents 46ba85d + 86b58ca commit 8fcc79a
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 13 deletions.
12 changes: 12 additions & 0 deletions .changes/1.28.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"category": "``batch``",
"description": "This feature allows customers to use AWS Batch with Linux with ARM64 CPU Architecture and X86_64 CPU Architecture with Windows OS on Fargate Platform.",
"type": "api-change"
},
{
"category": "``sagemaker``",
"description": "SageMaker Inference Recommender now accepts new fields SupportedEndpointType and ServerlessConfiguration to support serverless endpoints.",
"type": "api-change"
}
]
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
CHANGELOG
=========

1.28.0
======

* api-change:``batch``: This feature allows customers to use AWS Batch with Linux with ARM64 CPU Architecture and X86_64 CPU Architecture with Windows OS on Fargate Platform.
* api-change:``sagemaker``: SageMaker Inference Recommender now accepts new fields SupportedEndpointType and ServerlessConfiguration to support serverless endpoints.


1.27.165
========

Expand Down
2 changes: 1 addition & 1 deletion awscli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"""
import os

__version__ = '1.27.165'
__version__ = '1.28.0'

#
# Get our data path to be added to botocore's search path
Expand Down
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
# built documents.
#
# The short X.Y version.
version = '1.27.1'
version = '1.28'
# The full version, including alpha/beta/rc tags.
release = '1.27.165'
release = '1.28.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ universal = 0

[metadata]
requires_dist =
botocore==1.29.165
botocore==1.30.0
docutils>=0.10,<0.17
s3transfer>=0.6.0,<0.7.0
PyYAML>=3.10,<5.5
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def find_version(*file_paths):


install_requires = [
'botocore==1.29.165',
'botocore==1.30.0',
'docutils>=0.10,<0.17',
's3transfer>=0.6.0,<0.7.0',
'PyYAML>=3.10,<5.5',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ def test_default_roles_exist(self):
# Expected results: Operations are performed by the client to verify
# existence of roles and then creation of roles (Service role,
# resource role and instance profile)
@mock.patch('awscli.customizations.datapipeline.'
@mock.patch('awscli.customizations.datapipeline.createdefaultroles.'
'CreateDefaultRoles._construct_result')
@mock.patch('awscli.customizations.datapipeline.'
@mock.patch('awscli.customizations.datapipeline.createdefaultroles.'
'CreateDefaultRoles._check_if_role_exists')
@mock.patch('awscli.customizations.datapipeline.'
@mock.patch('awscli.customizations.datapipeline.createdefaultroles.'
'CreateDefaultRoles._check_if_instance_profile_exists')
@mock.patch('awscli.customizations.datapipeline.'
@mock.patch('awscli.customizations.datapipeline.createdefaultroles.'
'CreateDefaultRoles._get_role_policy')
def test_default_roles_not_exist(self, get_rp_patch,
role_exists_patch,
Expand Down Expand Up @@ -150,13 +150,13 @@ def test_default_roles_not_exist(self, get_rp_patch,
# Use case: Creating only DataPipeline service role
# Expected output: The service role is created displaying a message
# to the customer that a particular role with a policy has been created
@mock.patch('awscli.customizations.datapipeline.'
@mock.patch('awscli.customizations.datapipeline.createdefaultroles.'
'CreateDefaultRoles._get_role_policy')
@mock.patch('awscli.customizations.datapipeline.'
@mock.patch('awscli.customizations.datapipeline.createdefaultroles.'
'CreateDefaultRoles._create_role_with_role_policy')
@mock.patch('awscli.customizations.datapipeline.'
@mock.patch('awscli.customizations.datapipeline.createdefaultroles.'
'CreateDefaultRoles._check_if_instance_profile_exists')
@mock.patch('awscli.customizations.datapipeline.'
@mock.patch('awscli.customizations.datapipeline.createdefaultroles.'
'CreateDefaultRoles._check_if_role_exists')
def test_constructed_result(self, role_exists_patch,
instance_profile_exists_patch,
Expand Down

0 comments on commit 8fcc79a

Please sign in to comment.