From 2da1bb9f6d7ee905dfb8c1e982eced9fa7143b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 6 Dec 2023 11:52:56 +0100 Subject: [PATCH] Don't build the freethreding packages on ppc64le/s390x for now See https://github.com/python/cpython/issues/112535 And https://github.com/python/cpython/pull/112624 And https://github.com/python/cpython/pull/112751 Rather than backporting a handful of small commits, let's wait for the next release. --- python3.13.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python3.13.spec b/python3.13.spec index 068fe14..1f704af 100644 --- a/python3.13.spec +++ b/python3.13.spec @@ -138,7 +138,13 @@ Provides: bundled(python3dist(packaging)) = 23 # Extra build without GIL, the freethreading PEP 703 provisional way # (the -freethreading subpackage) +# support for the excluded arches is being added upstream and is expected to land in 3.13.0a3 +# https://github.com/python/cpython/issues/112535 +%ifnarch ppc64le s390x %bcond_without freethreading_build +%else +%bcond_with freethreading_build +%endif # Support for the GDB debugger %bcond_without gdb_hooks @@ -1656,6 +1662,7 @@ CheckPython freethreading * Tue Dec 05 2023 Miro HronĨok - 3.13.0~a2-2 - Add the python3.13-freethreading and python3.13-freethreading-debug packages - See https://peps.python.org/pep-0703/ +- ppc64le and s390x are excluded for now, support is expected in 3.13.0a3 * Fri Nov 24 2023 Karolina Surma - 3.13.0~a2-1 - Update to Python 3.13.0a2