Skip to content

Fix BCR presubmit, update rules_python to 1.5.2 #1760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mbland
Copy link
Contributor

@mbland mbland commented Aug 11, 2025

Description

Resolves the Windows symlink breakage from bazelbuild/bazel-central-registry#5490 by replacing examples/crossbuild/protobuf.patch with a full copy. Bumps rules_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 legacy WORKSPACE builds because it contains bazel-contrib/rules_python#3134, which fixes bazel-contrib/rules_python#3119.

Resolves the Windows symlink breakage from
bazelbuild/bazel-central-registry#5490 by replacing
examples/crossbuild/protobuf.patch with a full copy. Bumps rules_python
to 1.5.2 for both Bzlmod and legacy WORKSPACE builds.

---

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 legacy `WORKSPACE` builds because it
contains bazel-contrib/rules_python#3134, which fixes
bazel-contrib/rules_python#3119.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.5.0 breaks Bazel 7 WORKSPACE builds
1 participant