Add CPython 3.15.0a3 (#17165)

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:
github-actions[bot]
2025-12-18 13:15:04 +00:00
committed by GitHub
parent 994b108af2
commit 1ddb646a74
4 changed files with 2042 additions and 783 deletions
@@ -11,7 +11,7 @@ use crate::ROOT_DIR;
use crate::generate_all::Mode;
/// Contains current supported targets
const TARGETS_YML_URL: &str = "https://raw.githubusercontent.com/astral-sh/python-build-standalone/refs/tags/20251209/cpython-unix/targets.yml";
const TARGETS_YML_URL: &str = "https://raw.githubusercontent.com/astral-sh/python-build-standalone/refs/tags/20251217/cpython-unix/targets.yml";
#[derive(clap::Args)]
pub(crate) struct Args {
@@ -130,7 +130,7 @@ async fn generate() -> Result<String> {
output.push_str("//! DO NOT EDIT\n");
output.push_str("//!\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/20251209/cpython-unix/targets.yml>\n");
output.push_str("//! Targets from <https://github.com/astral-sh/python-build-standalone/blob/20251217/cpython-unix/targets.yml>\n");
output.push_str("//!\n");
// Disable clippy/fmt
File diff suppressed because it is too large Load Diff
@@ -1,7 +1,7 @@
//! DO NOT EDIT
//!
//! Generated with `cargo run dev generate-sysconfig-metadata`
//! Targets from <https://github.com/astral-sh/python-build-standalone/blob/20251209/cpython-unix/targets.yml>
//! Targets from <https://github.com/astral-sh/python-build-standalone/blob/20251217/cpython-unix/targets.yml>
//!
#![allow(clippy::all)]
#![cfg_attr(any(), rustfmt::skip)]
+7 -6
View File
@@ -2447,8 +2447,8 @@ fn python_install_prerelease() {
----- stdout -----
----- stderr -----
Installed Python 3.15.0a2 in [TIME]
+ cpython-3.15.0a2-[PLATFORM] (python3.15)
Installed Python 3.15.0a3 in [TIME]
+ cpython-3.15.0a3-[PLATFORM] (python3.15)
");
// Install a specific pre-release
@@ -2458,7 +2458,8 @@ fn python_install_prerelease() {
----- stdout -----
----- stderr -----
Python 3.15a2 is already installed
Installed Python 3.15.0a2 in [TIME]
+ cpython-3.15.0a2-[PLATFORM]
");
}
@@ -2482,7 +2483,7 @@ fn python_find_prerelease() {
success: true
exit_code: 0
----- stdout -----
[TEMP_DIR]/managed/cpython-3.15.0a2-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
[TEMP_DIR]/managed/cpython-3.15.0a3-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
----- stderr -----
");
@@ -2492,7 +2493,7 @@ fn python_find_prerelease() {
success: true
exit_code: 0
----- stdout -----
[TEMP_DIR]/managed/cpython-3.15.0a2-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
[TEMP_DIR]/managed/cpython-3.15.0a3-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
----- stderr -----
");
@@ -2501,7 +2502,7 @@ fn python_find_prerelease() {
success: true
exit_code: 0
----- stdout -----
[TEMP_DIR]/managed/cpython-3.15.0a2-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
[TEMP_DIR]/managed/cpython-3.15.0a3-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
----- stderr -----
");