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 02dec6e commit 1df0a58
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
@@ -1,16 +1,14 @@
language: python
sudo: false
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
- pypy3
install:
- pip install .
script:
- python setup.py test -q
- python setup.py -q test -q
notifications:
email: false
4 changes: 2 additions & 2 deletions CHANGES.rst
@@ -1,10 +1,10 @@
Changes
=======

1.4.5 (unreleased)
1.5.0 (unreleased)
------------------

- TBD
- Drop support for Python 2.6 and 3.2.

1.4.4 (2015-05-19)
------------------
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -27,7 +27,7 @@ def _read_file(filename):
README = _read_file('README.rst') + '\n\n' + _read_file('CHANGES.rst')

setup(name='transaction',
version='1.4.5.dev0',
version='1.5.0.dev0',
description='Transaction management for Python',
long_description=README,
classifiers=[
Expand All @@ -40,10 +40,8 @@ def _read_file(filename):
"Operating System :: Unix",
"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
9 changes: 4 additions & 5 deletions tox.ini
Expand Up @@ -2,16 +2,15 @@
# Jython 2.7rc2+ does work, but unfortunately has an issue running
# with Tox 1.9.2 (see https://github.com/pypa/virtualenv/pull/746)
envlist =
py26,py27,pypy,py32,py33,py34,pypy3,coverage,docs
py27,pypy,py33,py34,pypy3,coverage,docs

[testenv]
commands =
python setup.py test -q
deps = transaction
python setup.py -q test -q

[testenv:coverage]
basepython =
python2.6
python2.7
commands =
nosetests --with-xunit --with-xcoverage
deps =
Expand All @@ -21,7 +20,7 @@ deps =

[testenv:docs]
basepython =
python2.6
python2.7
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
Expand Down

0 comments on commit 1df0a58

Please sign in to comment.