-
Notifications
You must be signed in to change notification settings - Fork 560
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
feat(proto): shim to upstream for py_proto_library #2581
Conversation
With this PR we attempt to remove our implementation of py_proto_library and we just forward the calls to the upstream. Hopefully this fixes bazelbuild#2543.
I noticed the proto version was updated -- does this mean 29.3 has all the parts we need, so we can put this shim in now? |
I think we could do it with the old version, but the fix that @tpudlik put in is not in the upstream, so I am wondering what we should do... |
Maybe we can provide users with a small patch before it gets picked up by the protocolbuffers team. I think it would be the most we could do from our side. |
Yes, sorry, I've not contributed it yet! Sorry, it slipped my mind. I'll send a CL (PR) this week, but it will take a little while to make it into a released version, of course. |
Previously, the import path within the runfiles was only correct for the case `--legacy_external_runfiles=True` (which copied the runfiles into `$RUNFILES/<main repo>/external/<external repo>/<path>` in addition to `$RUNFILES/<external repo>/<path>`. This flag was flipped to False in Bazel 8.0.0. This is identical to the change made to rules_python in bazelbuild/rules_python#2516. Work towards bazelbuild/rules_python#2581. PiperOrigin-RevId: 721941173
Previously, the import path within the runfiles was only correct for the case `--legacy_external_runfiles=True` (which copied the runfiles into `$RUNFILES/<main repo>/external/<external repo>/<path>` in addition to `$RUNFILES/<external repo>/<path>`. This flag was flipped to False in Bazel 8.0.0. This is identical to the change made to rules_python in bazelbuild/rules_python#2516. Work towards bazelbuild/rules_python#2581. PiperOrigin-RevId: 721941173
Previously, the import path within the runfiles was only correct for the case `--legacy_external_runfiles=True` (which copied the runfiles into `$RUNFILES/<main repo>/external/<external repo>/<path>` in addition to `$RUNFILES/<external repo>/<path>`. This flag was flipped to False in Bazel 8.0.0. This is identical to the change made to rules_python in bazelbuild/rules_python#2516. Work towards bazelbuild/rules_python#2581. PiperOrigin-RevId: 721941173
Previously, the import path within the runfiles was only correct for the case `--legacy_external_runfiles=True` (which copied the runfiles into `$RUNFILES/<main repo>/external/<external repo>/<path>` in addition to `$RUNFILES/<external repo>/<path>`. This flag was flipped to False in Bazel 8.0.0. This is identical to the change made to rules_python in bazelbuild/rules_python#2516. Work towards bazelbuild/rules_python#2581. PiperOrigin-RevId: 722690855
Closing in favour of #2604 |
With this PR we attempt to remove our implementation of py_proto_library
and we just forward the calls to the upstream.
Hopefully this fixes #2543.
Work towards #2173.