Skip to content

Commit 6ac66ae

Browse files
committed
allow py34 version install on modern pythons
1 parent b71fa69 commit 6ac66ae

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,20 @@ _python:
1111
- &python34
1212
name: "Python 3.4"
1313
python: 3.4
14+
- &python35
15+
name: "Python 3.5"
16+
python: 3.5
17+
- &python36
18+
name: "Python 3.6"
19+
python: 3.6
1420
- &python37
1521
name: "Python 3.7"
1622
python: 3.7
1723
dist: xenial
1824
sudo: true
25+
- &pypy3
26+
name: "PyPy3"
27+
python: pypy3.5
1928

2029
_helpers:
2130
- &install_cython pip install --upgrade Cython
@@ -104,9 +113,23 @@ jobs:
104113

105114
- stage: test
106115
<<: *python34
116+
- stage: test
117+
<<: *python35
118+
- stage: test
119+
<<: *python36
120+
- stage: test
121+
<<: *python37
122+
- stage: test
123+
<<: *pypy3
107124

108125
- <<: *test_cythonized
109126
<<: *python34
127+
- <<: *test_cythonized
128+
<<: *python35
129+
- <<: *test_cythonized
130+
<<: *python36
131+
- <<: *test_cythonized
132+
<<: *python37
110133

111134
- stage: deploy
112135
# This prevents job from appearing in test plan unless commit is tagged:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def get_simple_vars_from_src(src):
234234
long_description=long_description,
235235
classifiers=classifiers,
236236
keywords=keywords,
237-
python_requires=">=3.4,<3.5",
237+
python_requires=">=3.4",
238238
# While setuptools cannot deal with pre-installed incompatible versions,
239239
# setting a lower bound is not harmful - it makes error messages cleaner. DO
240240
# NOT set an upper bound on setuptools, as that will lead to uninstallable

tox.ini

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[tox]
77
minversion = 2.0
8-
envlist = pep8, pylint, mypy, bandit, pep257, py34, docs, py34-nocov
8+
envlist = pep8, pylint, mypy, bandit, pep257, py{34,35,36,37,py3}, docs, py{34,35,36,37}-nocov
99
skipsdist = True
1010
skip_missing_interpreters = True
1111

@@ -36,6 +36,27 @@ commands =
3636
pip install exec_helpers --no-index -f dist
3737
py.test -vvv {posargs:test}
3838

39+
[testenv:py35-nocov]
40+
usedevelop = False
41+
commands =
42+
python setup.py bdist_wheel
43+
pip install exec_helpers --no-index -f dist
44+
py.test -vvv {posargs:test}
45+
46+
[testenv:py36-nocov]
47+
usedevelop = False
48+
commands =
49+
python setup.py bdist_wheel
50+
pip install exec_helpers --no-index -f dist
51+
py.test -vvv {posargs:test}
52+
53+
[testenv:py37-nocov]
54+
usedevelop = False
55+
commands =
56+
python setup.py bdist_wheel
57+
pip install exec_helpers --no-index -f dist
58+
py.test -vvv {posargs:test}
59+
3960
[testenv:venv]
4061
commands = {posargs:}
4162

0 commit comments

Comments
 (0)