mirror of
https://github.com/astral-sh/uv
synced 2026-01-07 14:43:20 -05:00
Update packse scenarios (#13688)
Closes #13676 See https://github.com/astral-sh/packse/pull/242 and https://github.com/astral-sh/packse/releases/tag/0.3.47
This commit is contained in:
@@ -243,7 +243,9 @@ def main(scenarios: list[Path], snapshot_update: bool = True):
|
||||
env=env,
|
||||
)
|
||||
if exit_code != 0:
|
||||
logging.warning(f"Snapshot update failed (Exit code: {exit_code})")
|
||||
logging.warning(
|
||||
f"Snapshot update failed with exit code {exit_code} (use -v to show details)"
|
||||
)
|
||||
else:
|
||||
logging.info("Skipping snapshot update")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# This file was autogenerated by uv via the following command:
|
||||
# uv pip compile scripts/scenarios/requirements.in -o scripts/scenarios/requirements.txt --refresh-package packse -n
|
||||
# uv pip compile scripts/scenarios/requirements.in -o scripts/scenarios/requirements.txt -n
|
||||
chevron-blue==0.2.1
|
||||
# via
|
||||
# -r scripts/scenarios/requirements.in
|
||||
@@ -10,7 +10,7 @@ msgspec==0.18.6
|
||||
# via packse
|
||||
packaging==24.2
|
||||
# via hatchling
|
||||
packse==0.3.45
|
||||
packse==0.3.47
|
||||
# via -r scripts/scenarios/requirements.in
|
||||
pathspec==0.12.1
|
||||
# via hatchling
|
||||
|
||||
@@ -33,7 +33,7 @@ fn command(context: &TestContext, python_versions: &[&str]) -> Command {
|
||||
.arg(packse_index_url())
|
||||
.arg("--find-links")
|
||||
.arg(build_vendor_links_url());
|
||||
context.add_shared_args(&mut command, true);
|
||||
context.add_shared_options(&mut command, true);
|
||||
command.env_remove(EnvVars::UV_EXCLUDE_NEWER);
|
||||
command.env(EnvVars::UV_TEST_PYTHON_PATH, python_path);
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ fn command(context: &TestContext) -> Command {
|
||||
.arg(packse_index_url())
|
||||
.arg("--find-links")
|
||||
.arg(build_vendor_links_url());
|
||||
context.add_shared_args(&mut command, true);
|
||||
context.add_shared_options(&mut command, true);
|
||||
command.env_remove(EnvVars::UV_EXCLUDE_NEWER);
|
||||
command
|
||||
}
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
# For development purposes, the `./scripts/scenarios/generate.py` script can be used directly to generate
|
||||
# test cases from a local set of scenarios.
|
||||
#
|
||||
# To update the packse version, run the following command first:
|
||||
#
|
||||
# $ uv pip compile scripts/scenarios/requirements.in -o scripts/scenarios/requirements.txt --upgrade-package packse
|
||||
#
|
||||
# See `scripts/scenarios/` for supporting files.
|
||||
set -eu
|
||||
|
||||
|
||||
Reference in New Issue
Block a user