Skip to content

Commit

Permalink
Update Python compatibility to latest supported versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Apr 3, 2016
1 parent 0092462 commit e1737c5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: python
sudo: false
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
install:
- pip install .
script:
Expand Down
7 changes: 5 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
Changelog
=========

4.0.1 (unreleased)
------------------
4.1 (unreleased)
----------------

- Add compatibility with Python 3.4 and 3.5.

- Drop support for Python 2.6 and 3.2.

4.0 (2013-03-02)
----------------
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import os
from setuptools import setup, find_packages

__version__ = '4.0.1dev'
__version__ = '4.1.dev0'

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
Expand Down Expand Up @@ -43,12 +43,13 @@
"Operating System :: OS Independent",
"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 :: 3.5",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
install_requires=[
'setuptools',
Expand Down
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[tox]
envlist =
py26,py27,py32,py33
envlist = py27,py33,py34,py35,pypy,pypy3

[testenv]
commands =
python setup.py test -q
# without explicit deps, setup.py test will download a bunch of eggs into $PWD
# (and it seems I can't use zope.dottedname[testing] here, so forget DRY)
zope-testrunner --test-path=src --auto-color --auto-progress
deps =
zope.testrunner

0 comments on commit e1737c5

Please sign in to comment.