Skip to content

Commit

Permalink
Drop Python 3.2, 3.3 and 3.4 support; test against 3.5, 3.6 and 3.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike committed Oct 18, 2019
1 parent cf01296 commit b203f23
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 19 deletions.
22 changes: 13 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "2.6"

matrix:
include:
- python: 3.5
env: TOXENV=py35
- python: 3.5
env: TOXENV=py35-locale
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37

install:
- python setup.py install
- pip install -U tox

# command to run tests, e.g. python setup.py test
script: py.test
script: tox
2 changes: 1 addition & 1 deletion bench.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py26,py27,py32,py33,py34
envlist = py27,py35,py36,py37

[testenv]
deps =
Expand Down
3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,7 @@ Make sure `tox`_ is installed and run

$ tox

from the source checkout. Tests should pass under python 2.6, 2.7, 3.2, 3.3
and 3.4.
from the source checkout. Tests should pass under python 2.7, 3.5-3.7.

In order to run benchmarks, type

Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@
'Programming Language :: Cython',
'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 :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Information Analysis',
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py26,py27,py32,py33,py32-locale,py34
envlist = py27,py35,py35-locale,py36,py37

[testenv]
deps =
Expand All @@ -8,7 +8,7 @@ commands=
python setup.py install
py.test []

[testenv:py32-locale]
basepython = python3.2
[testenv:py35-locale]
basepython = python3.5
setenv =
LC_ALL=C

0 comments on commit b203f23

Please sign in to comment.