update python build standalone, unblocklist linux updates (#13732)

This commit is contained in:
Aria Desires 2025-05-30 12:33:21 -04:00 committed by GitHub
parent 7310ea75da
commit 891fe524d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1217 additions and 366 deletions

File diff suppressed because it is too large Load diff

View file

@ -64,11 +64,6 @@ VERSIONS_FILE = SELF_DIR / "download-metadata.json"
# The date at which the default CPython musl builds became dynamically linked
# instead of statically.
CPYTHON_MUSL_STATIC_RELEASE_END = 20250311
# The date at which the linux CPython builds started to have seemingly buggy runtimes
CPYTHON_BAD_LINUX_RUNTIME_START = 20250517
# This alpha was introduced in the bad linux runtime, and we don't want to show it
# only on some platforms, so hide it everywhere.
CPYTHON_HIDDEN_ALPHA = "3.14.0a7"
def batched(iterable: Iterable, n: int) -> Generator[tuple, None, None]:
@ -269,14 +264,6 @@ class CPythonFinder(Finder):
and download.triple.libc == "musl"
):
continue
if (
download.release >= CPYTHON_BAD_LINUX_RUNTIME_START
and download.triple.platform == "linux"
and download.triple.arch.family != "aarch64"
):
continue
if str(download.version) == CPYTHON_HIDDEN_ALPHA:
continue
logging.debug("Found %s (%s)", download.key(), download.filename)
downloads_by_version.setdefault(download.version, []).append(
download

View file

@ -1256,8 +1256,8 @@ fn python_install_314() {
----- stdout -----
----- stderr -----
Installed Python 3.14.0a6 in [TIME]
+ cpython-3.14.0a6-[PLATFORM]
Installed Python 3.14.0a7 in [TIME]
+ cpython-3.14.0a7-[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.0a6-[PLATFORM]/[INSTALL-BIN]/python
[TEMP_DIR]/managed/cpython-3.14.0a7-[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.0a6-[PLATFORM]/[INSTALL-BIN]/python
[TEMP_DIR]/managed/cpython-3.14.0a7-[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.0a6-[PLATFORM]/[INSTALL-BIN]/python
[TEMP_DIR]/managed/cpython-3.14.0a7-[PLATFORM]/[INSTALL-BIN]/python
----- stderr -----
");