Skip to content
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

--unsafe-package doesn't normalize hyphens/underscores #2150

Open
ntjess opened this issue Dec 22, 2024 · 0 comments
Open

--unsafe-package doesn't normalize hyphens/underscores #2150

ntjess opened this issue Dec 22, 2024 · 0 comments

Comments

@ntjess
Copy link

ntjess commented Dec 22, 2024

Pip resolves package-name and package_name to the same dependency. However, the unsafe package specifier doesn't taket his into account on the latest released version.

Example: pip-compile --unsafe-package opencv_python --no-allow-unsafe still installs opencv-python in the final output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant