Skip to content

Commit 7ef4b65

Browse files
committed
Add support for Python 3.6, 3.7 and PyPy3
1 parent 6d70407 commit 7ef4b65

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ python:
44
- "2.7"
55
- "3.5"
66
- "3.6"
7+
- "3.7"
78
- "pypy"
9+
- "pypy3"
810

911
install:
1012
- pip install .

appveyor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ environment:
99
- PYTHON: "C:\\Python35"
1010
TOX_ENV: "py35"
1111

12+
- PYTHON: "C:\\Python36"
13+
TOX_ENV: "py36"
14+
15+
- PYTHON: "C:\\Python37"
16+
TOX_ENV: "py37"
17+
1218

1319
init:
1420
- "%PYTHON%/python -V"

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
entry_points={'pytest11': ['echo = pytest_echo']},
1818
install_requires=['pytest>=2.2'],
1919
license="MIT License",
20+
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
2021
classifiers=[
2122
'Development Status :: 5 - Production/Stable',
2223
'Environment :: Plugins',
@@ -33,5 +34,6 @@
3334
'Programming Language :: Python :: 2.7',
3435
'Programming Language :: Python :: 3',
3536
'Programming Language :: Python :: 3.5',
36-
'Programming Language :: Python :: 3.6'
37+
'Programming Language :: Python :: 3.6',
38+
'Programming Language :: Python :: 3.7',
3739
])

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[tox]
2-
envlist=py{27,35,36}-pytest{30,31,32,33,34,35}
2+
envlist=py{27,35,36,37}-pytest{30,31,32,33,34,35}
33

44
[testenv]
55
deps =
66
coverage
77
py{27},pypy: django<2
8-
py{35,36}: django>=2
8+
py{35,36,37},pypy3: django>=2
99
pytest30: pytest>=3.0,<3.1
1010
pytest31: pytest>=3.1,<3.2
1111
pytest32: pytest>=3.2,<3.3

0 commit comments

Comments
 (0)