Debian Codegraph @

debian/patches/python-versions-in-tox

raw
1 Description: test against the current python versions, not hard-coded ones
2 Upstream test suite is testing against python2.7 and python3.5 at
3 build-time. Fix this to test against 'python' and 'python3' to use
4 whatever the current Debian default is for this release, instead of
5 hard-coding a specific version number.
6 Author: Steve Langasek <[email protected]>
7
8 --- a/tox.ini
9 +++ b/tox.ini
10 @@ -1,23 +1,8 @@
11 [tox]
12 -envlist = py35, py36, py37, py38, py39, py310
13 +envlist = python3
14
15 [testenv]
16 deps=notebook
17
18 -[testenv:py35]
19 -commands=python3.5 -m unittest discover
20 -
21 -[testenv:py36]
22 -commands=python3.6 -m unittest discover
23 -
24 -[testenv:py37]
25 -commands=python3.7 -m unittest discover
26 -
27 -[testenv:py38]
28 -commands=python3.8 -m unittest discover
29 -
30 -[testenv:py39]
31 -commands=python3.9 -m unittest discover
32 -
33 -[testenv:py310]
34 -commands=python3.10 -m unittest discover
35 +[testenv:python3]
36 +commands=python3 -m unittest discover