-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uv-resolver: error on unconditional conflicting extras
If we don't do this, then it would be like permitting `uv sync --extra x1 --extra x2` even when `x1` and `x2` are declared as conflicting. Technically, we should only report an error when 2 or more conflicting extras are unconditionally enabled. Instead, here, we report an error if just 1 is found. The reason is that it seems tricky to detect all possible cases of 2 or more since I believe it would require looking at the full dependency tree.
- Loading branch information
1 parent
ed12f93
commit f49d6b4
Showing
3 changed files
with
189 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters