Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions crates/uv-python/fetch-download-metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
# 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


def batched(iterable: Iterable, n: int) -> Generator[tuple, None, None]:
Expand Down Expand Up @@ -264,6 +266,11 @@ async def _fetch_downloads(self, pages: int = 100) -> list[PythonDownload]:
and download.triple.libc == "musl"
):
continue
if (
download.release == CPYTHON_BAD_LINUX_RUNTIME_START
and download.triple.platform == "linux"
):
continue
logging.debug("Found %s (%s)", download.key(), download.filename)
downloads_by_version.setdefault(download.version, []).append(
download
Expand Down
Loading