From 3fddbe2e07aa2355c48a86279d3fb43b322d6d1c Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 27 May 2026 19:35:52 +0300 Subject: [PATCH] python3: bump to 3.14.5 This is the latest 3.14.x point release with assorted bug fixes from upstream. PYTHON3_PIP_VERSION is bumped from 26.0.1 to 26.1.1 to match the pip wheel bundled in the 3.14.5 source tarball; the host build's ensurepip lookup of pip-$(PYTHON3_PIP_VERSION).whl otherwise fails. The set of OpenWrt-side patches still applies against the new source; only quilt context-line offsets needed refreshing for the patches that touch Makefile.pre.in. Signed-off-by: Alexandru Ardelean --- lang/python/python3-version.mk | 4 ++-- lang/python/python3/Makefile | 2 +- lang/python/python3/patches/003-do-not-run-compileall.patch | 4 ++-- .../009-don-t-run-profile-task-during-cross-build.patch | 4 ++-- .../python3/patches/025-choose-python-config-version.patch | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lang/python/python3-version.mk b/lang/python/python3-version.mk index ac88200279..698a65bf9d 100644 --- a/lang/python/python3-version.mk +++ b/lang/python/python3-version.mk @@ -8,9 +8,9 @@ # Note: keep in sync with pip PYTHON3_VERSION_MAJOR:=3 PYTHON3_VERSION_MINOR:=14 -PYTHON3_VERSION_MICRO:=4 +PYTHON3_VERSION_MICRO:=5 PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR) PYTHON3_PIP_PKG_RELEASE:=1 -PYTHON3_PIP_VERSION:=26.0.1 +PYTHON3_PIP_VERSION:=26.1.1 diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 2d01515a6f..ed80a98f97 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION) -PKG_HASH:=d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 +PKG_HASH:=7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 PKG_MAINTAINER:=Alexandru Ardelean PKG_LICENSE:=Python-2.0.1 0BSD diff --git a/lang/python/python3/patches/003-do-not-run-compileall.patch b/lang/python/python3/patches/003-do-not-run-compileall.patch index 739abb82cd..ec3ea216cb 100644 --- a/lang/python/python3/patches/003-do-not-run-compileall.patch +++ b/lang/python/python3/patches/003-do-not-run-compileall.patch @@ -1,6 +1,6 @@ --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2811,6 +2811,7 @@ libinstall: all $(srcdir)/Modules/xxmodu +@@ -2813,6 +2813,7 @@ libinstall: all $(srcdir)/Modules/xxmodu echo "Applying app store compliance patch"; \ patch --force --reject-file "$(abs_builddir)/app-store-compliance.rej" --strip 2 --directory "$(DESTDIR)$(LIBDEST)" --input "$(abs_srcdir)/$(APP_STORE_COMPLIANCE_PATCH)" || true ; \ fi @@ -8,7 +8,7 @@ @ # Build PYC files for the 3 optimization levels (0, 1, 2) -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ -@@ -2821,6 +2822,7 @@ libinstall: all $(srcdir)/Modules/xxmodu +@@ -2823,6 +2824,7 @@ libinstall: all $(srcdir)/Modules/xxmodu $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ -o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST)/site-packages -f \ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages diff --git a/lang/python/python3/patches/009-don-t-run-profile-task-during-cross-build.patch b/lang/python/python3/patches/009-don-t-run-profile-task-during-cross-build.patch index 783c911247..803227c358 100644 --- a/lang/python/python3/patches/009-don-t-run-profile-task-during-cross-build.patch +++ b/lang/python/python3/patches/009-don-t-run-profile-task-during-cross-build.patch @@ -1,6 +1,6 @@ --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -850,6 +850,7 @@ profile-gen-stamp: profile-clean-stamp +@@ -852,6 +852,7 @@ profile-gen-stamp: profile-clean-stamp # Run task with profile generation build to create profile information. profile-run-stamp: @@ -8,7 +8,7 @@ @echo "Running code to generate profile data (this can take a while):" # First, we need to create a clean build with profile generation # enabled. -@@ -863,6 +864,7 @@ profile-run-stamp: +@@ -865,6 +866,7 @@ profile-run-stamp: # This is an expensive target to build and it does not have proper # makefile dependency information. So, we create a "stamp" file # to record its completion and avoid re-running it. diff --git a/lang/python/python3/patches/025-choose-python-config-version.patch b/lang/python/python3/patches/025-choose-python-config-version.patch index a531621ee9..ca81fef889 100644 --- a/lang/python/python3/patches/025-choose-python-config-version.patch +++ b/lang/python/python3/patches/025-choose-python-config-version.patch @@ -1,6 +1,6 @@ --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2837,7 +2837,7 @@ python-config: $(srcdir)/Misc/python-con +@@ -2839,7 +2839,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).