Fix BCR presubmit, update rules_python to 1.5.2 #1760
+95
−10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Resolves the Windows symlink breakage from bazelbuild/bazel-central-registry#5490 by replacing
examples/crossbuild/protobuf.patch
with a full copy. Bumpsrules_python
to 1.5.2 for both Bzlmod and legacy WORKSPACE builds.Motivation
This is hopefully a temporary measure to unblock the next
rules_scala
release. This will probably require creating a v7.1.1 tag to trigger a new.bcr/presubmit.yml
workflow.See bazelbuild/bazel-central-registry#5506 for details about the breakage. If and when bazelbuild/continuous-integration#2350 lands and makes its way to the BCR presubmit build, we could restore the symlink. Better yet, if protocolbuffers/protobuf#19679 ever lands, we could remove this symlink and all the others.
Bumped
rules_python
to 1.5.2 for legacyWORKSPACE
builds because it contains bazel-contrib/rules_python#3134, which fixes bazel-contrib/rules_python#3119.