mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-31 07:47:27 +00:00
Sync latest Python releases (#9696)
Automated update for Python releases. --------- Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com> Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
7a885eaa09
commit
94a1d667dc
3 changed files with 2330 additions and 55 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -22,8 +22,8 @@ fn python_install() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM]
|
+ cpython-3.13.1-[PLATFORM]
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
@ -60,8 +60,8 @@ fn python_install() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
~ cpython-3.13.0-[PLATFORM]
|
~ cpython-3.13.1-[PLATFORM]
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// Uninstallation requires an argument
|
// Uninstallation requires an argument
|
||||||
|
@ -86,8 +86,8 @@ fn python_install() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.13
|
Searching for Python versions matching: Python 3.13
|
||||||
Uninstalled Python 3.13.0 in [TIME]
|
Uninstalled Python 3.13.1 in [TIME]
|
||||||
- cpython-3.13.0-[PLATFORM]
|
- cpython-3.13.1-[PLATFORM]
|
||||||
"###);
|
"###);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -104,8 +104,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM] (python, python3, python3.13)
|
+ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
@ -148,8 +148,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
~ cpython-3.13.0-[PLATFORM] (python, python3, python3.13)
|
~ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// The executable should still be present in the bin directory
|
// The executable should still be present in the bin directory
|
||||||
|
@ -162,8 +162,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM] (python, python3, python3.13)
|
+ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// The executable should still be present in the bin directory
|
// The executable should still be present in the bin directory
|
||||||
|
@ -179,7 +179,7 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
error: Failed to install cpython-3.13.0-[PLATFORM]
|
error: Failed to install cpython-3.13.1-[PLATFORM]
|
||||||
Caused by: Executable already exists at `[TEMP_DIR]/bin/python3.13` but is not managed by uv; use `--force` to replace it
|
Caused by: Executable already exists at `[TEMP_DIR]/bin/python3.13` but is not managed by uv; use `--force` to replace it
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
|
@ -189,8 +189,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM] (python3.13)
|
+ cpython-3.13.1-[PLATFORM] (python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
bin_python.assert(predicate::path::exists());
|
bin_python.assert(predicate::path::exists());
|
||||||
|
@ -221,15 +221,15 @@ fn python_install_preview() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.13
|
Searching for Python versions matching: Python 3.13
|
||||||
Uninstalled Python 3.13.0 in [TIME]
|
Uninstalled Python 3.13.1 in [TIME]
|
||||||
- cpython-3.13.0-[PLATFORM] (python, python3, python3.13)
|
- cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// The executable should be removed
|
// The executable should be removed
|
||||||
bin_python.assert(predicate::path::missing());
|
bin_python.assert(predicate::path::missing());
|
||||||
|
|
||||||
// Install multiple patch versions
|
// Install multiple patch versions
|
||||||
uv_snapshot!(context.filters(), context.python_install().arg("--preview").arg("3.12.7").arg("3.12.6"), @r###"
|
uv_snapshot!(context.filters(), context.python_install().arg("--preview").arg("3.12.8").arg("3.12.6"), @r###"
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
@ -237,7 +237,7 @@ fn python_install_preview() {
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed 2 versions in [TIME]
|
Installed 2 versions in [TIME]
|
||||||
+ cpython-3.12.6-[PLATFORM]
|
+ cpython-3.12.6-[PLATFORM]
|
||||||
+ cpython-3.12.7-[PLATFORM] (python3.12)
|
+ cpython-3.12.8-[PLATFORM] (python3.12)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
@ -251,7 +251,7 @@ fn python_install_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/bin/python3.12"
|
read_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -259,7 +259,7 @@ fn python_install_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/python"
|
read_link_path(&bin_python), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -417,8 +417,8 @@ fn python_install_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0+freethreaded-[PLATFORM] (python3.13t)
|
+ cpython-3.13.1+freethreaded-[PLATFORM] (python3.13t)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
@ -451,8 +451,8 @@ fn python_install_freethreaded() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM]
|
+ cpython-3.13.1-[PLATFORM]
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// Should not work with older Python versions
|
// Should not work with older Python versions
|
||||||
|
@ -473,8 +473,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.0-[PLATFORM]
|
- cpython-3.13.1-[PLATFORM]
|
||||||
- cpython-3.13.0+freethreaded-[PLATFORM] (python3.13t)
|
- cpython-3.13.1+freethreaded-[PLATFORM] (python3.13t)
|
||||||
"###);
|
"###);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -553,8 +553,8 @@ fn python_install_default() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM] (python3.13)
|
+ cpython-3.13.1-[PLATFORM] (python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// Only the minor versioned executable should be installed
|
// Only the minor versioned executable should be installed
|
||||||
|
@ -569,8 +569,8 @@ fn python_install_default() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM] (python, python3)
|
+ cpython-3.13.1-[PLATFORM] (python, python3)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// Now all the executables should be installed
|
// Now all the executables should be installed
|
||||||
|
@ -586,8 +586,8 @@ fn python_install_default() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python installations
|
Searching for Python installations
|
||||||
Uninstalled Python 3.13.0 in [TIME]
|
Uninstalled Python 3.13.1 in [TIME]
|
||||||
- cpython-3.13.0-[PLATFORM] (python, python3, python3.13)
|
- cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// The executables should be removed
|
// The executables should be removed
|
||||||
|
@ -602,8 +602,8 @@ fn python_install_default() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM] (python, python3, python3.13)
|
+ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// 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
|
||||||
|
@ -619,8 +619,8 @@ fn python_install_default() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.13
|
Searching for Python versions matching: Python 3.13
|
||||||
Uninstalled Python 3.13.0 in [TIME]
|
Uninstalled Python 3.13.1 in [TIME]
|
||||||
- cpython-3.13.0-[PLATFORM] (python, python3, python3.13)
|
- cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// We should remove all the executables
|
// We should remove all the executables
|
||||||
|
@ -645,8 +645,8 @@ fn python_install_default() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.12.7 in [TIME]
|
Installed Python 3.12.8 in [TIME]
|
||||||
+ cpython-3.12.7-[PLATFORM] (python, python3, python3.12)
|
+ cpython-3.12.8-[PLATFORM] (python, python3, python3.12)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
let bin_python_minor_12 = context
|
let bin_python_minor_12 = context
|
||||||
|
@ -665,7 +665,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/bin/python3.12"
|
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -673,7 +673,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/bin/python3.12"
|
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -681,7 +681,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/bin/python3.12"
|
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -689,7 +689,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/python"
|
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -697,7 +697,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/python"
|
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -705,7 +705,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/python"
|
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -717,8 +717,8 @@ fn python_install_default() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.13.0 in [TIME]
|
Installed Python 3.13.1 in [TIME]
|
||||||
+ cpython-3.13.0-[PLATFORM] (python, python3, python3.13)
|
+ cpython-3.13.1-[PLATFORM] (python, python3, python3.13)
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
// All the executables should exist
|
// All the executables should exist
|
||||||
|
@ -733,7 +733,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.0-[PLATFORM]/bin/python3.13"
|
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/bin/python3.13"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -741,7 +741,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.0-[PLATFORM]/bin/python3.13"
|
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/bin/python3.13"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -749,7 +749,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/bin/python3.12"
|
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -757,7 +757,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.0-[PLATFORM]/bin/python3.13"
|
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/bin/python3.13"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -765,7 +765,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.0-[PLATFORM]/python"
|
read_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -773,7 +773,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.0-[PLATFORM]/python"
|
read_link_path(&bin_python_minor_13), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -781,7 +781,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.7-[PLATFORM]/python"
|
read_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.8-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -789,7 +789,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.0-[PLATFORM]/python"
|
read_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.13.1-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue