Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit d0f505c

Browse files
authored
chore!: remove Python 2.7 from testing (#22)
* chore: remove Python 2.7 from testing * update README * remove Python 2 from PyPi page
1 parent a4c170c commit d0f505c

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Python >= 3.5
6060

6161
Deprecated Python Versions
6262
^^^^^^^^^^^^^^^^^^^^^^^^^^
63-
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
63+
Python == 2.7. Python 2.7 support has been removed as of January 1, 2020.
6464

6565

6666
Mac/Linux

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ def default(session):
8383
)
8484

8585

86-
@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8"])
86+
@nox.session(python=["3.5", "3.6", "3.7", "3.8"])
8787
def unit(session):
8888
"""Run the unit test suite."""
8989
default(session)
9090

9191

92-
@nox.session(python=["2.7", "3.7"])
92+
@nox.session(python="3.7")
9393
def system(session):
9494
"""Run the system test suite."""
9595
system_test_path = os.path.join("tests", "system.py")

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@
7070
"Intended Audience :: Developers",
7171
"License :: OSI Approved :: Apache Software License",
7272
"Programming Language :: Python",
73-
"Programming Language :: Python :: 2",
74-
"Programming Language :: Python :: 2.7",
7573
"Programming Language :: Python :: 3",
7674
"Programming Language :: Python :: 3.5",
7775
"Programming Language :: Python :: 3.6",
@@ -84,7 +82,7 @@
8482
namespace_packages=namespaces,
8583
install_requires=dependencies,
8684
extras_require=extras,
87-
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
85+
python_requires=">=3.5",
8886
include_package_data=True,
8987
zip_safe=False,
9088
)

0 commit comments

Comments
 (0)