Skip to content

Commit 6ffe57f

Browse files
author
Jon Betts
committed
Remove Python compatiblity below 3.6 and add 3.6, 3.7, 3.8 and 3.9
This also fixes the tox file to run all of these tests.
1 parent b03d29b commit 6ffe57f

4 files changed

Lines changed: 19 additions & 8 deletions

File tree

.python-version

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
3.9.4
2+
3.8.9
3+
3.7.10
4+
3.6.13
5+
2.7.18

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@ language: python
22

33
python:
44
- 2.7
5-
- 3.3
6-
- 3.5
5+
- 3.6
6+
- 3.7
7+
- 3.8
8+
- 3.9
79

810
before_install:
911
- sudo apt-get install python-dev libevent-dev
1012
- pip install Cython
1113

1214
install:
13-
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements/py2kreqs.txt; fi
15+
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements/py2kreqs.txt; fi
1416
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements/py3kreqs.txt; fi
1517
- python setup.py install
1618

17-
script:
19+
script:
1820
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then py.test -v; fi
1921
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then py.test -v; fi

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ def find_package_modules(self, package, package_dir):
5858
'Programming Language :: Python :: 2',
5959
'Programming Language :: Python :: 2.7',
6060
'Programming Language :: Python :: 3',
61-
'Programming Language :: Python :: 3.3',
62-
'Programming Language :: Python :: 3.4',
63-
'Programming Language :: Python :: 3.5',
61+
'Programming Language :: Python :: 3.6',
62+
'Programming Language :: Python :: 3.7',
63+
'Programming Language :: Python :: 3.8',
64+
'Programming Language :: Python :: 3.9',
6465
'Programming Language :: Python :: Implementation :: CPython',
6566
'Programming Language :: Python :: Implementation :: PyPy',
6667
'Topic :: Communications',

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27
7+
envlist = py27,py36,py37,py38,py39
88

99
[testenv]
1010
commands = python setup.py test
11+
deps =
12+
py27: -r requirements/py2kreqs.txt
13+
{py36,py37,py38,py39}: -r requirements/py3kreqs.txt

0 commit comments

Comments
 (0)