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