build: remove redundant dev/requirements.txt from bzlmod dev_pip (#4245) The bzlmod dev_pip extension already resolves dependencies from the uv lockfile, making the legacy requirements lockfile redundant for bzlmod builds and CI cache keys. Remove the redundant requirements lockfile reference from the bzlmod configuration and CI cache inputs while retaining the lock target for legacy WORKSPACE support.
diff --git a/.github/actions/setup-bazel/action.yaml b/.github/actions/setup-bazel/action.yaml index 5a6ed46..623cac8 100644 --- a/.github/actions/setup-bazel/action.yaml +++ b/.github/actions/setup-bazel/action.yaml
@@ -15,7 +15,6 @@ # downloaded wheels. repository-cache: | - MODULE.bazel - - dev/requirements.txt - dev/uv.lock - tools/publish/requirements_linux.txt bazelrc: |
diff --git a/MODULE.bazel b/MODULE.bazel index 8b140cc..f0abc99 100644 --- a/MODULE.bazel +++ b/MODULE.bazel
@@ -260,7 +260,6 @@ hub_name = "dev_pip", parallel_download = False, python_version = python_version, - requirements_lock = "//dev:requirements.txt", # Ensure that we are setting up the following platforms target_platforms = [ "{os}_{arch}",
diff --git a/dev/BUILD.bazel b/dev/BUILD.bazel index 1aa5d60..c341d1a 100644 --- a/dev/BUILD.bazel +++ b/dev/BUILD.bazel
@@ -3,6 +3,7 @@ licenses(["notice"]) +# Only present for WORKSPACE support; bzlmod uses //dev:uv.lock. # Run bazel run //dev:requirements.update lock( name = "requirements",