Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 099cb64

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent d27ae22 commit 099cb64

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ dependencies.
4040
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
4141

4242

43+
Supported Python Versions
44+
^^^^^^^^^^^^^^^^^^^^^^^^^
45+
Python >= 3.4
46+
47+
Deprecated Python Versions
48+
^^^^^^^^^^^^^^^^^^^^^^^^^^
49+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
50+
51+
4352
Mac/Linux
4453
^^^^^^^^^
4554

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
namespace_packages=namespaces,
7676
install_requires=dependencies,
7777
extras_require=extras,
78+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
7879
include_package_data=True,
7980
zip_safe=False,
8081
)

0 commit comments

Comments
 (0)