Join GitHub today
Having interpreters that aren't installed in envlist causes tox to refuse to run #280
I have a tox.ini that looks like this.
As I understand it, this should run with any missing interpreters skipped. Instead, running
Different combinations of missing interpreters can give different InterpreterNotFound and unknown environment errors, and it's not deterministic which will be reported.
Commenting out the
As I'd expect, but of course this then doesn't run the tests.
This is on Ubuntu Linux. I've tried both version 1.8.0, the version packaged by Ubuntu, and version 2.1.1 installed with pip, and they exhibit the same behavior.
Original comment by @ceridwen
Note: setting skip_missing_interpreters to true in the config file or on the command line doesn't affect tox's behavior at all, it will still refuse to run without all of the interpreters available, when it should output something like:
Here is a smaller tox.ini:
With all of the dependencies removed, I'd expect InvocationErrors, but instead it gives the same InterpreterNotFound and unknown environment errors and terminates. As commenting out that commands line allows it to run, it's something specific about that commands line.