Skip to content

Commit 5bbeeca

Browse files
Merge branch 'release-1.18.0'
* release-1.18.0: Bumping version to 1.18.0 Add changelog entries from botocore Remove Python 2.7 support references (#2922)
2 parents 5776722 + c4d92f9 commit 5bbeeca

File tree

11 files changed

+70
-17
lines changed

11 files changed

+70
-17
lines changed

.changes/1.18.0.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"category": "``ec2``",
4+
"description": "[``botocore``] This feature enables customers to specify weekly recurring time window(s) for scheduled events that reboot, stop or terminate EC2 instances.",
5+
"type": "api-change"
6+
},
7+
{
8+
"category": "``cognito-idp``",
9+
"description": "[``botocore``] Documentation updates for cognito-idp",
10+
"type": "api-change"
11+
},
12+
{
13+
"category": "``ecs``",
14+
"description": "[``botocore``] Documentation updates for support of awsvpc mode on Windows.",
15+
"type": "api-change"
16+
},
17+
{
18+
"category": "``lex-models``",
19+
"description": "[``botocore``] Lex now supports the en-IN locale",
20+
"type": "api-change"
21+
},
22+
{
23+
"category": "``iotsitewise``",
24+
"description": "[``botocore``] Update the default endpoint for the APIs used to manage asset models, assets, gateways, tags, and account configurations. If you have firewalls with strict egress rules, configure the rules to grant you access to api.iotsitewise.[region].amazonaws.com or api.iotsitewise.[cn-region].amazonaws.com.cn.",
25+
"type": "api-change"
26+
},
27+
{
28+
"category": "Python",
29+
"description": "Drop support for Python 2.7",
30+
"type": "feature"
31+
},
32+
{
33+
"category": "Python",
34+
"description": "[``botocore``] Dropped support for Python 2.7",
35+
"type": "feature"
36+
}
37+
]

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [2.7, 3.6, 3.7, 3.8]
16+
python-version: [3.6, 3.7, 3.8]
1717
os: [ubuntu-latest, macOS-latest, windows-latest ]
1818

1919
steps:

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.18.0
6+
======
7+
8+
* api-change:``ec2``: [``botocore``] This feature enables customers to specify weekly recurring time window(s) for scheduled events that reboot, stop or terminate EC2 instances.
9+
* api-change:``cognito-idp``: [``botocore``] Documentation updates for cognito-idp
10+
* api-change:``ecs``: [``botocore``] Documentation updates for support of awsvpc mode on Windows.
11+
* api-change:``lex-models``: [``botocore``] Lex now supports the en-IN locale
12+
* api-change:``iotsitewise``: [``botocore``] Update the default endpoint for the APIs used to manage asset models, assets, gateways, tags, and account configurations. If you have firewalls with strict egress rules, configure the rules to grant you access to api.iotsitewise.[region].amazonaws.com or api.iotsitewise.[cn-region].amazonaws.com.cn.
13+
* feature:Python: Drop support for Python 2.7
14+
* feature:Python: [``botocore``] Dropped support for Python 2.7
15+
16+
517
1.17.112
618
========
719

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ of services like Amazon S3 and Amazon EC2. You can find the latest, most
1010
up to date, documentation at our `doc site`_, including a list of
1111
services that are supported.
1212

13-
On 01/15/2021 deprecation for Python 2.7 was announced and support will be dropped
13+
On 01/15/2021 deprecation for Python 2.7 was announced and support was dropped
1414
on 07/15/2021. To avoid disruption, customers using Boto3 on Python 2.7 may
1515
need to upgrade their version of Python or pin the version of Boto3. For
1616
more information, see this `blog post <https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-python-2-7-in-aws-sdk-for-python-and-aws-cli-v1/>`__.

boto3/__init__.py

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

1919

2020
__author__ = 'Amazon Web Services'
21-
__version__ = '1.17.112'
21+
__version__ = '1.18.0'
2222

2323

2424
# The default Boto3 session; autoloaded when needed.

boto3/compat.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ def filter_python_deprecation_warnings():
6464

6565

6666
def _warn_deprecated_python():
67+
"""Python 2.7 is deprecated so this code will no longer run.
68+
69+
Use this template for future deprecation campaigns as needed.
70+
"""
6771
py_27_params = {
6872
'date': 'July 15, 2021',
6973
'blog_link': 'https://aws.amazon.com/blogs/developer/announcing-end-'

docs/source/guide/migrationpy3.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module) and Boto3 (which implements the API functionality and higher-level featu
1414
Timeline
1515
--------
1616
Going forward, all projects using Boto3 need to transition to Python 3.6 or later. Boto3 and
17-
Botocore support for Python 3.4 and 3.5 has already ended, and support for Python 2.7 will end effective July 15, 2021.
17+
Botocore ended support for Python 3.4 and 3.5 on Feb 21, 2021, and support for Python 2.7
18+
ended July 15, 2021.
1819

1920
Updating your project to use Python 3
2021
-------------------------------------

docs/source/guide/quickstart.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ To use Boto3, you first need to install it and its dependencies.
2424
Install or update Python
2525
~~~~~~~~~~~~~~~~~~~~~~~~
2626

27-
Before installing Boto3, install Python 3.6 or later; support for Python 2.7 and Python 3.5 and
28-
earlier is deprecated. After the deprecation date listed for each Python version, new releases of
29-
Boto3 will not include support for that version of Python. For details, including the deprecation
30-
schedule and how to update your project to use Python 3.6, see :ref:`guide_migration_py3`.
27+
Before installing Boto3, install Python 3.6 or later; support for Python 3.5 and
28+
earlier is deprecated. After the deprecation date listed for each Python
29+
version, new releases of Boto3 will not include support for that version of
30+
Python. For details, including the deprecation schedule and how to update your
31+
project to use Python 3.6, see :ref:`guide_migration_py3`.
3132

3233
For information about how to get the latest version of Python, see the official `Python
3334
documentation <https://www.python.org/downloads/>`_.

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[bdist_wheel]
2-
universal = 1
2+
universal = 0
33

44
[metadata]
55
requires_dist =
6-
botocore>=1.20.112,<1.21.0
6+
botocore>=1.21.0,<1.22.0
77
jmespath>=0.7.1,<1.0.0
8-
s3transfer>=0.4.0,<0.5.0
8+
s3transfer>=0.5.0,<0.6.0

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515

1616
requires = [
17-
'botocore>=1.20.112,<1.21.0',
17+
'botocore>=1.21.0,<1.22.0',
1818
'jmespath>=0.7.1,<1.0.0',
19-
's3transfer>=0.4.0,<0.5.0'
19+
's3transfer>=0.5.0,<0.6.0'
2020
]
2121

2222

@@ -43,15 +43,13 @@ def get_version():
4343
include_package_data=True,
4444
install_requires=requires,
4545
license="Apache License 2.0",
46-
python_requires=">= 2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
46+
python_requires=">= 3.6",
4747
classifiers=[
4848
'Development Status :: 5 - Production/Stable',
4949
'Intended Audience :: Developers',
5050
'Natural Language :: English',
5151
'License :: OSI Approved :: Apache Software License',
5252
'Programming Language :: Python',
53-
'Programming Language :: Python :: 2',
54-
'Programming Language :: Python :: 2.7',
5553
'Programming Language :: Python :: 3',
5654
'Programming Language :: Python :: 3.6',
5755
'Programming Language :: Python :: 3.7',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py36,py37,py38
2+
envlist = py36,py37,py38
33

44
# Comment to build sdist and install into virtualenv
55
# This is helpful to test installation but takes extra time

0 commit comments

Comments
 (0)