Skip to content

Commit

Permalink
patch lock_requires_python_exact test
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpaul10 committed Oct 14, 2024
1 parent 5ed5aa3 commit 711ab6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/uv-resolver/src/requires_python/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 2 additions & 0 deletions crates/uv/tests/it/lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3529,6 +3529,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]
"###);

Expand Down Expand Up @@ -3585,6 +3586,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]
"###);

Expand Down

0 comments on commit 711ab6e

Please sign in to comment.