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

fix(uv): Fix sha256 for uv binary for aarch64-apple-darwin #2422

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

schultetwin
Copy link
Contributor

uv cannot be used on aarch64-apple-darwin computers because the sha256sum is incorrect.

The correct version can be seen here.

Fixes #2411

As can be seen here:
https://github.com/astral-sh/uv/releases/download/0.4.25/uv-aarch64-apple-darwin.tar.gz.sha256,
the current has in rules_python
(35786030f926e3d34d186edc0ea3989698e57755852af9ae4b39da5109abcbfa) is
incorrect and should be bb2ff4348114ef220ca52e44d5086640c4a1a18f797a5f1ab6f8559fc37b1230

Fixes bazelbuild#2411
Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Just out of curiosity, how are you using the uv tool today?

@aignas aignas added this pull request to the merge queue Nov 18, 2024
Merged via the queue into bazelbuild:main with commit 0e9f97d Nov 18, 2024
4 checks passed
@schultetwin
Copy link
Contributor Author

In the repo I discovered this in, it was being used to build a universal lock file to simplify lock file management, as there were aarch64-darwin, x86_64-darwin and x86_64-linux computers being used in this repo, and I wanted something that would work for all.

I think this would also have been do able using multiple pip_parse and multiple compile_pip_requirements, but uv worked, and was much faster than previously (where that only resolved for one platform).

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

Successfully merging this pull request may close these issues.

uv tool sha256sum is incorrect for aarch64-apple-darwin
2 participants