Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uv/tests: add an unresolvable test case involving overlapping markers
This example came up in discussion and it was initially unclear whether we should try to support it. Specifically, by automatically assuming that the `datasets < 2.19` dependency had a marker corresponding to the negation of the conjunction of the other sibling markers for that same package. But this was deemed, I think, a little too magical. This in turn implies that whenever there are sibling dependencies with overlapping marker expressions, their version constraints also need to be overlapping. Otherwise, for any marker environment that matches both marker expressions, it would be impossible to select a single version.
- Loading branch information