[10.0.0] Add tar.bzl to the bootstrap repository cache and Fix offline distfile bootstrap and determinism tests with rules_python 2.2.0 (#32548) <!-- Thank you for contributing to Bazel! Please read the contribution guidelines: https://bazel.build/contribute and guidelines for AI-assisted contributions: https://bazel.build/contribute/ai-assisted-contributions --> ### Description <!-- Please provide a brief summary of the changes in this PR. --> ### Motivation <!-- Why is this change important? Does it fix a specific bug or add a new feature? If this PR fixes an existing issue, please link it here (e.g. "Fixes #1234"). --> ### Build API Changes <!-- Does this PR affect the Build API? (e.g. Starlark API, providers, command-line flags, native rules) If yes, please answer the following: 1. Has this been discussed in a design doc or issue? (Please link it) 2. Is the change backward compatible? 3. If it's a breaking change, what is the migration plan? --> No ### Checklist - [ ] I have added tests for the new use cases (if any). - [ ] I have updated the documentation (if applicable). ### Release Notes <!-- If this is a new feature, please add 'RELNOTES[NEW]: <description>' here. If this is a breaking change, please add 'RELNOTES[INC]: <reason>' here. If this change should be mentioned in release notes, please add 'RELNOTES: <reason>' here. --> RELNOTES: None Commit https://github.com/bazelbuild/bazel/commit/53824fa52725fed74cbcba4455deebc901152213 and https://github.com/bazelbuild/bazel/commit/03629e9b6705f9e2cb670bb2d723f57c5c1b20cb --------- Co-authored-by: wyv <wyv@google.com> Co-authored-by: pcloudy <pcloudy@google.com>
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index dbc26df..51e0cf2 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock
@@ -382,7 +382,7 @@ "moduleExtensions": { "//:repositories.bzl%async_profiler_repos": { "general": { - "bzlTransitiveDigest": "4agSGuI7LvThdzp3+2vfGGMqoZDR5T/0w7tLB3T81kU=", + "bzlTransitiveDigest": "x97wE0POeXRa1Mkg7Us2RjOy0byOW1lhoeXLmF/LkdA=", "usagesDigest": "UBoK2MHHRSHM8IgkvW0mjiVK1sdRP4NGoO6AU+PY4dg=", "recordedInputs": [ "REPO_MAPPING:,async_profiler +async_profiler_repos+async_profiler", @@ -441,7 +441,7 @@ }, "//:repositories.bzl%dist_repos": { "general": { - "bzlTransitiveDigest": "4agSGuI7LvThdzp3+2vfGGMqoZDR5T/0w7tLB3T81kU=", + "bzlTransitiveDigest": "x97wE0POeXRa1Mkg7Us2RjOy0byOW1lhoeXLmF/LkdA=", "usagesDigest": "lun2oajR8m0W/irkwHSueS+YEBxD3VLnpwhw9uSKhu0=", "recordedInputs": [ "REPO_MAPPING:,async_profiler +async_profiler_repos+async_profiler",
diff --git a/repositories.bzl b/repositories.bzl index feb5f8a..c174c18 100644 --- a/repositories.bzl +++ b/repositories.bzl
@@ -62,6 +62,7 @@ "rules_shell+", "rules_swift+", "stardoc+", + "tar.bzl+", "with_cfg.bzl+", "xds+", "zlib+",
diff --git a/third_party/py/abseil/BUILD b/third_party/py/abseil/BUILD index e866f5b..0700202 100644 --- a/third_party/py/abseil/BUILD +++ b/third_party/py/abseil/BUILD
@@ -1,5 +1,3 @@ -load("@bazel_pip_dev_deps//:requirements.bzl", "requirement") - licenses(["notice"]) filegroup( @@ -10,6 +8,6 @@ alias( name = "abseil", - actual = requirement("absl-py"), + actual = "@bazel_pip_dev_deps//absl_py", visibility = ["//visibility:public"], )
diff --git a/third_party/py/frozendict/BUILD b/third_party/py/frozendict/BUILD index bfb5850..7afc142 100644 --- a/third_party/py/frozendict/BUILD +++ b/third_party/py/frozendict/BUILD
@@ -1,5 +1,3 @@ -load("@bazel_pip_dev_deps//:requirements.bzl", "requirement") - licenses(["notice"]) filegroup( @@ -10,6 +8,6 @@ alias( name = "frozendict", - actual = requirement("frozendict"), + actual = "@bazel_pip_dev_deps//frozendict", visibility = ["//visibility:public"], )