From 2dd8922f1806935dea3aea6364e996c408e9394d4c589e09913daea88e0c9b47 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 10 May 2025 09:46:32 +0000 Subject: [PATCH] - Disabled GIL and experimental JIT cannot be combined. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python314?expand=0&rev=54 --- python314.changes | 1 + python314.spec | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/python314.changes b/python314.changes index 90eb453..47e5a0c 100644 --- a/python314.changes +++ b/python314.changes @@ -617,6 +617,7 @@ Fri May 9 08:36:50 UTC 2025 - Matej Cepl in performance. - gh-132026: Fix use of undefined identifiers in platform triplet detection on MIPS Linux platforms. +- Disabled GIL and experimental JIT cannot be combined. ------------------------------------------------------------------- Sat Apr 12 21:50:29 UTC 2025 - Matej Cepl diff --git a/python314.spec b/python314.spec index fabbc93..a693fa0 100644 --- a/python314.spec +++ b/python314.spec @@ -64,6 +64,10 @@ %if 0%{?suse_version} <= 1600 %bcond_with experimental_jit %else +# Doesn’t work with GIL support disabled +%if %{without GIL} +%bcond_with experimental_jit +%else # Currently supported architectures # https://peps.python.org/pep-0744/#support %ifarch x86_64 %{x86_64} aarch64 @@ -72,6 +76,7 @@ %bcond_with experimental_jit %endif %endif +%endif # Only for Tumbleweed # https://en.opensuse.org/openSUSE:Python:Externally_managed