Skip to content

uv settings are ignored in pyproject.toml #3807

@aignas

Description

@aignas

@aaronsky from Slack:

Another thing I noticed: it seems as though [tool.uv] settings in my pyproject.toml aren’t being considered when using the lock rule, so I have to duplicate settings as flags into args. This works as-expected in rules_uv’s pip_compile rule, despite the fact that neither it nor rules_python’s implementation pass --project/--config-file, nor set UV_PROJECT/UV_CONFIG_FILE in the environment. So I’m not sure what’s going on there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions