Update to latest `python-build-standalone` release (#11261)

See https://github.com/astral-sh/python-build-standalone/releases/tag/20250205

---------

Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com>
Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
github-actions[bot] 2025-02-05 17:31:43 -06:00 committed by GitHub
parent c64965273f
commit e1fbffb9e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2635 additions and 487 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -23,8 +23,8 @@ fn python_install() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM]
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM]
"###);
let bin_python = context
@ -60,8 +60,8 @@ fn python_install() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
~ cpython-3.13.1-[PLATFORM]
Installed Python 3.13.2 in [TIME]
~ cpython-3.13.2-[PLATFORM]
"###);
// Uninstallation requires an argument
@ -86,8 +86,8 @@ fn python_install() {
----- stderr -----
Searching for Python versions matching: Python 3.13
Uninstalled Python 3.13.1 in [TIME]
- cpython-3.13.1-[PLATFORM]
Uninstalled Python 3.13.2 in [TIME]
- cpython-3.13.2-[PLATFORM]
"###);
}
@ -106,8 +106,8 @@ fn python_reinstall() {
----- stderr -----
Installed 2 versions in [TIME]
+ cpython-3.12.8-[PLATFORM]
+ cpython-3.13.1-[PLATFORM]
+ cpython-3.12.9-[PLATFORM]
+ cpython-3.13.2-[PLATFORM]
"###);
// Reinstall a single version
@ -117,8 +117,8 @@ fn python_reinstall() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
~ cpython-3.13.1-[PLATFORM]
Installed Python 3.13.2 in [TIME]
~ cpython-3.13.2-[PLATFORM]
"###);
// Reinstall multiple versions
@ -129,8 +129,8 @@ fn python_reinstall() {
----- stderr -----
Installed 2 versions in [TIME]
~ cpython-3.12.8-[PLATFORM]
~ cpython-3.13.1-[PLATFORM]
~ cpython-3.12.9-[PLATFORM]
~ cpython-3.13.2-[PLATFORM]
"###);
}
@ -162,8 +162,8 @@ fn python_reinstall_patch() {
----- stdout -----
----- stderr -----
Installed Python 3.12.8 in [TIME]
+ cpython-3.12.8-[PLATFORM]
Installed Python 3.12.9 in [TIME]
+ cpython-3.12.9-[PLATFORM]
"###);
}
@ -288,8 +288,8 @@ fn python_install_preview() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM] (python, python3, python3.13)
"###);
let bin_python = context
@ -331,8 +331,8 @@ fn python_install_preview() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
~ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
Installed Python 3.13.2 in [TIME]
~ cpython-3.13.2-[PLATFORM] (python, python3, python3.13)
"###);
// The executable should still be present in the bin directory
@ -345,8 +345,8 @@ fn python_install_preview() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM] (python, python3, python3.13)
"###);
// The executable should still be present in the bin directory
@ -362,7 +362,7 @@ fn python_install_preview() {
----- stdout -----
----- stderr -----
error: Failed to install cpython-3.13.1-[PLATFORM]
error: Failed to install cpython-3.13.2-[PLATFORM]
Caused by: Executable already exists at `[BIN]/python3.13` but is not managed by uv; use `--force` to replace it
"###);
@ -372,8 +372,8 @@ fn python_install_preview() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM] (python3.13)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM] (python3.13)
"###);
bin_python.assert(predicate::path::exists());
@ -404,8 +404,8 @@ fn python_install_preview() {
----- stderr -----
Searching for Python versions matching: Python 3.13
Uninstalled Python 3.13.1 in [TIME]
- cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
Uninstalled Python 3.13.2 in [TIME]
- cpython-3.13.2-[PLATFORM] (python, python3, python3.13)
"###);
// The executable should be removed
@ -600,8 +600,8 @@ fn python_install_freethreaded() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1+freethreaded-[PLATFORM] (python3.13t)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2+freethreaded-[PLATFORM] (python3.13t)
"###);
let bin_python = context
@ -633,8 +633,8 @@ fn python_install_freethreaded() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM]
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM]
"###);
// Should not work with older Python versions
@ -655,8 +655,8 @@ fn python_install_freethreaded() {
----- stderr -----
Searching for Python installations
Uninstalled 2 versions in [TIME]
- cpython-3.13.1-[PLATFORM]
- cpython-3.13.1+freethreaded-[PLATFORM] (python3.13t)
- cpython-3.13.2-[PLATFORM]
- cpython-3.13.2+freethreaded-[PLATFORM] (python3.13t)
"###);
}
@ -734,8 +734,8 @@ fn python_install_default() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM] (python3.13)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM] (python3.13)
"###);
// Only the minor versioned executable should be installed
@ -750,8 +750,8 @@ fn python_install_default() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM] (python, python3)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM] (python, python3)
"###);
// Now all the executables should be installed
@ -767,8 +767,8 @@ fn python_install_default() {
----- stderr -----
Searching for Python installations
Uninstalled Python 3.13.1 in [TIME]
- cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
Uninstalled Python 3.13.2 in [TIME]
- cpython-3.13.2-[PLATFORM] (python, python3, python3.13)
"###);
// The executables should be removed
@ -783,8 +783,8 @@ fn python_install_default() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM] (python, python3, python3.13)
"###);
// Since it's a default install, we should include all of the executables
@ -800,8 +800,8 @@ fn python_install_default() {
----- stderr -----
Searching for Python versions matching: Python 3.13
Uninstalled Python 3.13.1 in [TIME]
- cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
Uninstalled Python 3.13.2 in [TIME]
- cpython-3.13.2-[PLATFORM] (python, python3, python3.13)
"###);
// We should remove all the executables
@ -826,8 +826,8 @@ fn python_install_default() {
----- stdout -----
----- stderr -----
Installed Python 3.12.8 in [TIME]
+ cpython-3.12.8-[PLATFORM] (python, python3, python3.12)
Installed Python 3.12.9 in [TIME]
+ cpython-3.12.9-[PLATFORM] (python, python3, python3.12)
"###);
let bin_python_minor_12 = context
@ -845,7 +845,7 @@ fn python_install_default() {
filters => context.filters(),
}, {
insta::assert_snapshot!(
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.9-[PLATFORM]/bin/python3.12"
);
});
@ -853,7 +853,7 @@ fn python_install_default() {
filters => context.filters(),
}, {
insta::assert_snapshot!(
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.9-[PLATFORM]/bin/python3.12"
);
});
@ -861,7 +861,7 @@ fn python_install_default() {
filters => context.filters(),
}, {
insta::assert_snapshot!(
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.9-[PLATFORM]/bin/python3.12"
);
});
} else {
@ -897,8 +897,8 @@ fn python_install_default() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM] (python, python3, python3.13)
"###);
// All the executables should exist
@ -913,7 +913,7 @@ fn python_install_default() {
filters => context.filters(),
}, {
insta::assert_snapshot!(
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/bin/python3.13"
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.2-[PLATFORM]/bin/python3.13"
);
});
@ -921,7 +921,7 @@ fn python_install_default() {
filters => context.filters(),
}, {
insta::assert_snapshot!(
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/bin/python3.13"
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.2-[PLATFORM]/bin/python3.13"
);
});
@ -929,7 +929,7 @@ fn python_install_default() {
filters => context.filters(),
}, {
insta::assert_snapshot!(
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.9-[PLATFORM]/bin/python3.12"
);
});
@ -937,7 +937,7 @@ fn python_install_default() {
filters => context.filters(),
}, {
insta::assert_snapshot!(
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/bin/python3.13"
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.2-[PLATFORM]/bin/python3.13"
);
});
} else {
@ -1044,8 +1044,8 @@ fn python_install_preview_broken_link() {
----- stdout -----
----- stderr -----
Installed Python 3.13.1 in [TIME]
+ cpython-3.13.1-[PLATFORM] (python3.13)
Installed Python 3.13.2 in [TIME]
+ cpython-3.13.2-[PLATFORM] (python3.13)
"###);
// We should replace the broken symlink
@ -1053,7 +1053,7 @@ fn python_install_preview_broken_link() {
filters => context.filters(),
}, {
insta::assert_snapshot!(
read_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/bin/python3.13"
read_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.13.2-[PLATFORM]/bin/python3.13"
);
});
}