diff --git a/crates/uv-resolver/src/requires_python/tests.rs b/crates/uv-resolver/src/requires_python/tests.rs index 6382e2d7998d..4e87fd8b6d7b 100644 --- a/crates/uv-resolver/src/requires_python/tests.rs +++ b/crates/uv-resolver/src/requires_python/tests.rs @@ -139,7 +139,6 @@ fn upper_bound_ordering() { fn is_matching_without_patch() { let test_cases = [ ("==3.12", true), - ("==2.7", true), ("==3.10, <3.11", true), ("==3.10, <=3.11", true), ("==3.12.1", false), diff --git a/crates/uv/tests/it/lock.rs b/crates/uv/tests/it/lock.rs index c47de0151bfe..ee1937830e7a 100644 --- a/crates/uv/tests/it/lock.rs +++ b/crates/uv/tests/it/lock.rs @@ -3530,6 +3530,7 @@ fn lock_requires_python_exact() -> Result<()> { ----- stderr ----- Using CPython 3.12.[X] + warning: The workspace `requires-python` value does not have a patch version: `==3.12`. It will be interpreted as `==3.12.[X]`. Did you mean `==3.12.*`? Resolved 2 packages in [TIME] "###); @@ -3586,6 +3587,7 @@ fn lock_requires_python_exact() -> Result<()> { ----- stderr ----- Using CPython 3.12.[X] + warning: The workspace `requires-python` value does not have a patch version: `==3.12`. It will be interpreted as `==3.12.[X]`. Did you mean `==3.12.*`? Resolved 2 packages in [TIME] "###);