-
Notifications
You must be signed in to change notification settings - Fork 555
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
AssertionError: Cannot find .runfiles directory #1426
Comments
cc @rickeylev |
cc @f0rmiga -- Something about Gazelle unable to find the Python runfiles? But I thought Gazelle was written in Go, not Python? |
Seems related to #1415. |
@rickeylev, gazelle plugin is written in go and it spawns a Python process which the go code is communicating to via stdin/stdout and it is included in the gazelle plugin via https://github.com/aignas/rules_python/blob/main/gazelle/python/BUILD.bazel#L21 |
Pass the environment generated by the `runfiles` helper so that the Python launcher can find the runfiles correctly as implemented in bazelbuild/bazel#14740. Fixes #1426
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3319#018ab077-c764-4cc2-8b32-9fb08619ef90
rules_python: rules_python (example bzlmod build file running gazelle and pip integration test on :ubuntu: 20.04 LTS (OpenJDK 11, gcc 9.4.0))
Logs:
Culprit Found: 2f9c7d60ea676f9f8e929b20a3ff74e786995c91
CC Greenteam @comius
The text was updated successfully, but these errors were encountered: