Skip to content

uv settings are ignored in pyproject.toml #3807

Closed

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.

Activity

  1. added a commit that references this issue on Jun 9, 2026
    c0fef46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions