Update to Python 3.14.0

This commit is contained in:
Karolina Surma 2025-10-07 17:07:19 +02:00
commit c6a9f6fe3b
5 changed files with 13 additions and 10 deletions

View file

@ -51,7 +51,7 @@ index f932719715..e4ef914ec2 100644
if os.path.isdir(sitedir):
addsitedir(sitedir, known_paths)
diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
index f93b98dd68..f6dbd5f5c3 100644
index 2ecbff222f..7211773bad 100644
--- a/Lib/sysconfig/__init__.py
+++ b/Lib/sysconfig/__init__.py
@@ -106,6 +106,12 @@
@ -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 9faabc2e25..b1532ad90b 100644
index 09eff11179..c227815ebd 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -132,8 +132,19 @@ def test_get_path(self):
@ -154,7 +154,7 @@ index 9faabc2e25..b1532ad90b 100644
os.path.normpath(expected),
)
@@ -388,7 +399,7 @@ def test_get_config_h_filename(self):
@@ -395,7 +406,7 @@ def test_get_config_h_filename(self):
self.assertTrue(os.path.isfile(config_h), config_h)
def test_get_scheme_names(self):
@ -163,7 +163,7 @@ index 9faabc2e25..b1532ad90b 100644
if HAS_USER_BASE:
wanted.extend(['nt_user', 'osx_framework_user', 'posix_user'])
self.assertEqual(get_scheme_names(), tuple(sorted(wanted)))
@@ -400,6 +411,8 @@ def test_symlink(self): # Issue 7880
@@ -407,6 +418,8 @@ def test_symlink(self): # Issue 7880
cmd = "-c", "import sysconfig; print(sysconfig.get_platform())"
self.assertEqual(py.call_real(*cmd), py.call_link(*cmd))

View file

@ -10,10 +10,10 @@ 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 a719e49ef3..209f77d52d 100644
index 88f6110351..210ddcdbe3 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -2502,9 +2502,16 @@ def run_command(cmd):
@@ -2512,9 +2512,16 @@ def run_command(cmd):
else:
python = os.path.join(venv, 'bin', python_exe)

View file

@ -15,10 +15,10 @@ which is tested as working.
3 files changed, 10 insertions(+)
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py
index 1d56ccd71c..5ef5517828 100644
index a091430463..55ebf34c52 100644
--- a/Lib/test/test_pyexpat.py
+++ b/Lib/test/test_pyexpat.py
@@ -790,6 +790,8 @@ def start_element(name, _):
@@ -826,6 +826,8 @@ def start_element(name, _):
self.assertEqual(started, ['doc'])

View file

@ -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 rc3
#global prerel ...
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
@ -1771,6 +1771,9 @@ CheckPython freethreading
# ======================================================
%changelog
* Tue Oct 07 2025 Karolina Surma <ksurma@redhat.com> - 3.14.0-1
- Update to Python 3.14.0
* Thu Sep 18 2025 Karolina Surma <ksurma@redhat.com> - 3.14.0~rc3-1
- Update to Python 3.14.0rc3
- The .pyc magic number was bumped again

View file

@ -1 +1 @@
SHA512 (Python-3.14.0rc3.tar.xz) = 15c55660fc0168bd0f2348fa6d669352b422a626b151b7a7131eb338459e552a15908874ad872eea0eea48801d5a489647e1643bf00548fd6d9c1aff6fc2044f
SHA512 (Python-3.14.0.tar.xz) = 46e9e205c3a084cba68bf7f267ab2fd0862a05430165e0eb713f2d6b3a1a4452f72f563de5de55caea824be9df56f66dd568f4814941667a9bb0954229772c53