Update CPython to 3.13.2.
The package selection logic has changed to require time64 support for
uClibc by mirroring the logic from uclibc.mk (kernel headers >=5.1).
The following patches have been removed:
- Quirking ac_cv_buggy_getaddrinfo on cross compile
* This is resolved by always assuming it's not bugged via
ac_cv_buggy_getaddrinfo=no
- Disabling lib2to3 in builds
* CPython 3.13 no longer ships lib2to3
- Fix cross compiles when host and target are on the same SOABI
* This was fixed upstream [0]
- Fixing the MULTIARCH value for musl/uClibc
* CPython 3.13 moved to new platform triplet detection logic [1] which
supports musl. uClibc does not generate a platform triplet so will
not fail the check against MULTIARCH. See also [2].
One patch has been added that fixes thread identifiers on 32bit musl.
This commit also updates the license hash, after year change. See [3].
[0]: 909d5ac295
[1]: c163d7f0b6
[2]: https://github.com/python/cpython/issues/118942
[3]: c86571e4c9
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
[Julien: fix license hash]
Signed-off-by: Julien Olivain <ju.o@free.fr>
52 lines
1.4 KiB
Diff
52 lines
1.4 KiB
Diff
From 3de626186e6abeb23f0c3c0f6442058884e4a3f6 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
Date: Tue, 6 Feb 2024 22:46:59 +0100
|
|
Subject: [PATCH] configure.ac: move PY_STDLIB_MOD_SET_NA further up
|
|
|
|
We will need PY_STDLIB_MOD_SET_NA in next patches further up in the
|
|
configure.ac script.
|
|
|
|
Upstream: N/A
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
[ Vincent Fazio: ported to Python 3.13.2 ]
|
|
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
|
|
---
|
|
configure.ac | 13 ++++++-------
|
|
1 file changed, 6 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 744c5bebd39..8d56a24ffcb 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -95,6 +95,12 @@ AC_DEFUN([PY_CHECK_EMSCRIPTEN_PORT], [
|
|
AS_VAR_POPDEF([py_libs])
|
|
])
|
|
|
|
+# stdlib
|
|
+AC_DEFUN([PY_STDLIB_MOD_SET_NA], [
|
|
+ m4_foreach([mod], [$@], [
|
|
+ AS_VAR_SET([py_cv_module_]mod, [n/a])])
|
|
+])
|
|
+
|
|
AC_SUBST([BASECPPFLAGS])
|
|
if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
|
|
# If we're building out-of-tree, we need to make sure the following
|
|
@@ -7478,13 +7484,6 @@ AS_VAR_IF([ac_cv_libatomic_needed], [yes],
|
|
LIBATOMIC=${LIBATOMIC-"-latomic"}])
|
|
_RESTORE_VAR([CPPFLAGS])
|
|
|
|
-
|
|
-# stdlib
|
|
-AC_DEFUN([PY_STDLIB_MOD_SET_NA], [
|
|
- m4_foreach([mod], [$@], [
|
|
- AS_VAR_SET([py_cv_module_]mod, [n/a])])
|
|
-])
|
|
-
|
|
# stdlib not available
|
|
dnl Modules that are not available on some platforms
|
|
AS_CASE([$ac_sys_system],
|
|
--
|
|
2.34.1
|
|
|