From b8a809b1cc74db2f3eccf96340c0daa79dca8884ed60cf23fe69e8597e65d906 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 10 Oct 2024 11:18:53 +0000 Subject: [PATCH] - Add warning about no-GIL builds being experimental. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=58 --- python313.changes | 5 +++++ python313.spec | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/python313.changes b/python313.changes index 35221a2..ba5bdc5 100644 --- a/python313.changes +++ b/python313.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 10 11:18:19 UTC 2024 - Matej Cepl + +- Add warning about no-GIL builds being experimental. + ------------------------------------------------------------------- Tue Oct 8 07:08:34 UTC 2024 - Matej Cepl diff --git a/python313.spec b/python313.spec index 2e6391a..0dd92b8 100644 --- a/python313.spec +++ b/python313.spec @@ -305,6 +305,12 @@ Installing "python3" is sufficient for the vast majority of usecases. In addition, recommended packages provide UI toolkit support (python3-curses, python3-tk), legacy UNIX database bindings (python3-dbm), and the IDLE development environment (python3-idle). +%if %{with GIL} + +This package has been built with the Global Interpreter Lock removed. +This feature is still considered to be experimental. This package is +not ready to be used in production environments. +%endif %package -n %{python_pkg_name}-tk Summary: TkInter, a Python Tk Interface @@ -420,6 +426,12 @@ This package contains the interpreter core and most commonly used modules from the standard library. This is sufficient for many usecases, but it excludes components that depend on external libraries, most notably XML, database and UI toolkits support. +%if %{with GIL} + +This package has been built with the Global Interpreter Lock removed. +This feature is still considered to be experimental. This package is +not ready to be used in production environments. +%endif %package -n %{python_pkg_name}-tools Summary: Python Utility and Demonstration Scripts