Skip to content

Commit

Permalink
Upgrade packse (#2963)
Browse files Browse the repository at this point in the history
Should improve test performance with
astral-sh/packse#169 thanks @konstin !
  • Loading branch information
zanieb authored Apr 10, 2024
1 parent 38ab39c commit bbe46c0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 18 deletions.
6 changes: 3 additions & 3 deletions crates/uv/tests/pip_compile_scenarios.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! DO NOT EDIT
//!
//! Generated with `./scripts/sync_scenarios.sh`
//! Scenarios from <https://github.com/zanieb/packse/tree/0.3.12/scenarios>
//! Scenarios from <https://github.com/zanieb/packse/tree/0.3.13/scenarios>
//!
#![cfg(all(feature = "python", feature = "pypi", unix))]

Expand All @@ -27,9 +27,9 @@ fn command(context: &TestContext, python_versions: &[&str]) -> Command {
.arg("compile")
.arg("requirements.in")
.arg("--index-url")
.arg("https://astral-sh.github.io/packse/0.3.12/simple-html/")
.arg("https://astral-sh.github.io/packse/0.3.13/simple-html/")
.arg("--find-links")
.arg("https://raw.githubusercontent.com/zanieb/packse/0.3.12/vendor/links.html")
.arg("https://raw.githubusercontent.com/zanieb/packse/0.3.13/vendor/links.html")
.arg("--cache-dir")
.arg(context.cache_dir.path())
.env("VIRTUAL_ENV", context.venv.as_os_str())
Expand Down
8 changes: 4 additions & 4 deletions crates/uv/tests/pip_install_scenarios.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! DO NOT EDIT
//!
//! Generated with `./scripts/sync_scenarios.sh`
//! Scenarios from <https://github.com/zanieb/packse/tree/0.3.12/scenarios>
//! Scenarios from <https://github.com/zanieb/packse/tree/0.3.13/scenarios>
//!
#![cfg(all(feature = "python", feature = "pypi", unix))]

Expand Down Expand Up @@ -46,9 +46,9 @@ fn command(context: &TestContext) -> Command {
.arg("pip")
.arg("install")
.arg("--index-url")
.arg("https://astral-sh.github.io/packse/0.3.12/simple-html/")
.arg("https://astral-sh.github.io/packse/0.3.13/simple-html/")
.arg("--find-links")
.arg("https://raw.githubusercontent.com/zanieb/packse/0.3.12/vendor/links.html")
.arg("https://raw.githubusercontent.com/zanieb/packse/0.3.13/vendor/links.html")
.arg("--cache-dir")
.arg(context.cache_dir.path())
.env("VIRTUAL_ENV", context.venv.as_os_str())
Expand Down Expand Up @@ -1752,7 +1752,7 @@ fn local_transitive_confounding() {
And because only package-a==1.0.0 is available and you require package-a, we can conclude that the requirements are unsatisfiable.
"###);

// The version '1.2.3+foo' satisfies the constraint '==1.2.3'.
// The version '2.0.0+foo' satisfies the constraint '==2.0.0'.
assert_not_installed(
&context.venv,
"local_transitive_confounding_a",
Expand Down
26 changes: 15 additions & 11 deletions scripts/scenarios/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,37 @@ charset-normalizer==3.3.2
# via requests
chevron-blue==0.2.1
# via packse
docutils==0.20.1
docutils==0.21.post1
# via readme-renderer
editables==0.5
# via hatchling
hatchling==1.21.1
hatchling==1.22.5
# via packse
idna==3.6
# via requests
importlib-metadata==7.0.2
importlib-metadata==7.1.0
# via twine
jaraco-classes==3.3.1
jaraco-classes==3.4.0
# via keyring
jaraco-context==5.3.0
# via keyring
keyring==24.3.1
jaraco-functools==4.0.0
# via keyring
keyring==25.1.0
# via twine
markdown-it-py==3.0.0
# via rich
mdurl==0.1.2
# via markdown-it-py
more-itertools==10.2.0
# via jaraco-classes
# via
# jaraco-classes
# jaraco-functools
msgspec==0.18.6
# via packse
nh3==0.2.15
nh3==0.2.17
# via readme-renderer
packaging==24.0
# via hatchling
packse==0.3.12
packse==0.3.13
pathspec==0.12.1
# via hatchling
pkginfo==1.10.0
Expand All @@ -57,7 +61,7 @@ rich==13.7.1
# via twine
setuptools==69.2.0
# via packse
trove-classifiers==2024.3.3
trove-classifiers==2024.4.10
# via hatchling
twine==4.0.2
# via packse
Expand Down

0 comments on commit bbe46c0

Please sign in to comment.