Commit ae6c73f0 authored by Jason R. Coombs's avatar Jason R. Coombs

Dropping support for Python 3.2 and earlier Python 3 versions. Currently only...

Dropping support for Python 3.2 and earlier Python 3 versions. Currently only log a warning, but future versions will fail.
parent 513c0d0f
...@@ -2,7 +2,6 @@ language: python ...@@ -2,7 +2,6 @@ language: python
python: python:
- 2.6 - 2.6
- 2.7 - 2.7
- 3.2
- 3.3 - 3.3
- 3.4 - 3.4
- pypy - pypy
......
...@@ -2,6 +2,14 @@ ...@@ -2,6 +2,14 @@
CHANGES CHANGES
======= =======
----
18.5
----
* In preparation for dropping support for Python 3.2, a warning is
now logged when pkg_resources is imported on Python 3.2 or earlier
Python 3 versions.
---- ----
18.4 18.4
---- ----
......
...@@ -95,6 +95,13 @@ except ImportError: ...@@ -95,6 +95,13 @@ except ImportError:
import packaging.specifiers import packaging.specifiers
if (3, 0) < sys.version_info < (3, 3):
msg = (
"Support for Python 3.0-3.2 has been dropped. Future versions "
"will fail here."
)
warnings.warn(msg)
# declare some globals that will be defined later to # declare some globals that will be defined later to
# satisfy the linters. # satisfy the linters.
require = None require = None
......
...@@ -140,8 +140,6 @@ setup_params = dict( ...@@ -140,8 +140,6 @@ setup_params = dict(
Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7 Programming Language :: Python :: 2.7
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.1
Programming Language :: Python :: 3.2
Programming Language :: Python :: 3.3 Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment