Files
astral-sh-uv/test/scenarios/extras/extra-incompatible-with-root.toml
T
Zanie Blue b4d32e4356 Vendor packse scenarios and serve them from an in-memory index (#18084)
This makes it easier for us to add resolver scenarios by

1. Rewriting the scenario package generation in Rust
2. Serving scenario packages from memory in a wiremock index
3. Rewriting the scenario test case generation in Rust
4. Dropping all dependencies on packse / the packse index

---------

Co-authored-by: Codex <noreply@openai.com>
2026-06-02 09:25:29 -05:00

17 lines
504 B
TOML

name = "extra-incompatible-with-root"
description = "Optional dependencies are requested for the package, but the extra is not compatible with other requested versions."
[root]
requires = ["a[extra]", "b==2.0.0"]
[expected]
explanation = "Because the user requested `b==2.0.0` but the requested extra requires `b==1.0.0`, the dependencies cannot be satisfied."
satisfiable = false
[packages.b.versions."1.0.0"]
[packages.b.versions."2.0.0"]
[packages.a.versions."1.0.0".extras]
extra = ["b==1.0.0"]