Files
packages/lang/python/python3/patches/025-choose-python-config-version.patch
T
Josef Schlehofer a149847ebe python3: update to 3.13.15
Update to the latest 3.13 bugfix release.

Bump PYTHON3_PIP_VERSION to 26.2.1 to match the pip wheel bundled in
ensurepip, which the host build checks for. This pip also fixes
CVE-2026-3219 in the host pip.

Drop 100-test_hashlib-better-handle-support-for-SHA3.patch, which is
included upstream since 3.13.10 (gh-141907).

Refresh the other patches. Only the hunk offsets changed, and the
changed patches get the git headers they have in master.

The bundled libexpat, which the target build uses, goes from 2.7.3 to
2.8.2.

Fixes CVEs:
CVE-2025-6075, CVE-2025-8291, CVE-2025-11468, CVE-2025-12084,
CVE-2025-13462, CVE-2025-13836, CVE-2025-13837, CVE-2025-15282,
CVE-2025-15366, CVE-2026-0672, CVE-2026-0864, CVE-2026-0865,
CVE-2026-1299, CVE-2026-1502, CVE-2026-2297, CVE-2026-3276,
CVE-2026-3446, CVE-2026-3644, CVE-2026-4224, CVE-2026-4360,
CVE-2026-4519, CVE-2026-4786, CVE-2026-6019, CVE-2026-6100,
CVE-2026-6879, CVE-2026-7210, CVE-2026-7774, CVE-2026-8328,
CVE-2026-9669, CVE-2026-11940, CVE-2026-11972, CVE-2026-12003,
CVE-2026-15308, CVE-2026-18503, CVE-2026-45186

Release notes:
https://docs.python.org/release/3.13.15/whatsnew/changelog.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-09-28 14:02:36 +03:00

17 lines
617 B
Diff

From 18330902a0ca1b162e1ae938d8024cfb7e7c524d Mon Sep 17 00:00:00 2001
From: Jeffery To <jeffery.to@gmail.com>
Date: Tue, 16 Feb 2021 22:23:50 +0800
Subject: [PATCH] Choose python-config version
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2601,7 +2601,7 @@ python-config: $(srcdir)/Misc/python-con
@ # On Darwin, always use the python version of the script, the shell
@ # version doesn't use the compiler customizations that are provided
@ # in python (_osx_support.py).
- @if test `uname -s` = Darwin; then \
+ @if test "$(USE_PYTHON_CONFIG_PY)" = 1; then \
cp python-config.py python-config; \
fi