From 482bb556a984a90d4d3130d2c01caf76f628c470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 22 Jul 2025 21:52:49 +0200 Subject: [PATCH] Update to Python 3.14.0rc1 _datetime was removed from installed files via https://github.com/python/cpython/commit/ecd97caaf5923764d22f6bd29339b8416c0c1917 --- 00251-change-user-install-location.patch | 2 +- ...nly-install-wheel-in-test-venvs-when-setuptools-71.patch | 2 +- 00464-enable-pac-and-bti-protections-for-aarch64.patch | 4 ++-- python3.14.spec | 6 ++++-- sources | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/00251-change-user-install-location.patch b/00251-change-user-install-location.patch index 548a8ba..a207721 100644 --- a/00251-change-user-install-location.patch +++ b/00251-change-user-install-location.patch @@ -130,7 +130,7 @@ index f93b98dd68..f6dbd5f5c3 100644 # On Windows we want to substitute 'lib' for schemes rather # than the native value (without modifying vars, in case it diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py -index 7af3144d69..721017a1f8 100644 +index 9faabc2e25..b1532ad90b 100644 --- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py @@ -132,8 +132,19 @@ def test_get_path(self): diff --git a/00461-downstream-only-install-wheel-in-test-venvs-when-setuptools-71.patch b/00461-downstream-only-install-wheel-in-test-venvs-when-setuptools-71.patch index 8a59085..1a1a9d3 100644 --- a/00461-downstream-only-install-wheel-in-test-venvs-when-setuptools-71.patch +++ b/00461-downstream-only-install-wheel-in-test-venvs-when-setuptools-71.patch @@ -10,7 +10,7 @@ This can be removed when Fedora 41 goes EOL (or updates setuptools). 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py -index ce18518bb8..7836bb37c4 100644 +index 001ecec4dc..f3338439b7 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -2495,9 +2495,16 @@ def run_command(cmd): diff --git a/00464-enable-pac-and-bti-protections-for-aarch64.patch b/00464-enable-pac-and-bti-protections-for-aarch64.patch index 9404072..1a7acf3 100644 --- a/00464-enable-pac-and-bti-protections-for-aarch64.patch +++ b/00464-enable-pac-and-bti-protections-for-aarch64.patch @@ -22,7 +22,7 @@ hardware protections can be enabled without losing Perf unwinding. create mode 100644 Python/asm_trampoline_aarch64.h diff --git a/Python/asm_trampoline.S b/Python/asm_trampoline.S -index 616752459b..ec205a08ef 100644 +index a14e68c0e8..2513cde4e7 100644 --- a/Python/asm_trampoline.S +++ b/Python/asm_trampoline.S @@ -1,3 +1,5 @@ @@ -31,7 +31,7 @@ index 616752459b..ec205a08ef 100644 .text .globl _Py_trampoline_func_start # The following assembly is equivalent to: -@@ -20,10 +22,12 @@ _Py_trampoline_func_start: +@@ -21,10 +23,12 @@ _Py_trampoline_func_start: #if defined(__aarch64__) && defined(__AARCH64EL__) && !defined(__ILP32__) // ARM64 little endian, 64bit ABI // generate with aarch64-linux-gnu-gcc 12.1 diff --git a/python3.14.spec b/python3.14.spec index 08feeeb..c4f8ba2 100644 --- a/python3.14.spec +++ b/python3.14.spec @@ -46,7 +46,7 @@ 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 b4 +%global prerel rc1 %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} Release: 1%{?dist} @@ -1436,7 +1436,6 @@ CheckPython freethreading %{1}/_ctypes.%{2}.so\ %{1}/_curses.%{2}.so\ %{1}/_curses_panel.%{2}.so\ -%{1}/_datetime.%{2}.so\ %{1}/_dbm.%{2}.so\ %{1}/_gdbm.%{2}.so\ %{1}/_decimal.%{2}.so\ @@ -1737,6 +1736,9 @@ CheckPython freethreading # ====================================================== %changelog +* Tue Jul 22 2025 Miro Hrončok - 3.14.0~rc1-1 +- Update to Python 3.14.0rc1 + * Tue Jul 08 2025 Miro Hrončok - 3.14.0~b4-1 - Update to Python 3.14.0b4 diff --git a/sources b/sources index 7b805ec..4489574 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Python-3.14.0b4.tar.xz) = faaea000a474430a4ee41bdc95f9a77aa6573354698bc987a7617a6d36eae4b8e7f02ac945eb5b97df8dc62a256725ccd59fec08d4af2bd7b6e8a31ef4f92e2a +SHA512 (Python-3.14.0rc1.tar.xz) = 6f34f593713282e105f9cf0396c523f738f3e4e8c2d4bcc4051c9febff96ab521e67abfe5fd072d7f584c3afcc7acb96a42939f51259ea411308a48468f7fd4e