-
-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Substitutions for virtualenv-related sections #1339
Comments
This was left undefined on purpose and we did the change to have shorter commands. Is this a problem for you? Why? |
Any news? |
Feel free to make a PR 👌with proposed solution |
As you correctly marked it's a question. |
I would say absolute all injected as harder to mess up with changing the current working directory. |
Since tox-3.8.0 the substituted virtualenv-paths of tox (like {envpython} or {envsitepackagesdir}) have become relative. The documentation says nothing about this. Thus, these paths should always be resolved as absolute. tox-dev/tox#1339 Fixes: https://pagure.io/freeipa/issue/7977 Signed-off-by: Stanislav Levin <[email protected]>
Since tox-3.8.0 the substituted virtualenv-paths of tox (like {envpython} or {envsitepackagesdir}) have become relative. The documentation says nothing about this. Thus, these paths should always be resolved as absolute. tox-dev/tox#1339 Fixes: https://pagure.io/freeipa/issue/7977 Signed-off-by: Stanislav Levin <[email protected]>
Since tox-3.8.0 the substituted virtualenv-paths of tox (like {envpython} or {envsitepackagesdir}) have become relative. The documentation says nothing about this. Thus, these paths should always be resolved as absolute. tox-dev/tox#1339 Fixes: https://pagure.io/freeipa/issue/7977 Signed-off-by: Stanislav Levin <[email protected]> Reviewed-By: Alexander Bokovoy <[email protected]>
Since tox-3.8.0 the substituted virtualenv-paths of tox (like {envpython} or {envsitepackagesdir}) have become relative. The documentation says nothing about this. Thus, these paths should always be resolved as absolute. tox-dev/tox#1339 Fixes: https://pagure.io/freeipa/issue/7977 Signed-off-by: Stanislav Levin <[email protected]>
Since tox-3.8.0 the substituted virtualenv-paths of tox (like {envpython} or {envsitepackagesdir}) have become relative. The documentation says nothing about this. Thus, these paths should always be resolved as absolute. tox-dev/tox#1339 Fixes: https://pagure.io/freeipa/issue/7977 Signed-off-by: Stanislav Levin <[email protected]> Reviewed-By: Alexander Bokovoy <[email protected]>
I just hit this while dealing with pypa/pipenv#4588
|
I'll note that I also cannot work around this with
|
This now has been reverted in the absolute path in tox 4. |
Since
tox-3.8.0
the substituted virtualenv-paths (like{envpython}
or{envsitepackagesdir}
) have becomerelative
.For example, let use a simple tox configuration like:
First, check against tox-3.7.0:
And compare this with tox-3.8.0+:
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.
The text was updated successfully, but these errors were encountered: