This is working at intended. tox is about reproducible build, hard coding to full path seems from this point wrong as it's almost bound to fail on other peoples system. Discovery on Linux systems should be via having the pythonx.y format as specifiad in http://www.python.org/dev/peps/pep-0394/#application-to-the-cpython-reference-interpreter. tox follows this logic for interpreter discovery, especially for pre-defined build environments. 

That being said I know this worked until now. So in that sense it's a regression. I would say though that your use case is the edge case, if you want to use it like that define custom tox environments, e.g. py27k instead of py27. In general, for people who follow the python discovery system enlisted in that pep, this change should help them avoid invalid configuration and bad suprises.

On Jul 13, 2018 10:55, "Oliver Bestwalter" <oliver@bestwalter.de> wrote:
Hi Fred,

this is a fix introduced new in 3.1 to make sure that the wrong interpreter isn't used silently when tox is misconfigured. I wasn't involved in the fix and lack the details, but your config looks like there should be no such warning. When you say that py36 and py37 weren't found at all: do you mean that the warning shadows an actual error? If this is the case, it would be great if you could open an issue with a quick explanation how to reproduce this.

Here are the details for this issue and the changes, if you want to look further into this:

https://github.com/tox-dev/tox/commit/d5b9c0a93931707b55f8f64bbd37be7d0b6a20d7

https://github.com/tox-dev/tox/issues/477

Cheers,
Oliver

On Thu, 12 Jul 2018 at 16:39 Fred Drake <fred@fdrake.net> wrote:
On Thu, Jul 12, 2018 at 10:23 AM Fred Drake <fred@fdrake.net> wrote:
> I see the docs for the setting "ignore_basepython_conflict", and would
> like to understand how tox is intended to be configured for alternate
> Python installations like mine.

Playing further with it, setting "ignore_basepython_conflict = true"
causes my setting of the value to be ignored, so the Python
interpreter for py36 and py37 aren't found at all.


  -Fred

--
Fred L. Drake, Jr.    <fred at fdrake.net>
"A storm broke loose in my mind."  --Albert Einstein
_______________________________________________
tox-dev mailing list -- tox-dev@python.org
To unsubscribe send an email to tox-dev-leave@python.org
https://mail.python.org/mm3/mailman3/lists/tox-dev.python.org/
_______________________________________________
tox-dev mailing list -- tox-dev@python.org
To unsubscribe send an email to tox-dev-leave@python.org
https://mail.python.org/mm3/mailman3/lists/tox-dev.python.org/