Skip to content

[Idea]: Python toolchains of different weights #706

@arrdem

Description

@arrdem

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions