mirror of https://github.com/astral-sh/uv
Sync latest Python releases (#16943)
Automated update for Python releases. --------- Co-authored-by: jjhelmus <1050278+jjhelmus@users.noreply.github.com> Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
c269619b1b
commit
9635258867
|
|
@ -11,7 +11,7 @@ use crate::ROOT_DIR;
|
||||||
use crate::generate_all::Mode;
|
use crate::generate_all::Mode;
|
||||||
|
|
||||||
/// Contains current supported targets
|
/// Contains current supported targets
|
||||||
const TARGETS_YML_URL: &str = "https://raw.githubusercontent.com/astral-sh/python-build-standalone/refs/tags/20251120/cpython-unix/targets.yml";
|
const TARGETS_YML_URL: &str = "https://raw.githubusercontent.com/astral-sh/python-build-standalone/refs/tags/20251205/cpython-unix/targets.yml";
|
||||||
|
|
||||||
#[derive(clap::Args)]
|
#[derive(clap::Args)]
|
||||||
pub(crate) struct Args {
|
pub(crate) struct Args {
|
||||||
|
|
@ -130,7 +130,7 @@ async fn generate() -> Result<String> {
|
||||||
output.push_str("//! DO NOT EDIT\n");
|
output.push_str("//! DO NOT EDIT\n");
|
||||||
output.push_str("//!\n");
|
output.push_str("//!\n");
|
||||||
output.push_str("//! Generated with `cargo run dev generate-sysconfig-metadata`\n");
|
output.push_str("//! Generated with `cargo run dev generate-sysconfig-metadata`\n");
|
||||||
output.push_str("//! Targets from <https://github.com/astral-sh/python-build-standalone/blob/20251120/cpython-unix/targets.yml>\n");
|
output.push_str("//! Targets from <https://github.com/astral-sh/python-build-standalone/blob/20251205/cpython-unix/targets.yml>\n");
|
||||||
output.push_str("//!\n");
|
output.push_str("//!\n");
|
||||||
|
|
||||||
// Disable clippy/fmt
|
// Disable clippy/fmt
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,7 +1,7 @@
|
||||||
//! DO NOT EDIT
|
//! DO NOT EDIT
|
||||||
//!
|
//!
|
||||||
//! Generated with `cargo run dev generate-sysconfig-metadata`
|
//! Generated with `cargo run dev generate-sysconfig-metadata`
|
||||||
//! Targets from <https://github.com/astral-sh/python-build-standalone/blob/20251120/cpython-unix/targets.yml>
|
//! Targets from <https://github.com/astral-sh/python-build-standalone/blob/20251205/cpython-unix/targets.yml>
|
||||||
//!
|
//!
|
||||||
#![allow(clippy::all)]
|
#![allow(clippy::all)]
|
||||||
#![cfg_attr(any(), rustfmt::skip)]
|
#![cfg_attr(any(), rustfmt::skip)]
|
||||||
|
|
|
||||||
|
|
@ -13259,7 +13259,7 @@ fn install_missing_python_with_target() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Using CPython 3.14.1
|
Using CPython 3.14.2
|
||||||
Resolved 3 packages in [TIME]
|
Resolved 3 packages in [TIME]
|
||||||
Prepared 3 packages in [TIME]
|
Prepared 3 packages in [TIME]
|
||||||
Installed 3 packages in [TIME]
|
Installed 3 packages in [TIME]
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,8 @@ fn python_install() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -53,7 +53,7 @@ fn python_install() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
read_link(&bin_python), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else if cfg!(windows) {
|
} else if cfg!(windows) {
|
||||||
|
|
@ -61,7 +61,7 @@ fn python_install() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
read_link(&bin_python), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -104,8 +104,8 @@ fn python_install() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
~ cpython-3.14.1-[PLATFORM] (python3.14)
|
~ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executable should still be present in the bin directory
|
// The executable should still be present in the bin directory
|
||||||
|
|
@ -133,8 +133,8 @@ fn python_install() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.14
|
Searching for Python versions matching: Python 3.14
|
||||||
Uninstalled Python 3.14.1 in [TIME]
|
Uninstalled Python 3.14.2 in [TIME]
|
||||||
- cpython-3.14.1-[PLATFORM] (python3.14)
|
- cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executable should be removed
|
// The executable should be removed
|
||||||
|
|
@ -158,7 +158,7 @@ fn python_reinstall() {
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed 2 versions in [TIME]
|
Installed 2 versions in [TIME]
|
||||||
+ cpython-3.12.12-[PLATFORM] (python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
+ cpython-3.13.10-[PLATFORM] (python3.13)
|
+ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Reinstall a single version
|
// Reinstall a single version
|
||||||
|
|
@ -168,8 +168,8 @@ fn python_reinstall() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
~ cpython-3.13.10-[PLATFORM] (python3.13)
|
~ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Reinstall multiple versions
|
// Reinstall multiple versions
|
||||||
|
|
@ -181,7 +181,7 @@ fn python_reinstall() {
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed 2 versions in [TIME]
|
Installed 2 versions in [TIME]
|
||||||
~ cpython-3.12.12-[PLATFORM] (python3.12)
|
~ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
~ cpython-3.13.10-[PLATFORM] (python3.13)
|
~ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Reinstalling a version that is not installed should also work
|
// Reinstalling a version that is not installed should also work
|
||||||
|
|
@ -390,8 +390,8 @@ fn python_install_force() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -405,8 +405,8 @@ fn python_install_force() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executable should still be present in the bin directory
|
// The executable should still be present in the bin directory
|
||||||
|
|
@ -422,7 +422,7 @@ fn python_install_force() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
warning: Failed to install executable for cpython-3.14.1-[PLATFORM]
|
warning: Failed to install executable for cpython-3.14.2-[PLATFORM]
|
||||||
Caused by: Executable already exists at `[BIN]/python3.14` but is not managed by uv; use `--force` to replace it
|
Caused by: Executable already exists at `[BIN]/python3.14` but is not managed by uv; use `--force` to replace it
|
||||||
");
|
");
|
||||||
|
|
||||||
|
|
@ -432,8 +432,8 @@ fn python_install_force() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
bin_python.assert(predicate::path::exists());
|
bin_python.assert(predicate::path::exists());
|
||||||
|
|
@ -593,8 +593,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -655,8 +655,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
~ cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
~ cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executable should still be present in the bin directory
|
// The executable should still be present in the bin directory
|
||||||
|
|
@ -669,8 +669,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executable should still be present in the bin directory
|
// The executable should still be present in the bin directory
|
||||||
|
|
@ -686,7 +686,7 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
warning: Failed to install executable for cpython-3.14.1-[PLATFORM]
|
warning: Failed to install executable for cpython-3.14.2-[PLATFORM]
|
||||||
Caused by: Executable already exists at `[BIN]/python3.14` but is not managed by uv; use `--force` to replace it
|
Caused by: Executable already exists at `[BIN]/python3.14` but is not managed by uv; use `--force` to replace it
|
||||||
");
|
");
|
||||||
|
|
||||||
|
|
@ -697,7 +697,7 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
error: Failed to install executable for cpython-3.14.1-[PLATFORM]
|
error: Failed to install executable for cpython-3.14.2-[PLATFORM]
|
||||||
Caused by: Executable already exists at `[BIN]/python3.14` but is not managed by uv; use `--force` to replace it
|
Caused by: Executable already exists at `[BIN]/python3.14` but is not managed by uv; use `--force` to replace it
|
||||||
");
|
");
|
||||||
uv_snapshot!(context.filters(), context.python_install().arg("--preview").arg("3.14").env(EnvVars::UV_PYTHON_INSTALL_BIN, "1"), @r"
|
uv_snapshot!(context.filters(), context.python_install().arg("--preview").arg("3.14").env(EnvVars::UV_PYTHON_INSTALL_BIN, "1"), @r"
|
||||||
|
|
@ -706,7 +706,7 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
error: Failed to install executable for cpython-3.14.1-[PLATFORM]
|
error: Failed to install executable for cpython-3.14.2-[PLATFORM]
|
||||||
Caused by: Executable already exists at `[BIN]/python3.14` but is not managed by uv; use `--force` to replace it
|
Caused by: Executable already exists at `[BIN]/python3.14` but is not managed by uv; use `--force` to replace it
|
||||||
");
|
");
|
||||||
|
|
||||||
|
|
@ -734,8 +734,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
bin_python.assert(predicate::path::exists());
|
bin_python.assert(predicate::path::exists());
|
||||||
|
|
@ -766,8 +766,8 @@ fn python_install_preview() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.14
|
Searching for Python versions matching: Python 3.14
|
||||||
Uninstalled Python 3.14.1 in [TIME]
|
Uninstalled Python 3.14.2 in [TIME]
|
||||||
- cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
- cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executable should be removed
|
// The executable should be removed
|
||||||
|
|
@ -869,8 +869,8 @@ fn python_install_preview_no_bin() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM]
|
+ cpython-3.14.2-[PLATFORM]
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -1077,8 +1077,8 @@ fn python_install_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10+freethreaded-[PLATFORM] (python3.13t)
|
+ cpython-3.13.11+freethreaded-[PLATFORM] (python3.13t)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -1130,7 +1130,7 @@ fn python_install_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Using CPython 3.13.10+freethreaded
|
Using CPython 3.13.11+freethreaded
|
||||||
Creating virtual environment at: .venv
|
Creating virtual environment at: .venv
|
||||||
Activate with: source .venv/[BIN]/activate
|
Activate with: source .venv/[BIN]/activate
|
||||||
");
|
");
|
||||||
|
|
@ -1189,8 +1189,8 @@ fn python_install_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-[PLATFORM] (python3.13)
|
+ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Should not work with older Python versions
|
// Should not work with older Python versions
|
||||||
|
|
@ -1211,8 +1211,8 @@ fn python_install_freethreaded() {
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python installations
|
Searching for Python installations
|
||||||
Uninstalled 2 versions in [TIME]
|
Uninstalled 2 versions in [TIME]
|
||||||
- cpython-3.13.10+freethreaded-[PLATFORM] (python3.13t)
|
- cpython-3.13.11+freethreaded-[PLATFORM] (python3.13t)
|
||||||
- cpython-3.13.10-[PLATFORM] (python3.13)
|
- cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1260,8 +1260,8 @@ fn python_install_debug() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10+debug-[PLATFORM] (python3.13d)
|
+ cpython-3.13.11+debug-[PLATFORM] (python3.13d)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -1313,8 +1313,8 @@ fn python_install_debug() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-[PLATFORM] (python3.13)
|
+ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Now we should prefer the non-debug version without opt-in
|
// Now we should prefer the non-debug version without opt-in
|
||||||
|
|
@ -1322,7 +1322,7 @@ fn python_install_debug() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.13.10-[PLATFORM]/bin/python3.13
|
[TEMP_DIR]/managed/cpython-3.13.11-[PLATFORM]/bin/python3.13
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -1367,8 +1367,8 @@ fn python_install_debug() {
|
||||||
Searching for Python installations
|
Searching for Python installations
|
||||||
Uninstalled 3 versions in [TIME]
|
Uninstalled 3 versions in [TIME]
|
||||||
- cpython-3.12.12+debug-[PLATFORM] (python3.12d)
|
- cpython-3.12.12+debug-[PLATFORM] (python3.12d)
|
||||||
- cpython-3.13.10+debug-[PLATFORM] (python3.13d)
|
- cpython-3.13.11+debug-[PLATFORM] (python3.13d)
|
||||||
- cpython-3.13.10-[PLATFORM] (python3.13)
|
- cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1389,8 +1389,8 @@ fn python_install_debug_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10+freethreaded+debug-[PLATFORM] (python3.13td)
|
+ cpython-3.13.11+freethreaded+debug-[PLATFORM] (python3.13td)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -1453,8 +1453,8 @@ fn python_install_debug_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-[PLATFORM] (python3.13)
|
+ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Should be distinct from 3.13t
|
// Should be distinct from 3.13t
|
||||||
|
|
@ -1464,8 +1464,8 @@ fn python_install_debug_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10+freethreaded-[PLATFORM] (python3.13t)
|
+ cpython-3.13.11+freethreaded-[PLATFORM] (python3.13t)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Should be distinct from 3.13d
|
// Should be distinct from 3.13d
|
||||||
|
|
@ -1475,8 +1475,8 @@ fn python_install_debug_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10+debug-[PLATFORM] (python3.13d)
|
+ cpython-3.13.11+debug-[PLATFORM] (python3.13d)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Now we should prefer the non-debug version without opt-in
|
// Now we should prefer the non-debug version without opt-in
|
||||||
|
|
@ -1484,7 +1484,7 @@ fn python_install_debug_freethreaded() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.13.10-[PLATFORM]/bin/python3.13
|
[TEMP_DIR]/managed/cpython-3.13.11-[PLATFORM]/bin/python3.13
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -1493,7 +1493,7 @@ fn python_install_debug_freethreaded() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.13.10+freethreaded-[PLATFORM]/bin/python3.13t
|
[TEMP_DIR]/managed/cpython-3.13.11+freethreaded-[PLATFORM]/bin/python3.13t
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -1516,10 +1516,10 @@ fn python_install_debug_freethreaded() {
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python installations
|
Searching for Python installations
|
||||||
Uninstalled 4 versions in [TIME]
|
Uninstalled 4 versions in [TIME]
|
||||||
- cpython-3.13.10+freethreaded+debug-[PLATFORM] (python3.13td)
|
- cpython-3.13.11+freethreaded+debug-[PLATFORM] (python3.13td)
|
||||||
- cpython-3.13.10+freethreaded-[PLATFORM] (python3.13t)
|
- cpython-3.13.11+freethreaded-[PLATFORM] (python3.13t)
|
||||||
- cpython-3.13.10+debug-[PLATFORM] (python3.13d)
|
- cpython-3.13.11+debug-[PLATFORM] (python3.13d)
|
||||||
- cpython-3.13.10-[PLATFORM] (python3.13)
|
- cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1589,8 +1589,8 @@ fn python_install_default() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Only the minor versioned executable should be installed
|
// Only the minor versioned executable should be installed
|
||||||
|
|
@ -1606,8 +1606,8 @@ fn python_install_default() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
warning: The `--default` option is experimental and may change without warning. Pass `--preview-features python-install-default` to disable this warning
|
warning: The `--default` option is experimental and may change without warning. Pass `--preview-features python-install-default` to disable this warning
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python, python3)
|
+ cpython-3.14.2-[PLATFORM] (python, python3)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Now all the executables should be installed
|
// Now all the executables should be installed
|
||||||
|
|
@ -1623,8 +1623,8 @@ fn python_install_default() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python installations
|
Searching for Python installations
|
||||||
Uninstalled Python 3.14.1 in [TIME]
|
Uninstalled Python 3.14.2 in [TIME]
|
||||||
- cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
- cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executables should be removed
|
// The executables should be removed
|
||||||
|
|
@ -1640,8 +1640,8 @@ fn python_install_default() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
warning: The `--default` option is experimental and may change without warning. Pass `--preview-features python-install-default` to disable this warning
|
warning: The `--default` option is experimental and may change without warning. Pass `--preview-features python-install-default` to disable this warning
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Since it's a default install, we should include all of the executables
|
// Since it's a default install, we should include all of the executables
|
||||||
|
|
@ -1655,7 +1655,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1663,7 +1663,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
read_link(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1671,7 +1671,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else if cfg!(windows) {
|
} else if cfg!(windows) {
|
||||||
|
|
@ -1679,7 +1679,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1687,7 +1687,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
read_link(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1695,7 +1695,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -1708,8 +1708,8 @@ fn python_install_default() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.14
|
Searching for Python versions matching: Python 3.14
|
||||||
Uninstalled Python 3.14.1 in [TIME]
|
Uninstalled Python 3.14.2 in [TIME]
|
||||||
- cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
- cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// We should remove all the executables
|
// We should remove all the executables
|
||||||
|
|
@ -1828,8 +1828,8 @@ fn python_install_default_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Only the minor versioned executable should be installed
|
// Only the minor versioned executable should be installed
|
||||||
|
|
@ -1844,8 +1844,8 @@ fn python_install_default_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python, python3)
|
+ cpython-3.14.2-[PLATFORM] (python, python3)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Now all the executables should be installed
|
// Now all the executables should be installed
|
||||||
|
|
@ -1861,8 +1861,8 @@ fn python_install_default_preview() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python installations
|
Searching for Python installations
|
||||||
Uninstalled Python 3.14.1 in [TIME]
|
Uninstalled Python 3.14.2 in [TIME]
|
||||||
- cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
- cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executables should be removed
|
// The executables should be removed
|
||||||
|
|
@ -1877,8 +1877,8 @@ fn python_install_default_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Since it's a default install, we should include all of the executables
|
// Since it's a default install, we should include all of the executables
|
||||||
|
|
@ -1895,7 +1895,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/bin/python3.14"
|
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1906,7 +1906,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/bin/python3.14"
|
read_link(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
canonicalize_link_path(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1917,7 +1917,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/bin/python3.14"
|
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else if cfg!(windows) {
|
} else if cfg!(windows) {
|
||||||
|
|
@ -1928,7 +1928,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/python"
|
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1939,7 +1939,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/python"
|
read_link(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1950,7 +1950,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/python"
|
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -1963,8 +1963,8 @@ fn python_install_default_preview() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.14
|
Searching for Python versions matching: Python 3.14
|
||||||
Uninstalled Python 3.14.1 in [TIME]
|
Uninstalled Python 3.14.2 in [TIME]
|
||||||
- cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
- cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// We should remove all the executables
|
// We should remove all the executables
|
||||||
|
|
@ -2078,8 +2078,8 @@ fn python_install_default_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python, python3, python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python, python3, python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// All the executables should exist
|
// All the executables should exist
|
||||||
|
|
@ -2094,7 +2094,7 @@ fn python_install_default_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2102,7 +2102,7 @@ fn python_install_default_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
canonicalize_link_path(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2118,7 +2118,7 @@ fn python_install_default_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14"
|
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else if cfg!(windows) {
|
} else if cfg!(windows) {
|
||||||
|
|
@ -2126,7 +2126,7 @@ fn python_install_default_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2134,7 +2134,7 @@ fn python_install_default_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_minor_14), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2150,7 +2150,7 @@ fn python_install_default_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -2242,8 +2242,8 @@ fn python_install_broken_link() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-[PLATFORM] (python3.13)
|
+ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// We should replace the broken symlink
|
// We should replace the broken symlink
|
||||||
|
|
@ -2251,7 +2251,7 @@ fn python_install_broken_link() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.13.10-[PLATFORM]/bin/python3.13"
|
canonicalize_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.13.11-[PLATFORM]/bin/python3.13"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -2513,15 +2513,15 @@ fn python_find_prerelease() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-[PLATFORM] (python3.13)
|
+ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
uv_snapshot!(context.filters(), context.python_find().arg("3"), @r"
|
uv_snapshot!(context.filters(), context.python_find().arg("3"), @r"
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.13.10-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
|
[TEMP_DIR]/managed/cpython-3.13.11-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -2554,8 +2554,8 @@ fn python_install_cached() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -2584,8 +2584,8 @@ fn python_install_cached() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.14
|
Searching for Python versions matching: Python 3.14
|
||||||
Uninstalled Python 3.14.1 in [TIME]
|
Uninstalled Python 3.14.2 in [TIME]
|
||||||
- cpython-3.14.1-[PLATFORM] (python3.14)
|
- cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The cached archive can be installed offline
|
// The cached archive can be installed offline
|
||||||
|
|
@ -2598,8 +2598,8 @@ fn python_install_cached() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// 3.12 isn't cached, so it can't be installed
|
// 3.12 isn't cached, so it can't be installed
|
||||||
|
|
@ -2644,8 +2644,8 @@ fn python_install_no_cache() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -2682,8 +2682,8 @@ fn python_install_no_cache() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
~ cpython-3.14.1-[PLATFORM] (python3.14)
|
~ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Uninstallation requires an argument
|
// Uninstallation requires an argument
|
||||||
|
|
@ -2708,8 +2708,8 @@ fn python_install_no_cache() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.14
|
Searching for Python versions matching: Python 3.14
|
||||||
Uninstalled Python 3.14.1 in [TIME]
|
Uninstalled Python 3.14.2 in [TIME]
|
||||||
- cpython-3.14.1-[PLATFORM] (python3.14)
|
- cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// 3.12 isn't cached, so it can't be installed
|
// 3.12 isn't cached, so it can't be installed
|
||||||
|
|
@ -2762,7 +2762,7 @@ fn python_install_emulated_macos() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
cpython-3.13.10-macos-aarch64-none <download available>
|
cpython-3.13.11-macos-aarch64-none <download available>
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -2774,8 +2774,8 @@ fn python_install_emulated_macos() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-macos-x86_64-none (python3.13)
|
+ cpython-3.13.11-macos-x86_64-none (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// It should be discoverable with `uv python find`
|
// It should be discoverable with `uv python find`
|
||||||
|
|
@ -2783,7 +2783,7 @@ fn python_install_emulated_macos() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.13.10-macos-x86_64-none/bin/python3.13
|
[TEMP_DIR]/managed/cpython-3.13.11-macos-x86_64-none/bin/python3.13
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -2793,8 +2793,8 @@ fn python_install_emulated_macos() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
cpython-3.13.10-macos-aarch64-none <download available>
|
cpython-3.13.11-macos-aarch64-none <download available>
|
||||||
cpython-3.13.10-macos-x86_64-none managed/cpython-3.13.10-macos-x86_64-none/bin/python3.13
|
cpython-3.13.11-macos-x86_64-none managed/cpython-3.13.11-macos-x86_64-none/bin/python3.13
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -2805,8 +2805,8 @@ fn python_install_emulated_macos() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-macos-aarch64-none
|
+ cpython-3.13.11-macos-aarch64-none
|
||||||
");
|
");
|
||||||
|
|
||||||
// Once we've installed the native version, it should be preferred over x86_64
|
// Once we've installed the native version, it should be preferred over x86_64
|
||||||
|
|
@ -2814,7 +2814,7 @@ fn python_install_emulated_macos() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.13.10-macos-aarch64-none/bin/python3.13
|
[TEMP_DIR]/managed/cpython-3.13.11-macos-aarch64-none/bin/python3.13
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -2833,7 +2833,7 @@ fn python_install_emulated_windows_x86_on_x64() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
cpython-3.13.10-windows-x86_64-none <download available>
|
cpython-3.13.11-windows-x86_64-none <download available>
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -2845,8 +2845,8 @@ fn python_install_emulated_windows_x86_on_x64() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-windows-x86-none (python3.13)
|
+ cpython-3.13.11-windows-x86-none (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// It should be discoverable with `uv python find`
|
// It should be discoverable with `uv python find`
|
||||||
|
|
@ -2854,7 +2854,7 @@ fn python_install_emulated_windows_x86_on_x64() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.13.10-windows-x86-none/python
|
[TEMP_DIR]/managed/cpython-3.13.11-windows-x86-none/python
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -2864,8 +2864,8 @@ fn python_install_emulated_windows_x86_on_x64() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
cpython-3.13.10-windows-x86_64-none <download available>
|
cpython-3.13.11-windows-x86_64-none <download available>
|
||||||
cpython-3.13.10-windows-x86-none managed/cpython-3.13.10-windows-x86-none/python
|
cpython-3.13.11-windows-x86-none managed/cpython-3.13.11-windows-x86-none/python
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -2876,8 +2876,8 @@ fn python_install_emulated_windows_x86_on_x64() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-windows-x86_64-none
|
+ cpython-3.13.11-windows-x86_64-none
|
||||||
");
|
");
|
||||||
|
|
||||||
// Once we've installed the native version, it should be preferred over x86_32
|
// Once we've installed the native version, it should be preferred over x86_32
|
||||||
|
|
@ -2885,7 +2885,7 @@ fn python_install_emulated_windows_x86_on_x64() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.13.10-windows-x86_64-none/python
|
[TEMP_DIR]/managed/cpython-3.13.11-windows-x86_64-none/python
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -3598,8 +3598,8 @@ fn python_install_pyodide() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Now, we should prefer that
|
// Now, we should prefer that
|
||||||
|
|
@ -3607,7 +3607,7 @@ fn python_install_pyodide() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
[TEMP_DIR]/managed/cpython-3.14.1-[PLATFORM]/bin/python3.14
|
[TEMP_DIR]/managed/cpython-3.14.2-[PLATFORM]/bin/python3.14
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
");
|
");
|
||||||
|
|
@ -3792,8 +3792,8 @@ fn python_install_upgrade() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Provide `--upgrade` as an `install` option without any versions again!
|
// Provide `--upgrade` as an `install` option without any versions again!
|
||||||
|
|
@ -3921,8 +3921,8 @@ fn python_install_upgrade_version_file() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.10 in [TIME]
|
Installed Python 3.13.11 in [TIME]
|
||||||
+ cpython-3.13.10-[PLATFORM] (python3.13)
|
+ cpython-3.13.11-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Provide `--upgrade` as an `install` option without any versions again!
|
// Provide `--upgrade` as an `install` option without any versions again!
|
||||||
|
|
|
||||||
|
|
@ -86,8 +86,8 @@ fn python_upgrade() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
warning: `uv python upgrade` is experimental and may change without warning. Pass `--preview-features python-upgrade` to disable this warning
|
warning: `uv python upgrade` is experimental and may change without warning. Pass `--preview-features python-upgrade` to disable this warning
|
||||||
Installed Python 3.14.1 in [TIME]
|
Installed Python 3.14.2 in [TIME]
|
||||||
+ cpython-3.14.1-[PLATFORM] (python3.14)
|
+ cpython-3.14.2-[PLATFORM] (python3.14)
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue