| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Protobuf team is taking ownership of `py_proto_library` and the implementation was moved to protobuf repository. Remove py_proto_library from rules_python, to prevent divergent implementations. Make a redirect with a deprecation warning, so that this doesn't break any users. Previously this was attempted in: bazel-contrib@d0e25cf
|
This looks almost the same as something Ignas drafted up a couple weeks ago: #2581 (I don't have a preference for either PR, to be clear) The main difference seems to be this PR leaves protobuf at 29.0-rc2, while the other PR raises protobuf to 29.3. Both seem to have passing tests, though? @aignas @comius It's not clear to me -- should we raise the version in our module or not? This PR also mentions that protobuf 30.0 is needed for a certain test to pass? Curiously, the other PR deletes that test ("external_import_test"). Should we raise protobuf to 30.0? cc @tpudlik who responded to a question on the other PR. Something about waiting for a certain bug to be fixed in protobuf? I'm happy this is looking eminent! |
Sorry, something went wrong.
|
Sorry, did not have time to finish my PR. My TODO was
I think my preference moving forward would be:
Thanks for the PR! |
Sorry, something went wrong.
|
I need to provide some more context. The test that I disabled is fixed in protobuf 30 with protocolbuffers/protobuf#20193 |
Sorry, something went wrong.
|
Does that mean that users may need to do overrides for things to work when upgrading to version 30? I am struggling to understand the impact of the rollout/release of a new vecsion of rules_python here. We plan to release rules_python soon. |
Sorry, something went wrong.
What do you mean with overrides? Versioning? I don't think any manual interaction is needed by the users, except: If using Bzlmod, Protobuf 30 will depend on the newly released rules_python, which will lead to a single py_proto_library. WORKSPACE users will need to upgrade by hand. |
Sorry, something went wrong.
This was part of the message which I did not fully understand at first. I thought that it was about something that would require our users to do extra things when upgrading protobuf library versions. |
Sorry, something went wrong.
Follow-up to #2604, fixes a breaking change in v1.2.0-rc0 Note that this toolchain_type became unused in that PR. We leave behind an alias to make this a non-breaking change. Verified in a downstream repo that requires the toolchain_type to register pre-built `protoc`: https://github.com/aspect-build/toolchains_protoc/pull/50/files --------- Co-authored-by: Richard Levasseur <rlevasseur@google.com>
Follow-up to #2604, fixes a breaking change in v1.2.0-rc0 Note that this toolchain_type became unused in that PR. We leave behind an alias to make this a non-breaking change. Verified in a downstream repo that requires the toolchain_type to register pre-built `protoc`: https://github.com/aspect-build/toolchains_protoc/pull/50/files --------- Co-authored-by: Richard Levasseur <rlevasseur@google.com> (cherry picked from commit f9779ee)
| Back | FazBrowse Home | New Git URL |
Protobuf team is taking ownership of py_proto_library and the implementation was moved to protobuf repository.
Remove py_proto_library from rules_python, to prevent divergent implementations.
Make a redirect with a deprecation warning, so that this doesn't break any users.
Previously this was attempted in: d0e25cf
Work towards #2173, #2543