Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation is not precise for conflicting groups #10378

Closed
vmgustavo opened this issue Jan 7, 2025 · 1 comment · Fixed by #10877
Closed

Documentation is not precise for conflicting groups #10378

vmgustavo opened this issue Jan 7, 2025 · 1 comment · Fixed by #10877
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@vmgustavo
Copy link

Here: https://docs.astral.sh/uv/reference/settings/#conflicts

The example usage is:

[tool.uv]
# Require that `package[test1]` and `package[test2]`
# requirements are resolved in different forks so that they
# cannot conflict with one another.
conflicts = [
    [
        { extra = "test1" },
        { extra = "test2" },
    ]
]

# Or, to declare conflicting groups:
conflicts = [
    [
        { group = "test1" },
        { group = "test2" },
    ]
]

The { group = "test1" } is referring to a package extra or to a uv dependecy group?

Because the comments have package[test1] it seems that it is referring to a package extra, but there are two identical examples using the key extra and group so it should be referring to a group.

@charliermarsh
Copy link
Member

Thanks, we can improve that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants