-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
pipx.y missing, instead pip-x.y present #1723
Comments
This is a side effect of adopting the standard library that handles script creation, script variant added here https://bitbucket.org/pypa/distlib/commits/eedb3ae9233562e970dab2212892969bd87be01c. Not totally sure why 16.x was adding them without the dash... might need to check if pip escapes distlibs behaviour, but AFAIK pip should also generate similar styles. |
So seems here pip does something odd, compared to rest, though maybe it's in line with how Linux distributions handle things, and how python itself versions:
Seems to me like we never standardized how tools should define versioned scripts, and how the frontend can communicate to the backend that it wants such. Or should be a frontend option? @pfmoore @pradyunsg thoughts feels like should be part of PEP-517 somewhere 🤷♂ For now, I think it's a workaround to also generate |
This is basically the situation. Pip generates versions that don't match distlib because that was the format pip had used before we switched to distlib, and backward compatibility was a concern (IIRC). For a longer-term solution, this probably should be standardised (actually, the whole |
Hello, a fix for this issue has been released via virtualenv 20.0.11; see https://pypi.org/project/virtualenv/20.0.11/ (https://virtualenv.pypa.io/en/latest/changelog.html#v20-0-11-2020-03-18). Please give a try and report back if your issue has not been addressed; if not, please comment here, and we'll reopen the ticket. We want to apologize for the inconvenience this has caused you and say thanks for having patience while we resolve the unexpected bugs with this new major release. |
Issue
In virtualenv 20.0.10 at least when a virtualenv environment is created the naming convention of the pip major version file has changed.
In 16.7.x there was
pip3.7
in 20.0.2 this has changed topip-3.7
although there is stillpip3
in both, in terms of automation patterns that provision multiple environments and builds there may be many build dependencies that use thepip${MAJOR_VERSION}
pattern.Perhaps adding a symlink to honour the older naming convention may prevent many people spending many hours debugging.
Environment
Reproduce
The text was updated successfully, but these errors were encountered: