-
-
Notifications
You must be signed in to change notification settings - Fork 539
Description
For projects which support a wide range of Python versions, it seems an unnecessary hurdle to force every contributor to install each Python version locally, in particular if not all versions can be installed through the system's package manager, in particular if the tests run additionally by the CI anyway.
It seems this use case has already been considered with the skip_missing_interpreter
option. However, I'm not feeling comfortable making each interpreter optional. For example, if code is meant to be compatible with Python 2.7 and 3.4+, everybody should always test on Python 2.7 and 3.4, ideally as well on Python 3.5 and 3.6 but if those interpreters aren't installed it is acceptable to skip those environments.
Some suggestions, how tox could account for that scenario:
- Allow
skip_missing_interpreter
to be used pertestenv
. - Allow
skip_missing_interpreter
to list particular interpreters that might be skipped. - Add syntax to indicate environments as optional, e.g.
envlist = py27,py34,py35?,py36?
.