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

uv pip install fails when using Nexus due to md5 hash #1547

Closed
kendallbailey opened this issue Feb 16, 2024 · 1 comment · Fixed by #1556
Closed

uv pip install fails when using Nexus due to md5 hash #1547

kendallbailey opened this issue Feb 16, 2024 · 1 comment · Fixed by #1556
Assignees
Labels
compatibility Compatibility with another interface or tool

Comments

@kendallbailey
Copy link

Attempted to install a package through a Nexus pypi proxy.

$ uv pip install -i https://****:****@nexus.example.com/repository/pypi-group/simple gcsfs==2023.6.0
error: Received some unexpected HTML from https://****:****@nexus.example.com/repository/pypi-group/simple/gcsfs/
  Caused by: Unsupported hash algorithm (expected `sha256`) on: md5=02dfef373c7bd87df2121a92d82b2d5c

This doesn't happen with all packages installed via Nexus. Others such as pandas install without error. Tried some other google packages. google-api-core==2.17.1 fails. google-auth==2.28.0 works. Removing the -i option and letting uv hit pypi directly eliminates the errors.

@charliermarsh
Copy link
Member

Thanks, we can add md5.

@charliermarsh charliermarsh added the compatibility Compatibility with another interface or tool label Feb 16, 2024
@charliermarsh charliermarsh self-assigned this Feb 16, 2024
charliermarsh added a commit that referenced this issue Feb 17, 2024
## Summary

We can add other hashes if necessary, but I don't know that they're
really used in practice.

Closes #1547.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with another interface or tool
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants