-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Pip does not detect library name clashes #11240
Labels
resolution: duplicate
Duplicate of an existing issue/PR
Comments
solney-syn
added
S: needs triage
Issues/PRs that need to be triaged
type: bug
A confirmed bug or unintended behavior
labels
Jul 8, 2022
Duplicate of #4625 |
pradyunsg
added
resolution: duplicate
Duplicate of an existing issue/PR
and removed
type: bug
A confirmed bug or unintended behavior
S: needs triage
Issues/PRs that need to be triaged
labels
Jul 8, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
It's possible to install two packages that both install to the same location, e.g both
semver
andnode-semver
install tosemver
(noted here)Although pip cannot prevent this it would be helpful if could alert the user.
This would be beneficial as otherwise the problem can lurk undetected for some time and be more difficult to fix later, especially if clash is caused by transitive dependencies.
Expected behavior
If this occurs then pip should fail, informing the user of possible approaches to fix the problem e.g using separate venvs.
pip version
22.1.2
Python version
3.8.10
OS
Linux
How to Reproduce
python3 -m venv env
env/bin/pip install -U pip
env/bin/pip install semver node-semver
semver
env/bin/python -c 'from semver import VersionInfo'
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: