-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I am trying with below setup:
bazel_dep(name = "rules_uv", version = "0.77.0")
pip_compile(
name = "requirements.update",
extra_args = [
"--quiet",
"--index-strategy=unsafe-best-match",
],
requirements_in = "//:requirements.in",
requirements_txt = "//:requirements.txt",
tags = [
"local",
"no-remote-cache",
],
)
In the requirements.in, I have
-f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
jax[cpu,cuda12_pip]==0.4.16
Before switching to use rules_uv, the rules_python/pip generated requirements.txt has this line at the top:
--find-links https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
but rules_uv generated requirements.txt misses this line. This makes bazel build complain about No matching distribution found for the jax version.
Metadata
Metadata
Assignees
Labels
No labels