Closed
Description
Since tox-3.8.0
the substituted virtualenv-paths (like {envpython}
or {envsitepackagesdir}
) have become relative
.
For example, let use a simple tox configuration like:
[testenv]
commands = echo {envpython} {envsitepackagesdir}
First, check against tox-3.7.0:
python run-test-pre: PYTHONHASHSEED='4105452275'
python runtests: commands[0] | echo /usr/src/RPM/BUILD/test/.tox/python/bin/python /usr/src/RPM/BUILD/test/.tox/python/lib/python3/site-packages
/usr/src/RPM/BUILD/test/.tox/python/bin/python /usr/src/RPM/BUILD/test/.tox/python/lib/python3/site-packages
/usr/src/RPM/BUILD/test$ /bin/echo /usr/src/RPM/BUILD/test/.tox/python/bin/python /usr/src/RPM/BUILD/test/.tox/python/lib/python3/site-packages
And compare this with tox-3.8.0+:
python run-test-pre: PYTHONHASHSEED='299716092'
python runtests: commands[0] | echo /usr/src/RPM/BUILD/test/.tox/python/bin/python /usr/src/RPM/BUILD/test/.tox/python/lib/python3/site-packages
[19930] /usr/src/RPM/BUILD/test$ /bin/echo .tox/python/bin/python .tox/python/lib/python3/site-packages
.tox/python/bin/python .tox/python/lib/python3/site-packages
So, the virtualenv subst paths became relative instead of absolute ones.
The documentation says nothing about this, so actually I don't know whether it is a regression or not.