mirror of
https://github.com/astral-sh/uv
synced 2026-06-21 13:47:25 +00:00
b4d32e4356
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>
17 lines
504 B
TOML
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"]
|