bazel-contrib / bazel-contrib/rules_python

[gazelle] Support -index=lazy

Aperta
#3,396 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
gazelle
Lingua principale
Starlark
Stelle
688
Fork
721
Merge medio
15h 7m
PR unite (30g)
76

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
build-system
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.