bazel-contrib / bazel-contrib/rules_python
[gazelle] Support -index=lazy
Open
gazelle
- Dominant language
- Starlark
- Stars
- 688
- Forks
- 721
- Avg merge
- 15h 7m
- Merged PRs (30d)
- 76
Description
Gazelle supports `-index=lazy` to speed up indexing directories. This currently fails on Python with a bunch of errors like
```
my_project/foo/bar.py: "foo.other.baz" is an invalid dependency
```
Perhaps a `gazelle:py_search` directive is needed?
Contributor guide
Research direction
Reproduce the failure in Gazelle with Python and `-index=lazy`, focusing on the reported invalid dependency errors such as `foo.other.baz`. Investigate whether a `gazelle:py_search` directive is needed; done means lazy indexing works for Python without those dependency errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100