rules_py icon indicating copy to clipboard operation
rules_py copied to clipboard

[Idea]: Python toolchains of different weights

Open arrdem opened this issue 3 months ago • 0 comments

As noted by some users, the Python toolchains with rules_python configures by default are kinda heavyweight because they include docs, headers and stiff like TKinter which is rarely used in hermetic production contexts (Docker).

It'd be neat of the new uv machinery was able to feature flag to a "build mode" build/test interpreter configuration, allowing users to potentially register Python toolchains which match a heavier weight "build mode" and allowing for the user to potentially configure trimmed down interpreters for terminal binary use cases.

arrdem avatar Nov 07 '25 20:11 arrdem