You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/Ryang20718/bazel_rules_python_proto.git
cd bazel_rules_python_proto
USE_BAZEL_VERSION=7.1.2 bazelisk test //foxglove:all --noenable_bzlmod --announce_rc -s --sandbox_debug
will result in failures. however, the same exact directory structure inside the example folder of rules_python will succeed
git clone https://github.com/Ryang20718/bazel_rules_python_proto.git
cd bazel_rules_python_proto/rules_python_working/examples/py_proto_library
USE_BAZEL_VERSION=7.1.2 bazelisk test //foxglove:all --noenable_bzlmod --announce_rc -s --sandbox_debug
I've been staring at differences for days, but I'm unsure of what could possibly be the difference?
🌍 Your Environment
Operating System:
ubuntu 20.04
Output of bazel version:
7.1.2 Rules_python version:
0.32.2
The text was updated successfully, but these errors were encountered:
Ryang20718
changed the title
Bazel 7 + Rules_python no longer creating __init__.py files in runfiles_dir
Bazel 7 + Rules_python no longer creating __init__.py files in runfiles_dir for python_proto_libraryJun 1, 2024
Ryang20718
changed the title
Bazel 7 + Rules_python no longer creating __init__.py files in runfiles_dir for python_proto_library
Unable to get bazel 7 py_proto_library example working outside of rules_python dir
Jun 1, 2024
Given #1933 and the proto rules moving out of the rules_python repo, I think the best course of action would be to look at the new home. And see how to get the new version of the py proto rule warking.
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.
Expected side effect of this change is also that the protobuf version is
sufficiently updated that there is no more use of legacy struct
providers.
Closes#1935Closes#1924Closes#1925Closes#1703Closes#1707Closes#1597Closes#1293Closes#1080Fixes#1438
🐞 bug report
Affected Rule
Bazel 7.1.2 + rules_python 0.32.2 seems to be unable to import python proto libraries
Description
I've created a minimal repro here https://github.com/Ryang20718/bazel_rules_python_proto/tree/main
will result in failures. however, the same exact directory structure inside the example folder of
rules_python
will succeedI've been staring at differences for days, but I'm unsure of what could possibly be the difference?
🌍 Your Environment
Operating System:
ubuntu 20.04
Output of
bazel version
:7.1.2
Rules_python version:
0.32.2
The text was updated successfully, but these errors were encountered: