-
-
Notifications
You must be signed in to change notification settings - Fork 49
Description
What happened?
When attempting to switch from rules_python to rules_py, I've encountered an issue importing google.api
package from inside of a proto package that doesn't seem to exist with rules_python
here is the reproduction:
https://github.com/ramilmsh/repro-rules-py
I believe it's related to protocolbuffers/protobuf#4189 , because without --incompatible_strict_action_env
the results are identical between rules_py and rules_python (import fails), but when adding it fixes the issue for rules_python, but not for rules_py
thanks in advance for your time!
Version
Development (host) and target OS/architectures:
Output of bazel --version
:
bazel 8.3.1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
or MODULE.bazel
file:
bazel_dep(name = "aspect_rules_py", version = "1.6.1")
How to reproduce
https://github.com/ramilmsh/repro-rules-py
Any other information?
No response