bazel-contrib / bazel-contrib/rules_python

Migration needed for Automatic Exec Groups

オープン
#2,282 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
need: upstream support
主要言語
Starlark
スター
688
フォーク
721
平均マージ
15時間 7分
マージ済み PR(30日)
76

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、リンクされている Bazel Automatic Exec Groups のドキュメントと参照 Issue を読んでください。--incompatible_auto_exec_groups を有効にして rules_python をビルドし、発生したエラーを調査して、フラグを有効にした状態でプロジェクトが正常にビルドできるよう、影響を受けるルールを移行してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。