mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Sync latest Python releases (#13848)
20250604
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com>
This commit is contained in:
parent
f168802ba4
commit
8e8b7449dc
3 changed files with 3750 additions and 101 deletions
File diff suppressed because it is too large
Load diff
|
@ -25,8 +25,8 @@ fn python_install() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM]
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
let bin_python = context
|
||||
|
@ -62,8 +62,8 @@ fn python_install() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
~ cpython-3.13.3-[PLATFORM]
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
~ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
// Uninstallation requires an argument
|
||||
|
@ -88,8 +88,8 @@ fn python_install() {
|
|||
|
||||
----- stderr -----
|
||||
Searching for Python versions matching: Python 3.13
|
||||
Uninstalled Python 3.13.3 in [TIME]
|
||||
- cpython-3.13.3-[PLATFORM]
|
||||
Uninstalled Python 3.13.4 in [TIME]
|
||||
- cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
}
|
||||
|
||||
|
@ -108,8 +108,8 @@ fn python_reinstall() {
|
|||
|
||||
----- stderr -----
|
||||
Installed 2 versions in [TIME]
|
||||
+ cpython-3.12.10-[PLATFORM]
|
||||
+ cpython-3.13.3-[PLATFORM]
|
||||
+ cpython-3.12.11-[PLATFORM]
|
||||
+ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
// Reinstall a single version
|
||||
|
@ -119,8 +119,8 @@ fn python_reinstall() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
~ cpython-3.13.3-[PLATFORM]
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
~ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
// Reinstall multiple versions
|
||||
|
@ -131,8 +131,8 @@ fn python_reinstall() {
|
|||
|
||||
----- stderr -----
|
||||
Installed 2 versions in [TIME]
|
||||
~ cpython-3.12.10-[PLATFORM]
|
||||
~ cpython-3.13.3-[PLATFORM]
|
||||
~ cpython-3.12.11-[PLATFORM]
|
||||
~ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
// Reinstalling a version that is not installed should also work
|
||||
|
@ -142,8 +142,8 @@ fn python_reinstall() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.11.12 in [TIME]
|
||||
+ cpython-3.11.12-[PLATFORM]
|
||||
Installed Python 3.11.13 in [TIME]
|
||||
+ cpython-3.11.13-[PLATFORM]
|
||||
");
|
||||
}
|
||||
|
||||
|
@ -175,8 +175,8 @@ fn python_reinstall_patch() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.12.10 in [TIME]
|
||||
+ cpython-3.12.10-[PLATFORM]
|
||||
Installed Python 3.12.11 in [TIME]
|
||||
+ cpython-3.12.11-[PLATFORM]
|
||||
");
|
||||
}
|
||||
|
||||
|
@ -336,8 +336,8 @@ fn python_install_preview() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM] (python, python3, python3.13)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM] (python, python3, python3.13)
|
||||
");
|
||||
|
||||
let bin_python = context
|
||||
|
@ -379,8 +379,8 @@ fn python_install_preview() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
~ cpython-3.13.3-[PLATFORM] (python, python3, python3.13)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
~ cpython-3.13.4-[PLATFORM] (python, python3, python3.13)
|
||||
");
|
||||
|
||||
// The executable should still be present in the bin directory
|
||||
|
@ -393,8 +393,8 @@ fn python_install_preview() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM] (python, python3, python3.13)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM] (python, python3, python3.13)
|
||||
");
|
||||
|
||||
// The executable should still be present in the bin directory
|
||||
|
@ -410,7 +410,7 @@ fn python_install_preview() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
error: Failed to install cpython-3.13.3-[PLATFORM]
|
||||
error: Failed to install cpython-3.13.4-[PLATFORM]
|
||||
Caused by: Executable already exists at `[BIN]/python3.13` but is not managed by uv; use `--force` to replace it
|
||||
");
|
||||
|
||||
|
@ -420,8 +420,8 @@ fn python_install_preview() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM] (python3.13)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM] (python3.13)
|
||||
");
|
||||
|
||||
bin_python.assert(predicate::path::exists());
|
||||
|
@ -452,8 +452,8 @@ fn python_install_preview() {
|
|||
|
||||
----- stderr -----
|
||||
Searching for Python versions matching: Python 3.13
|
||||
Uninstalled Python 3.13.3 in [TIME]
|
||||
- cpython-3.13.3-[PLATFORM] (python, python3, python3.13)
|
||||
Uninstalled Python 3.13.4 in [TIME]
|
||||
- cpython-3.13.4-[PLATFORM] (python, python3, python3.13)
|
||||
");
|
||||
|
||||
// The executable should be removed
|
||||
|
@ -648,8 +648,8 @@ fn python_install_freethreaded() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3+freethreaded-[PLATFORM] (python3.13t)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4+freethreaded-[PLATFORM] (python3.13t)
|
||||
");
|
||||
|
||||
let bin_python = context
|
||||
|
@ -681,8 +681,8 @@ fn python_install_freethreaded() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM]
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
// Should not work with older Python versions
|
||||
|
@ -703,8 +703,8 @@ fn python_install_freethreaded() {
|
|||
----- stderr -----
|
||||
Searching for Python installations
|
||||
Uninstalled 2 versions in [TIME]
|
||||
- cpython-3.13.3+freethreaded-[PLATFORM] (python3.13t)
|
||||
- cpython-3.13.3-[PLATFORM]
|
||||
- cpython-3.13.4+freethreaded-[PLATFORM] (python3.13t)
|
||||
- cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
}
|
||||
|
||||
|
@ -782,8 +782,8 @@ fn python_install_default() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM] (python3.13)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM] (python3.13)
|
||||
");
|
||||
|
||||
// Only the minor versioned executable should be installed
|
||||
|
@ -798,8 +798,8 @@ fn python_install_default() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM] (python, python3)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM] (python, python3)
|
||||
");
|
||||
|
||||
// Now all the executables should be installed
|
||||
|
@ -815,8 +815,8 @@ fn python_install_default() {
|
|||
|
||||
----- stderr -----
|
||||
Searching for Python installations
|
||||
Uninstalled Python 3.13.3 in [TIME]
|
||||
- cpython-3.13.3-[PLATFORM] (python, python3, python3.13)
|
||||
Uninstalled Python 3.13.4 in [TIME]
|
||||
- cpython-3.13.4-[PLATFORM] (python, python3, python3.13)
|
||||
");
|
||||
|
||||
// The executables should be removed
|
||||
|
@ -831,8 +831,8 @@ fn python_install_default() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM] (python, python3, python3.13)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM] (python, python3, python3.13)
|
||||
");
|
||||
|
||||
// Since it's a default install, we should include all of the executables
|
||||
|
@ -848,8 +848,8 @@ fn python_install_default() {
|
|||
|
||||
----- stderr -----
|
||||
Searching for Python versions matching: Python 3.13
|
||||
Uninstalled Python 3.13.3 in [TIME]
|
||||
- cpython-3.13.3-[PLATFORM] (python, python3, python3.13)
|
||||
Uninstalled Python 3.13.4 in [TIME]
|
||||
- cpython-3.13.4-[PLATFORM] (python, python3, python3.13)
|
||||
");
|
||||
|
||||
// We should remove all the executables
|
||||
|
@ -874,8 +874,8 @@ fn python_install_default() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.12.10 in [TIME]
|
||||
+ cpython-3.12.10-[PLATFORM] (python, python3, python3.12)
|
||||
Installed Python 3.12.11 in [TIME]
|
||||
+ cpython-3.12.11-[PLATFORM] (python, python3, python3.12)
|
||||
");
|
||||
|
||||
let bin_python_minor_12 = context
|
||||
|
@ -893,7 +893,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.10-[PLATFORM]/bin/python3.12"
|
||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -901,7 +901,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.10-[PLATFORM]/bin/python3.12"
|
||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -909,7 +909,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.10-[PLATFORM]/bin/python3.12"
|
||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
||||
);
|
||||
});
|
||||
} else {
|
||||
|
@ -917,7 +917,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.10-[PLATFORM]/python"
|
||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -925,7 +925,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.10-[PLATFORM]/python"
|
||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -933,7 +933,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.10-[PLATFORM]/python"
|
||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
||||
);
|
||||
});
|
||||
}
|
||||
|
@ -945,8 +945,8 @@ fn python_install_default() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM] (python, python3, python3.13)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM] (python, python3, python3.13)
|
||||
");
|
||||
|
||||
// All the executables should exist
|
||||
|
@ -961,7 +961,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.3-[PLATFORM]/bin/python3.13"
|
||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.4-[PLATFORM]/bin/python3.13"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -969,7 +969,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.3-[PLATFORM]/bin/python3.13"
|
||||
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.4-[PLATFORM]/bin/python3.13"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -977,7 +977,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.10-[PLATFORM]/bin/python3.12"
|
||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -985,7 +985,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.3-[PLATFORM]/bin/python3.13"
|
||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.4-[PLATFORM]/bin/python3.13"
|
||||
);
|
||||
});
|
||||
} else {
|
||||
|
@ -993,7 +993,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.3-[PLATFORM]/python"
|
||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.4-[PLATFORM]/python"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -1001,7 +1001,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.3-[PLATFORM]/python"
|
||||
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.4-[PLATFORM]/python"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -1009,7 +1009,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.10-[PLATFORM]/python"
|
||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -1017,7 +1017,7 @@ fn python_install_default() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.3-[PLATFORM]/python"
|
||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.4-[PLATFORM]/python"
|
||||
);
|
||||
});
|
||||
}
|
||||
|
@ -1092,8 +1092,8 @@ fn python_install_preview_broken_link() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM] (python3.13)
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM] (python3.13)
|
||||
");
|
||||
|
||||
// We should replace the broken symlink
|
||||
|
@ -1101,7 +1101,7 @@ fn python_install_preview_broken_link() {
|
|||
filters => context.filters(),
|
||||
}, {
|
||||
insta::assert_snapshot!(
|
||||
read_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.13.3-[PLATFORM]/bin/python3.13"
|
||||
read_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.13.4-[PLATFORM]/bin/python3.13"
|
||||
);
|
||||
});
|
||||
}
|
||||
|
@ -1120,8 +1120,8 @@ fn python_install_default_from_env() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.12.10 in [TIME]
|
||||
+ cpython-3.12.10-[PLATFORM]
|
||||
Installed Python 3.12.11 in [TIME]
|
||||
+ cpython-3.12.11-[PLATFORM]
|
||||
");
|
||||
|
||||
// But prefer explicit requests
|
||||
|
@ -1131,8 +1131,8 @@ fn python_install_default_from_env() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.11.12 in [TIME]
|
||||
+ cpython-3.11.12-[PLATFORM]
|
||||
Installed Python 3.11.13 in [TIME]
|
||||
+ cpython-3.11.13-[PLATFORM]
|
||||
");
|
||||
|
||||
// We should ignore `UV_PYTHON` here and complain there is not a target
|
||||
|
@ -1159,8 +1159,8 @@ fn python_install_default_from_env() {
|
|||
----- stderr -----
|
||||
Searching for Python installations
|
||||
Uninstalled 2 versions in [TIME]
|
||||
- cpython-3.11.12-[PLATFORM]
|
||||
- cpython-3.12.10-[PLATFORM]
|
||||
- cpython-3.11.13-[PLATFORM]
|
||||
- cpython-3.12.11-[PLATFORM]
|
||||
");
|
||||
|
||||
// Uninstall with no targets should error
|
||||
|
@ -1256,8 +1256,8 @@ fn python_install_314() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.14.0a7 in [TIME]
|
||||
+ cpython-3.14.0a7-[PLATFORM]
|
||||
Installed Python 3.14.0b1 in [TIME]
|
||||
+ cpython-3.14.0b1-[PLATFORM]
|
||||
");
|
||||
|
||||
// Install a specific pre-release
|
||||
|
@ -1277,7 +1277,7 @@ fn python_install_314() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
[TEMP_DIR]/managed/cpython-3.14.0a7-[PLATFORM]/[INSTALL-BIN]/python
|
||||
[TEMP_DIR]/managed/cpython-3.14.0b1-[PLATFORM]/[INSTALL-BIN]/python
|
||||
|
||||
----- stderr -----
|
||||
");
|
||||
|
@ -1287,7 +1287,7 @@ fn python_install_314() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
[TEMP_DIR]/managed/cpython-3.14.0a7-[PLATFORM]/[INSTALL-BIN]/python
|
||||
[TEMP_DIR]/managed/cpython-3.14.0b1-[PLATFORM]/[INSTALL-BIN]/python
|
||||
|
||||
----- stderr -----
|
||||
");
|
||||
|
@ -1296,7 +1296,7 @@ fn python_install_314() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
[TEMP_DIR]/managed/cpython-3.14.0a7-[PLATFORM]/[INSTALL-BIN]/python
|
||||
[TEMP_DIR]/managed/cpython-3.14.0b1-[PLATFORM]/[INSTALL-BIN]/python
|
||||
|
||||
----- stderr -----
|
||||
");
|
||||
|
@ -1308,15 +1308,15 @@ fn python_install_314() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM]
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
uv_snapshot!(context.filters(), context.python_find().arg("3"), @r"
|
||||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
[TEMP_DIR]/managed/cpython-3.13.3-[PLATFORM]/[INSTALL-BIN]/python
|
||||
[TEMP_DIR]/managed/cpython-3.13.4-[PLATFORM]/[INSTALL-BIN]/python
|
||||
|
||||
----- stderr -----
|
||||
");
|
||||
|
@ -1348,8 +1348,8 @@ fn python_install_cached() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM]
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
let bin_python = context
|
||||
|
@ -1378,8 +1378,8 @@ fn python_install_cached() {
|
|||
|
||||
----- stderr -----
|
||||
Searching for Python versions matching: Python 3.13
|
||||
Uninstalled Python 3.13.3 in [TIME]
|
||||
- cpython-3.13.3-[PLATFORM]
|
||||
Uninstalled Python 3.13.4 in [TIME]
|
||||
- cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
// The cached archive can be installed offline
|
||||
|
@ -1392,15 +1392,15 @@ fn python_install_cached() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-[PLATFORM]
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-[PLATFORM]
|
||||
");
|
||||
|
||||
// 3.12 isn't cached, so it can't be installed
|
||||
let mut filters = context.filters();
|
||||
filters.push((
|
||||
"cpython-3.12.10.*.tar.gz",
|
||||
"cpython-3.12.10[DATE]-[PLATFORM].tar.gz",
|
||||
"cpython-3.12.*.tar.gz",
|
||||
"cpython-3.12.[PATCH]-[DATE]-[PLATFORM].tar.gz",
|
||||
));
|
||||
uv_snapshot!(filters, context
|
||||
.python_install()
|
||||
|
@ -1412,8 +1412,8 @@ fn python_install_cached() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
error: Failed to install cpython-3.12.10-[PLATFORM]
|
||||
Caused by: An offline Python installation was requested, but cpython-3.12.10[DATE]-[PLATFORM].tar.gz) is missing in python-cache
|
||||
error: Failed to install cpython-3.12.11-[PLATFORM]
|
||||
Caused by: An offline Python installation was requested, but cpython-3.12.[PATCH]-[DATE]-[PLATFORM].tar.gz) is missing in python-cache
|
||||
");
|
||||
}
|
||||
|
||||
|
@ -1429,7 +1429,7 @@ fn python_install_emulated_macos() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
cpython-3.13.3-macos-aarch64-none <download available>
|
||||
cpython-3.13.4-macos-aarch64-none <download available>
|
||||
|
||||
----- stderr -----
|
||||
");
|
||||
|
@ -1441,8 +1441,8 @@ fn python_install_emulated_macos() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-macos-x86_64-none
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-macos-x86_64-none
|
||||
");
|
||||
|
||||
// It should be discoverable with `uv python find`
|
||||
|
@ -1450,7 +1450,7 @@ fn python_install_emulated_macos() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
[TEMP_DIR]/managed/cpython-3.13.3-macos-x86_64-none/bin/python3.13
|
||||
[TEMP_DIR]/managed/cpython-3.13.4-macos-x86_64-none/bin/python3.13
|
||||
|
||||
----- stderr -----
|
||||
");
|
||||
|
@ -1460,8 +1460,8 @@ fn python_install_emulated_macos() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
cpython-3.13.3-macos-aarch64-none <download available>
|
||||
cpython-3.13.3-macos-x86_64-none managed/cpython-3.13.3-macos-x86_64-none/bin/python3.13
|
||||
cpython-3.13.4-macos-aarch64-none <download available>
|
||||
cpython-3.13.4-macos-x86_64-none managed/cpython-3.13.4-macos-x86_64-none/bin/python3.13
|
||||
|
||||
----- stderr -----
|
||||
");
|
||||
|
@ -1472,8 +1472,8 @@ fn python_install_emulated_macos() {
|
|||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Installed Python 3.13.3 in [TIME]
|
||||
+ cpython-3.13.3-macos-aarch64-none
|
||||
Installed Python 3.13.4 in [TIME]
|
||||
+ cpython-3.13.4-macos-aarch64-none
|
||||
");
|
||||
|
||||
// Once we've installed the native version, it should be preferred over x86_64
|
||||
|
@ -1481,7 +1481,7 @@ fn python_install_emulated_macos() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
[TEMP_DIR]/managed/cpython-3.13.3-macos-aarch64-none/bin/python3.13
|
||||
[TEMP_DIR]/managed/cpython-3.13.4-macos-aarch64-none/bin/python3.13
|
||||
|
||||
----- stderr -----
|
||||
");
|
||||
|
|
|
@ -365,7 +365,7 @@ fn python_list_downloads() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
cpython-3.10.17-[PLATFORM] <download available>
|
||||
cpython-3.10.18-[PLATFORM] <download available>
|
||||
pypy-3.10.16-[PLATFORM] <download available>
|
||||
graalpy-3.10.0-[PLATFORM] <download available>
|
||||
|
||||
|
@ -377,6 +377,7 @@ fn python_list_downloads() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
cpython-3.10.18-[PLATFORM] <download available>
|
||||
cpython-3.10.17-[PLATFORM] <download available>
|
||||
cpython-3.10.16-[PLATFORM] <download available>
|
||||
cpython-3.10.15-[PLATFORM] <download available>
|
||||
|
@ -422,7 +423,7 @@ fn python_list_downloads_installed() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
cpython-3.10.17-[PLATFORM] <download available>
|
||||
cpython-3.10.18-[PLATFORM] <download available>
|
||||
pypy-3.10.16-[PLATFORM] <download available>
|
||||
graalpy-3.10.0-[PLATFORM] <download available>
|
||||
|
||||
|
@ -449,7 +450,7 @@ fn python_list_downloads_installed() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
cpython-3.10.17-[PLATFORM] managed/cpython-3.10.17-[PLATFORM]/[INSTALL-BIN]/python
|
||||
cpython-3.10.18-[PLATFORM] managed/cpython-3.10.18-[PLATFORM]/[INSTALL-BIN]/python
|
||||
pypy-3.10.16-[PLATFORM] <download available>
|
||||
graalpy-3.10.0-[PLATFORM] <download available>
|
||||
|
||||
|
@ -461,7 +462,7 @@ fn python_list_downloads_installed() {
|
|||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
cpython-3.10.17-[PLATFORM] <download available>
|
||||
cpython-3.10.18-[PLATFORM] <download available>
|
||||
pypy-3.10.16-[PLATFORM] <download available>
|
||||
graalpy-3.10.0-[PLATFORM] <download available>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue