Skip to content

Commit

Permalink
Hard fail on Python 3 prior to 3.3. Fixes #864.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 1, 2016
1 parent 2c1ea18 commit b47fe15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Expand Up @@ -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
-------

Expand Down
6 changes: 1 addition & 5 deletions pkg_resources/__init__.py
Expand Up @@ -75,11 +75,7 @@
__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.
Expand Down

0 comments on commit b47fe15

Please sign in to comment.