Tox envlist using any python3 interpreter, exactly once

In my tox.ini

file I have

[tox]
envlist = py27,py33,py34
skip_missing_interpreters = True

      

but i'm really trying to test one python3

and not very interested in versions of the smaller one python3

. I am just trying to maintain the environments in which it is installed python-3.3

, but not python-3.4

and vice versa. This is inconvenient because

  • the list of intepreters will grow endlessly
  • when multiple interpreters are available (my laptop has both 3.3 and 3.4) the tests are run multiple times and it takes time

Ideally there would be a way to write:

[tox]
envlist = py27,py3

      

to select any version of python3. I don't think this is possible, but maybe there is a workaround?

+3
python tox


source to share


No one has answered this question yet

Check out similar questions:

143
How to change the standard python Anaconda environment
nine
Cumulative Coverage Report for Multiple Python Versions
7
How to combine per-env deps with requirements file with Tox?
4
How to update setuptools to current during travis build
4
Configure multiple python installations on windows with toxin
3
Kernel coverage for multiple python versions
1
Tox virtual confusion
1
Tox and django_toolbar: ImportError
1
ImportError: no module named zlib; toxicodendron
0
How do I get the current to test "named" test environments with different python versions?



All Articles
Loading...
X
Show
Funny
Dev
Pics