Zanie Blue
2025-05-28 08:58:38 -05:00
committed by GitHub
parent 56203484a2
commit 56ce40b0f4
10 changed files with 1714 additions and 798 deletions

View File

@@ -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")

View File

@@ -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

View File

@@ -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);

View File

@@ -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
}

View File

@@ -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