Fix failing install_extra_index_url_has_priority test (#2335)

`install_extra_index_url_has_priority` started failing because
`packaging` had a new release. I'm not sure if this preserves the index
order check as intended, but it does unblock CI.
This commit is contained in:
konsti 2024-03-10 14:35:16 +01:00 committed by GitHub
parent 6dcd00e031
commit 73b30ba8ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -855,7 +855,9 @@ fn install_extra_index_url_has_priority() {
// find it, but then not find a compatible version. After
// the fix, `uv` will check pypi.org first since it is given
// priority via --extra-index-url.
.arg("black==24.2.0"), @r###"
.arg("black==24.2.0")
.arg("--exclude-newer")
.arg("2024-03-09"), @r###"
success: true
exit_code: 0
----- stdout -----