python3: bump to version 3.14.4
authorAlexandru Ardelean <redacted>
Wed, 15 Apr 2026 15:24:45 +0000 (18:24 +0300)
committerAlexandru Ardelean <redacted>
Thu, 16 Apr 2026 18:48:56 +0000 (21:48 +0300)
Also add no-mips16 to PKG_BUILD_FLAGS.
Should fix mipsel_24kc_24kf builds.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python3-version.mk
lang/python/python3/Makefile
lang/python/python3/patches/004-do-not-write-bytes-codes.patch
lang/python/python3/patches/024-musl-find_library.patch
lang/python/python3/patches/027-fix-host-build-libressl.patch

index 92e7789610946649393c9b51bac785c521dc66be..ac88200279a16b69faeb722a0a388c0cdb28ea9c 100644 (file)
@@ -8,9 +8,9 @@
 # Note: keep in sync with pip
 PYTHON3_VERSION_MAJOR:=3
 PYTHON3_VERSION_MINOR:=14
-PYTHON3_VERSION_MICRO:=3
+PYTHON3_VERSION_MICRO:=4
 
 PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
 
 PYTHON3_PIP_PKG_RELEASE:=1
-PYTHON3_PIP_VERSION:=25.3
+PYTHON3_PIP_VERSION:=26.0.1
index c44b27dc7bd840febe5f5b8c34f93b5560f72116..2d01515a6fbae212f188019c01b02faf08e15e9f 100644 (file)
@@ -11,12 +11,12 @@ include $(TOPDIR)/rules.mk
 include ../python3-version.mk
 
 PKG_NAME:=python3
-PKG_RELEASE:=3
+PKG_RELEASE:=1
 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:=a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b
+PKG_HASH:=d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8
 
 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 PKG_LICENSE:=Python-2.0.1 0BSD
@@ -35,7 +35,7 @@ PKG_BUILD_PARALLEL:=1
 HOST_BUILD_PARALLEL:=1
 # LTO is handled here individually, see --with-lto below
 # "no-lto" prevents CONFIG_USE_LTO to add additional and interfering flags
-PKG_BUILD_FLAGS:=no-lto
+PKG_BUILD_FLAGS:=no-mips16 no-lto
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/Python-$(PKG_VERSION)
 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION)
index c525ee0810141e98feacc54fc98a1c48f8684d19..5258af827bbbc898ebd846adf2dd73ed19fc6909 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Python/initconfig.c
 +++ b/Python/initconfig.c
-@@ -474,7 +474,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
+@@ -475,7 +475,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
  int Py_BytesWarningFlag = 0; /* Warn on str(bytes) and str(buffer) */
  int Py_FrozenFlag = 0; /* Needed by getpath.c */
  int Py_IgnoreEnvironmentFlag = 0; /* e.g. PYTHONPATH, PYTHONHOME */
index 959ee5208568ad30a1adb7037b5ab6d0d7626a64..c247c6e8a84b62280e0fc6aed61f9b12a771a32f 100644 (file)
@@ -5,7 +5,7 @@ https://git.alpinelinux.org/aports/tree/main/python2/musl-find_library.patch
 
 --- a/Lib/ctypes/util.py
 +++ b/Lib/ctypes/util.py
-@@ -195,6 +195,8 @@ elif sys.platform == "emscripten":
+@@ -201,6 +201,8 @@ elif sys.platform == "emscripten":
  elif os.name == "posix":
      # Andreas Degert's find functions, using gcc, /sbin/ldconfig, objdump
      import re, tempfile
@@ -14,7 +14,7 @@ https://git.alpinelinux.org/aports/tree/main/python2/musl-find_library.patch
  
      def _is_elf(filename):
          "Return True if the given file is an ELF file"
-@@ -371,6 +373,57 @@ elif os.name == "posix":
+@@ -377,6 +379,57 @@ elif os.name == "posix":
          def find_library(name, is64 = False):
              return _get_soname(_findLib_crle(name, is64) or _findLib_gcc(name))
  
index 439dae92a5f81577e3cdab2c49dc752e92713336..07c16dfc453b0b71e2cd6d096109698e9d611d46 100644 (file)
@@ -12,7 +12,7 @@
  
  struct py_ssl_error_code {
      const char *mnemonic;
-@@ -4896,7 +4899,11 @@ _ssl__SSLContext_cert_store_stats_impl(P
+@@ -4898,7 +4901,11 @@ _ssl__SSLContext_cert_store_stats_impl(P
      int x509 = 0, crl = 0, ca = 0, i;
  
      store = SSL_CTX_get_cert_store(self->ctx);
@@ -24,7 +24,7 @@
      if (objs == NULL) {
          PyErr_SetString(PyExc_MemoryError, "failed to query cert store");
          return NULL;
-@@ -4952,7 +4959,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL
+@@ -4954,7 +4961,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL
      }
  
      store = SSL_CTX_get_cert_store(self->ctx);
git clone https://git.99rst.org/PROJECT