diff --git a/crates/puffin/tests/pip_compile_scenarios.rs b/crates/puffin/tests/pip_compile_scenarios.rs index 53124cdbf..c49da3413 100644 --- a/crates/puffin/tests/pip_compile_scenarios.rs +++ b/crates/puffin/tests/pip_compile_scenarios.rs @@ -1,7 +1,7 @@ //! DO NOT EDIT //! //! Generated with ./scripts/scenarios/update.py -//! Scenarios from +//! Scenarios from //! #![cfg(all(feature = "python", feature = "pypi"))] @@ -261,7 +261,7 @@ fn requires_incompatible_python_version_compatible_override_no_wheels() -> Resul /// version installed elsewhere on their system. /// /// ```text -/// ae5b2665 +/// 23e00318 /// ├── environment /// │ ├── python3.11 /// │ └── python3.9 (active) @@ -283,11 +283,11 @@ fn requires_incompatible_python_version_compatible_override_no_wheels_available_ // In addition to the standard filters, swap out package names for more realistic messages let mut filters = INSTA_FILTERS.to_vec(); - filters.push((r"a-ae5b2665", "albatross")); - filters.push((r"-ae5b2665", "")); + filters.push((r"a-23e00318", "albatross")); + filters.push((r"-23e00318", "")); let requirements_in = temp_dir.child("requirements.in"); - requirements_in.write_str("a-ae5b2665==1.0.0")?; + requirements_in.write_str("a-23e00318==1.0.0")?; let mut inner = Command::new(get_cargo_bin(BIN_NAME)); let mut command = inner @@ -322,7 +322,10 @@ fn requires_incompatible_python_version_compatible_override_no_wheels_available_ // Since there is a compatible Python version available on the system, it should be // used to build the source distributions. - command.assert().success(); + command + .assert() + .success() + .stdout(predicate::str::contains("a-23e00318==1.0.0")); Ok(()) } diff --git a/crates/puffin/tests/pip_install_scenarios.rs b/crates/puffin/tests/pip_install_scenarios.rs index 563aa5c72..115f28eae 100644 --- a/crates/puffin/tests/pip_install_scenarios.rs +++ b/crates/puffin/tests/pip_install_scenarios.rs @@ -1,7 +1,7 @@ //! DO NOT EDIT //! //! Generated with ./scripts/scenarios/update.py -//! Scenarios from +//! Scenarios from //! #![cfg(all(feature = "python", feature = "pypi"))] diff --git a/scripts/scenarios/update.py b/scripts/scenarios/update.py index f754dc02b..356672674 100755 --- a/scripts/scenarios/update.py +++ b/scripts/scenarios/update.py @@ -45,7 +45,7 @@ import textwrap from pathlib import Path -PACKSE_COMMIT = "a451c95105db0c2897d0ad1bde0703ba0fc40d3a" +PACKSE_COMMIT = "0563417be973397d05b45cd2c5b415d7215161e3" TOOL_ROOT = Path(__file__).parent TEMPLATES = TOOL_ROOT / "templates" INSTALL_TEMPLATE = TEMPLATES / "install.mustache"