Update packse to 0.3.52: Fix requires python 3.12 (#15786)

Pull in the latest packse changes to make all test work with the new
default Python requirement, 3.12.
This commit is contained in:
konsti 2025-09-11 15:19:34 +02:00 committed by GitHub
parent 97516fa89b
commit 2ec71bd608
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 590 additions and 1056 deletions

View File

@ -32,7 +32,7 @@ use uv_static::EnvVars;
// Exclude any packages uploaded after this date. // Exclude any packages uploaded after this date.
static EXCLUDE_NEWER: &str = "2024-03-25T00:00:00Z"; static EXCLUDE_NEWER: &str = "2024-03-25T00:00:00Z";
pub const PACKSE_VERSION: &str = "0.3.47"; pub const PACKSE_VERSION: &str = "0.3.52";
pub const DEFAULT_PYTHON_VERSION: &str = "3.12"; pub const DEFAULT_PYTHON_VERSION: &str = "3.12";
/// Using a find links url allows using `--index-url` instead of `--extra-index-url` in tests /// Using a find links url allows using `--index-url` instead of `--extra-index-url` in tests

View File

@ -4668,9 +4668,9 @@ fn add_lower_bound_local() -> Result<()> {
name = "local-simple-a" name = "local-simple-a"
version = "1.2.3+foo" version = "1.2.3+foo"
source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }
sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/local_simple_a-1.2.3+foo.tar.gz", hash = "sha256:ebd55c4a79d0a5759126657cb289ff97558902abcfb142e036b993781497edac" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/local_simple_a-1.2.3+foo.tar.gz", hash = "sha256:cd1855a98a7b0dce1f4617f2f2089906936344392d4bdd7720503e9f3c0b1544" }
wheels = [ wheels = [
{ url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/local_simple_a-1.2.3+foo-py3-none-any.whl", hash = "sha256:6f30e2e709b3e171cd734bb58705229a582587c29e0a7041227435583c7224cc" }, { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/local_simple_a-1.2.3+foo-py3-none-any.whl", hash = "sha256:9a430e6d5e9cd3ab906ea412b00ea8a1bad7c59fd64df2278a2527a60a665751" },
] ]
[[package]] [[package]]

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
//! DO NOT EDIT //! DO NOT EDIT
//! //!
//! Generated with `./scripts/sync_scenarios.sh` //! Generated with `./scripts/sync_scenarios.sh`
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.47/scenarios> //! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.52/scenarios>
//! //!
#![cfg(all(feature = "python", feature = "pypi", unix))] #![cfg(all(feature = "python", feature = "pypi", unix))]

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
chevron-blue chevron-blue
packse>=0.3.39 packse>=0.3.52

View File

@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command: # This file was autogenerated by uv via the following command:
# uv pip compile scripts/scenarios/requirements.in -o scripts/scenarios/requirements.txt -n # uv pip compile scripts/scenarios/requirements.in -o scripts/scenarios/requirements.txt
chevron-blue==0.2.1 chevron-blue==0.2.1
# via # via
# -r scripts/scenarios/requirements.in # -r scripts/scenarios/requirements.in
@ -10,7 +10,7 @@ msgspec==0.18.6
# via packse # via packse
packaging==24.2 packaging==24.2
# via hatchling # via hatchling
packse==0.3.47 packse==0.3.52
# via -r scripts/scenarios/requirements.in # via -r scripts/scenarios/requirements.in
pathspec==0.12.1 pathspec==0.12.1
# via hatchling # via hatchling
@ -18,8 +18,6 @@ pluggy==1.5.0
# via hatchling # via hatchling
pyyaml==6.0.2 pyyaml==6.0.2
# via packse # via packse
setuptools==75.6.0
# via packse
trove-classifiers==2024.10.21.16 trove-classifiers==2024.10.21.16
# via hatchling # via hatchling
uv==0.5.10 uv==0.5.10

View File

@ -27,7 +27,7 @@ script_root="$(realpath "$(dirname "$0")")"
cd "$script_root/scenarios" cd "$script_root/scenarios"
echo "Setting up a temporary environment..." echo "Setting up a temporary environment..."
uv venv -p 3.12 uv venv -p 3.12 -c
# shellcheck disable=SC1091 # shellcheck disable=SC1091
source ".venv/bin/activate" source ".venv/bin/activate"