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>
22 lines
517 B
TOML
22 lines
517 B
TOML
name = "extra-incompatible-with-extra-not-requested"
|
|
description = "One of two incompatible optional dependencies are requested for the package."
|
|
|
|
[root]
|
|
requires = ["a[extra_c]"]
|
|
|
|
[expected]
|
|
satisfiable = true
|
|
explanation = "Because the user does not request both extras, it is okay that one is incompatible with the other."
|
|
|
|
[expected.packages]
|
|
a = "1.0.0"
|
|
b = "2.0.0"
|
|
|
|
[packages.b.versions."1.0.0"]
|
|
|
|
[packages.b.versions."2.0.0"]
|
|
|
|
[packages.a.versions."1.0.0".extras]
|
|
extra_b = ["b==1.0.0"]
|
|
extra_c = ["b==2.0.0"]
|