Skip to content
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

Restore minimal Python support in Protobuf v25+ #2254

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

mering
Copy link
Contributor

@mering mering commented Jun 13, 2024

In Protobuf v25 Python support with Bzlmod broke with the introduction of system_python. This is a regression compared to previous versions.

This re-adds minimal Python support and adds a target to the presubmit check in order to avoid backsliding in the future.

This backports the following patches:

  1. protocolbuffers/protobuf@e1bf1f0
  2. protocolbuffers/protobuf@2eb4d69

@bazel-io
Copy link
Member

Hello @zhangskz, @mkruskal-google, @googleberg, modules you maintain (protobuf) have been updated in this PR. Please review the changes.

@mering
Copy link
Contributor Author

mering commented Jun 13, 2024

@zhangskz This is backporting the patches you reviewed.

@mering
Copy link
Contributor Author

mering commented Jun 13, 2024

@fmeum could you please trigger the tests?

@fmeum
Copy link
Contributor

fmeum commented Jun 13, 2024

Could you use this link for the archive instead: https://github.com/protocolbuffers/protobuf/releases/download/v26.0/protobuf-26.0.tar.gz
That should avoid the failure.

@fmeum fmeum added the presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval label Jun 13, 2024
Copy link
Member

@bazel-io bazel-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @bazelbuild/bcr-maintainers, all modules in this PR have been approved by their maintainers. Please take a final look to merge this PR.

@fmeum fmeum merged commit 2e2cb0e into bazelbuild:main Jun 13, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants