Commit c47c488b authored by Tres Seaver's avatar Tres Seaver

Drop support for Python 2.6 and 3.2.

- 2.6 is long out-of-maintenance, and a security quagmire.

- 3.2 cannot be tested on Travis.
parent f7ef5f96
language: python language: python
sudo: false sudo: false
python: python:
- 2.6
- 2.7 - 2.7
- 3.2
- 3.3 - 3.3
- 3.4 - 3.4
- pypy - pypy
install: install:
- pip install -U setuptools distribute - pip install -U setuptools
- python bootstrap.py - python bootstrap.py
- bin/buildout - bin/buildout
script: script:
......
...@@ -4,7 +4,7 @@ Changelog ...@@ -4,7 +4,7 @@ Changelog
4.2.0 (unreleased) 4.2.0 (unreleased)
------------------ ------------------
- TBD - Drop support for Python 2.6 and 3.2.
4.2.0b1 (2015-06-05) 4.2.0b1 (2015-06-05)
-------------------- --------------------
......
...@@ -18,19 +18,22 @@ from setuptools import setup, find_packages ...@@ -18,19 +18,22 @@ from setuptools import setup, find_packages
import os import os
import sys import sys
if sys.version_info < (2, 6): if sys.version_info < (2, 7):
print("This version of ZEO requires Python 2.6 or higher") print("This version of ZEO requires Python 2.7 or higher")
sys.exit(0) 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 = """\ classifiers = """\
Intended Audience :: Developers Intended Audience :: Developers
License :: OSI Approved :: Zope Public License License :: OSI Approved :: Zope Public License
Programming Language :: Python Programming Language :: Python
Programming Language :: Python :: 2 Programming Language :: Python :: 2
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.2
Programming Language :: Python :: 3.3 Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.4
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
......
[tox] [tox]
envlist = envlist =
py26,py27,py32,py33,py34,pypy,simple py27,py33,py34,pypy,simple
[testenv] [testenv]
commands = commands =
...@@ -26,5 +26,5 @@ deps = ...@@ -26,5 +26,5 @@ deps =
basepython = basepython =
python2.7 python2.7
commands = commands =
python setup.py test -q python setup.py -q test -q
deps = {[testenv]deps} deps = {[testenv]deps}
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