-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
[Bug]: Conflicting symlinks found when attempting to create venv. #358
Comments
Are the file contents checked before overwriting, or only the name taken into consideration? If so, then which one wins? My concern is that the ordering of the dependencies matter here, and rules_py will need to ensure the same dependency ordering as pip, which may not be possible. In this case, both those libraries should not be shipping test cases into the distribution package. |
Discussed with Matt that this injected Will probably just allow these conflicting symlinks and print a warning, then add a flag letting you suppress that warning. |
I get a similar error Error: × Unable to run command:
├─▶ Conflicting symlinks found when attempting to create venv. More than one
│ package provides the file at these paths
├─▶ rules_python~~pip~rules_ros_pip_deps_38_pyyaml/site-packages/yaml/
│ loader.py
╰─▶ site-packages/yaml/loader.py Allowing these conflicts and printing a warning seems like a reasonable approach. |
Is the intended solution here to use package_collisions='ignore' any time this happens? Or should we wait for a long term fix? (I am hitting this when installing |
What happened?
Using version 0.7.3 I am seeing
These are the files
In a typical pip installation the second file overwrites the first one.
Version
Development (host) and target OS/architectures: Linux x86-64
Output of
bazel --version
: bazel 7.1.0Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file: 0.7.3Language(s) and/or frameworks involved:
How to reproduce
The text was updated successfully, but these errors were encountered: