Skip to content

Commit

Permalink
install_extra_index_url_has_priority without exclude newer (#2340)
Browse files Browse the repository at this point in the history
Manual synthesis of #2337 and #2339, i think one accidentally reverted
the other?

No rush in merging, CI is green.
  • Loading branch information
konstin authored Mar 10, 2024
1 parent a267a50 commit 7825a53
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions crates/uv/tests/pip_install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,22 +822,18 @@ fn install_extra_index_url_has_priority() {
// the fix, `uv` will check pypi.org first since it is given
// priority via --extra-index-url.
.arg("black==24.2.0")
.arg("--no-deps")
.arg("--exclude-newer")
.arg("2024-03-09"), @r###"
success: true
exit_code: 0
----- stdout -----
----- stderr -----
Resolved 6 packages in [TIME]
Downloaded 6 packages in [TIME]
Installed 6 packages in [TIME]
Resolved 1 package in [TIME]
Downloaded 1 package in [TIME]
Installed 1 package in [TIME]
+ black==24.2.0
+ click==8.1.7
+ mypy-extensions==1.0.0
+ packaging==23.2
+ pathspec==0.12.1
+ platformdirs==4.2.0
"###
);

Expand Down

0 comments on commit 7825a53

Please sign in to comment.