mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-31 15:57:26 +00:00
update python build standalone, unblocklist linux updates (#13732)
This commit is contained in:
parent
7310ea75da
commit
891fe524d9
3 changed files with 1217 additions and 366 deletions
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue