rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Starlarkify Python's build flags

Open gregestren opened this issue 4 months ago • 2 comments

As part of Starlarkification, we plan to move all Python-related build flags defined in Bazel core code into rules_python.

This:

  • gives rules_python owners more complete control over Bazel's Python support
  • reduces the need for bazel / rules_python release synchronization
  • saves rules_python contributors from having to know how to patch Bazel.
  • saves Bazel devs from having to know the details of Python

This issue tracks the effort.

Also see:

gregestren avatar Sep 08 '25 21:09 gregestren

I'm happy to have this assigned to me!

gregestren avatar Sep 08 '25 21:09 gregestren

FYI: I've added a CI job that uses bazel rolling. It won't shorten the iteration cycle, but you'll be able to more commit changes here with more confidence they work and won't regress. If they do, we'll see it in typical PRs. The CI job is non-blocking, so we can still merge, but it'll be much more visible.

rickeylev avatar Sep 17 '25 23:09 rickeylev