--unsafe-package
doesn't normalize hyphens/underscores
#2150
Labels
bug
Something is not working
help wanted
Request help from the community
needs reproduce
Need to reproduce an issue
PR wanted
Feature is discussed or bug is confirmed, PR needed
Pip resolves
package-name
andpackage_name
to the same dependency. However, the unsafe package specifier doesn't take this into account on the latest released version.Example:
pip-compile --unsafe-package opencv_python --no-allow-unsafe
still installsopencv-python
in the final output.The text was updated successfully, but these errors were encountered: