-
-
Notifications
You must be signed in to change notification settings - Fork 610
Closed
Description
🐞 bug report
Affected Rule
@rules_python_gazelle_plugin//python
is broken when used in gazelle_binary
with the latest release when using Python 3.11 as the default toolchain.
Is this a regression?
Yes, introduced in #1455.
Description
See https://bazelbuild.slack.com/archives/CA306CEV6/p1700496408567889
🔬 Minimal Reproduction
See https://github.com/aignas/rules_python_repro_gazelle_binary_rule
🔥 Exception or Error
Traceback (most recent call last):
File "/tmp/Bazel.runfiles_tugoo1fs/runfiles/rules_python_gazelle_plugin/python/__main__.py", line 19, in <module>
import parse
ModuleNotFoundError: No module named 'parse'
Traceback (most recent call last):
File "/var/folders/rl/v9dqv4mx1jsgwx81qjy74scc0000gn/T/Bazel.runfiles_o1h0_q7c/runfiles/rules_python_gazelle_plugin/python/__main__.py", line 19, in <module>
import parse
ModuleNotFoundError: No module named 'parse'
gazelle: ERROR: failed to parse: EOF
Metadata
Metadata
Assignees
Labels
No labels