diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-01 10:56:39 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-01 10:57:34 -0500 |
| commit | b47fe15b9039a165589353a1a43f6dfe3bbe3a8e (patch) | |
| tree | 07ca35c9c5b4a202e003c3c909c177d85d669891 | |
| parent | 2c1ea18266b558cb208c070eed7de60e922aa91a (diff) | |
| download | external_python_setuptools-b47fe15b9039a165589353a1a43f6dfe3bbe3a8e.tar.gz external_python_setuptools-b47fe15b9039a165589353a1a43f6dfe3bbe3a8e.tar.bz2 external_python_setuptools-b47fe15b9039a165589353a1a43f6dfe3bbe3a8e.zip | |
Hard fail on Python 3 prior to 3.3. Fixes #864.
| -rw-r--r-- | CHANGES.rst | 6 | ||||
| -rw-r--r-- | pkg_resources/__init__.py | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 99041cde..e6fa0d66 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,6 +2,12 @@ CHANGES ======= +v30.0.0 +------- + +* #864: Drop support for Python 3.2. Systems requiring + Python 3.2 support must use 'setuptools < 30'. + v29.0.1 ------- diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index a323857c..dd561d2b 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -75,11 +75,7 @@ __import__('pkg_resources.extern.packaging.requirements') __import__('pkg_resources.extern.packaging.markers') 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) + raise RuntimeError("Python 3.3 or later is required") # declare some globals that will be defined later to # satisfy the linters. |
