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>
21 lines
474 B
TOML
21 lines
474 B
TOML
name = "local-transitive-less-than-or-equal"
|
|
description = "A transitive constraint on a local version should match an inclusive ordered operator."
|
|
|
|
[root]
|
|
requires = ["a", "b==2.0.0+foo"]
|
|
|
|
[expected]
|
|
satisfiable = true
|
|
explanation = "The version '2.0.0+foo' satisfies both <=2.0.0 and ==2.0.0+foo."
|
|
|
|
[expected.packages]
|
|
a = "1.0.0"
|
|
b = "2.0.0+foo"
|
|
|
|
[packages.a.versions."1.0.0"]
|
|
requires = ["b<=2.0.0"]
|
|
|
|
[packages.b.versions."2.0.0+bar"]
|
|
|
|
[packages.b.versions."2.0.0+foo"]
|