Update to Python 3.14.0b3

- The .pyc magic number was bumped
- python3.14-freethreading is no longer provisional
This commit is contained in:
Miro Hrončok 2025-06-17 21:16:32 +02:00
commit eda37b70f4
4 changed files with 14 additions and 87 deletions

View file

@ -14,10 +14,10 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
%global general_version %{pybasever}.0
%global prerel b2
%global prerel b3
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 3%{?dist}
Release: 1%{?dist}
License: Python-2.0.1
@ -116,7 +116,7 @@ Provides: bundled(python3dist(zipp)) = 3.19.2
# (the -debug subpackages)
%bcond debug_build 1
# Extra build without GIL, the freethreading PEP 703 provisional way
# Extra build without GIL, the freethreading PEP 703 way
# (the -freethreading subpackage)
%bcond freethreading_build 1
@ -360,16 +360,6 @@ Source11: idle3.appdata.xml
# pypa/distutils integration: https://github.com/pypa/distutils/pull/70
Patch251: 00251-change-user-install-location.patch
# 00459 # 9cf6fed17de184d2e17ace2b5063e782e7e186ba
# Apply Intel Control-flow Technology for x86-64
#
# Required for mitigation against return-oriented programming (ROP) and Call or Jump Oriented Programming (COP/JOP) attacks
#
# Proposed upstream: https://github.com/python/cpython/pull/128606
#
# See also: https://sourceware.org/annobin/annobin.html/Test-cf-protection.html
Patch459: 00459-apply-intel-control-flow-technology-for-x86-64.patch
# 00461 # 920175020b21c0aff5edcc4c28d688b5061f591c
# Downstream only: Install wheel in test venvs when setuptools < 71
#
@ -689,7 +679,7 @@ The debug runtime additionally supports debug builds of C-API extensions
%if %{with freethreading_build}
# This deliberately does not use the %%{pkgname}- prefix,
# we want to call this python3.X-threading even when built as a main Python.
# At least until the PEP 703 build remains provisional.
# This build of Python is not "the main freethreading Python", there's no such thing (yet?)
%package -n python%{pybasever}-freethreading
Summary: Free Threading (PEP 703) version of the Python runtime
@ -715,7 +705,7 @@ Requires: tzdata
Requires: expat >= 2.6
%description -n python%{pybasever}-freethreading
The provisional Free Threading (PEP 703) build of Python.
The Free Threading (PEP 703) build of Python.
CPythons global interpreter lock (“GIL”) prevents multiple threads from
executing Python code at the same time. The GIL is an obstacle to using
@ -736,7 +726,7 @@ License: %{libs_license}
Requires: python%{pybasever}-freethreading%{?_isa} = %{version}-%{release}
%description -n python%{pybasever}-freethreading-debug
The provisional Free Threading (PEP 703) build of Python. Debug build.
The Free Threading (PEP 703) build of Python. Debug build.
CPythons global interpreter lock (“GIL”) prevents multiple threads from
executing Python code at the same time. The GIL is an obstacle to using
@ -1722,6 +1712,11 @@ CheckPython freethreading
# ======================================================
%changelog
* Tue Jun 17 2025 Miro Hrončok <mhroncok@redhat.com> - 3.14.0~b3-1
- Update to Python 3.14.0b3
- The .pyc magic number was bumped
- python3.14-freethreading is no longer provisional
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 3.14.0~b2-3
- Rebuilt for Python 3.14