Skip to content

Commit

Permalink
Drop support for Python 2.6 and 3.2.
Browse files Browse the repository at this point in the history
- 2.6 is long out-of-maintenance, and a security quagmire.

- 3.2 cannot be tested on Travis.
  • Loading branch information
tseaver committed Mar 25, 2016
1 parent f7ef5f9 commit c47c488
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
language: python
sudo: false
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
install:
- pip install -U setuptools distribute
- pip install -U setuptools
- python bootstrap.py
- bin/buildout
script:
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changelog
4.2.0 (unreleased)
------------------

- TBD
- Drop support for Python 2.6 and 3.2.

4.2.0b1 (2015-06-05)
--------------------
Expand Down
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,22 @@
import os
import sys

if sys.version_info < (2, 6):
print("This version of ZEO requires Python 2.6 or higher")
if sys.version_info < (2, 7):
print("This version of ZEO requires Python 2.7 or higher")
sys.exit(0)

if (3, 0) < sys.version_info < 3.3:
print("This version of ZEO requires Python 3.3 or higher")
sys.exit(0)


classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: Zope Public License
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.2
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: Implementation :: CPython
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py26,py27,py32,py33,py34,pypy,simple
py27,py33,py34,pypy,simple

[testenv]
commands =
Expand All @@ -26,5 +26,5 @@ deps =
basepython =
python2.7
commands =
python setup.py test -q
python setup.py -q test -q
deps = {[testenv]deps}

0 comments on commit c47c488

Please sign in to comment.