You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolved 41 packages in 352ms
error: Failed to prepare distributions
Caused by: Failed to fetch wheel: tensorflow-text @ https://github.com/sun1638650145/Libraries-and-Extensions-for-TensorFlow-for-Apple-Silicon/releases/download/v2.17/tensorflow_text-2.17.0-cp311-cp311-macosx_11_0_arm64.whl#sha256=f0a7225a1242f06e4d206235f56025a0f70fb9a2e3ecb85bd5ba686269e74c16
Caused by: Hash mismatch for `tensorflow-text @ https://github.com/sun1638650145/Libraries-and-Extensions-for-TensorFlow-for-Apple-Silicon/releases/download/v2.17/tensorflow_text-2.17.0-cp311-cp311-macosx_11_0_arm64.whl#sha256=f0a7225a1242f06e4d206235f56025a0f70fb9a2e3ecb85bd5ba686269e74c16`
Expected:
sha256:ff3e9a8e19256e184a0e0997b189fa4a73bb00da74a109cef542e48073d99142
Computed:
sha256:f0a7225a1242f06e4d206235f56025a0f70fb9a2e3ecb85bd5ba686269e74c16
Note that the computed is exactly as requested.
More important: Removing line 7, "tensorflow-text; sys_platform == 'linux'", allows uv to sync successfully.
The linux line should never be activated on macos; but somehow it tells uv to fetch the hash for the linux version of the wheel and create a wrong expectation.
Not sure it's exactly the same issue, but it is related, so adding it here.
Here is a simple pyproject.toml, on macOS:
an
uv sync
on this will fail with this message:Note that the computed is exactly as requested.
More important: Removing line 7,
"tensorflow-text; sys_platform == 'linux'",
allows uv to sync successfully.The linux line should never be activated on macos; but somehow it tells uv to fetch the hash for the linux version of the wheel and create a wrong expectation.
I hope this is helpful.
Originally posted by @maparent in #6974 (comment)
The text was updated successfully, but these errors were encountered: