Skip to content

Commit

Permalink
Add changes for Python 3.4/3.5 removal
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt committed Jan 30, 2021
1 parent c4dd9bd commit ec1624a
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/feature-Python-10095.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"category": "Python",
"type": "feature",
"description": "Dropped support for Python 3.4 and 3.5"
}
7 changes: 1 addition & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
python-version: [2.7, 3.6, 3.7, 3.8]
os: [ubuntu-latest, macOS-latest ]
include:
# Python 3.4 is not available on mac and windows so it needs to to
# be manually added to the matrix for linux.
- python-version: 3.4
os: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ contributions as well:
* Code should follow `pep 8 <https://www.python.org/dev/peps/pep-0008/>`__,
although if you are modifying an existing module, it is more important
for the code to be consistent if there are any discrepancies.
* Code must work on ``python2.7``, and ``python3.4`` and higher.
* Code must work on ``python2.7``, and ``python3.6`` and higher.
* Botocore is cross platform and code must work on at least linux, Windows,
and Mac OS X.
* If you would like to implement support for a significant feature that is not
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ botocore package is the foundation for the
`boto3 <https://github.com/boto/boto3>`__.

On 10/29/2020 deprecation for Python 3.4 and Python 3.5 was announced and support
will be dropped on 02/01/2021. To avoid disruption, customers using Botocore
was dropped on 02/01/2021. To avoid disruption, customers using Botocore
on Python 3.4 or 3.5 may need to upgrade their version of Python or pin the
version of Botocore in use prior to 02/01/2021. For more information, see
version of Botocore. For more information, see
this `blog post <https://aws.amazon.com/blogs/developer/announcing-the-end-of-support-for-python-3-4-and-3-5-in-the-aws-sdk-for-python-and-aws-cli-v1/>`__.

Getting Started
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ universal = 1
requires-dist =
python-dateutil>=2.1,<3.0.0
jmespath>=0.7.1,<1.0.0
urllib3>=1.25.4,<1.25.8; python_version=='3.4'
urllib3>=1.25.4,<1.27; python_version!='3.4'
urllib3>=1.25.4,<1.27
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def find_version(*file_paths):
install_requires=requires,
extras_require={},
license="Apache License 2.0",
python_requires=">= 2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand All @@ -62,8 +63,6 @@ def find_version(*file_paths):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37,py38
envlist = py27,py36,py37,py38

skipsdist = True

Expand Down

0 comments on commit ec1624a

Please sign in to comment.