bazel-contrib / bazel-contrib/rules_python

Migration needed for Automatic Exec Groups

Aperta
#2,282 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
need: upstream support
Lingua principale
Starlark
Stelle
688
Fork
721
Merge medio
15h 7m
PR unite (30g)
76

Descrizione

Migration to [Automatic Exec Groups](https://bazel.build/extending/auto-exec-groups) (AEGs) is needed since its incompatible flag (--incompatible_auto_exec_groups) will be enabled for Bazel@Head by default next week (week of 14th of October), thus it will be breaking [rules_python](https://github.com/bazelbuild/rules_python). Please migrate and fix potential errors, in order to unblock your project and users who depend on your project. Potential errors can be triggered by building your project with this incompatible flag. Note that AEGs will not be flipped by default for Bazel 8, but for Bazel at head after Bazel 8 cut.

For more details, please check:
- [The reference issue ](https://github.com/bazelbuild/bazel/issues/19981)
- [General Bazel documentation for AEGs](https://bazel.build/extending/auto-exec-groups)
- Particularly interesting parts could be
- [Most common errors](https://bazel.build/extending/auto-exec-groups#potential-problems) you could see during this migration
- [How to disable AEGs](https://bazel.build/extending/auto-exec-groups#how-disable) until fully migrated

Never heard of incompatible flags before? We have [documentation](https://docs.bazel.build/versions/master/backward-compatibility.html) that explains everything.

If you have any questions, please file an issue in https://github.com/bazelbuild/bazel/issues.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Read the linked Bazel Automatic Exec Groups documentation and reference issue first. Build rules_python with --incompatible_auto_exec_groups enabled, investigate the resulting errors, and migrate the affected rules so the project builds successfully with the flag enabled.

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

Valutazione

Stack tecnologico
python
Ambito
build-system
Tipo di issue
Refactoring
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.