python3: upgrade 3.13.7 -> 3.13.9

Drop upstreamed patch and refresh remaining patches.

Release information:
* https://www.python.org/downloads/release/python-3138/
* 3.13.8 is the eighth maintenance release of 3.13, containing around
  200 bugfixes, build improvements and documentation changes since
  3.13.7.

* https://www.python.org/downloads/release/python-3139/
* This Python 3.13.9, a maintenance release for Python 3.13.
* 3.13.9 is an expedited release containing a fix for one specific
  regression in Python 3.13.8

(From OE-Core rev: 78d83ced968a46579cff8bfa0b4f462689c46c00)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Marko
2025-10-16 22:40:58 +02:00
committed by Richard Purdie
parent a9e529cd5e
commit 5428cad7d8
5 changed files with 5 additions and 30 deletions

View File

@@ -1441,8 +1441,8 @@ index eae0e0c..fb06f63 100755
+++ b/Tools/ssl/multissltests.py
@@ -51,6 +51,7 @@ OPENSSL_RECENT_VERSIONS = [
"3.1.7",
"3.2.3",
"3.3.2",
"3.2.6",
"3.3.5",
+ "3.4.0",
]

View File

@@ -25,7 +25,7 @@ diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index 1ade492..4e94889 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -423,7 +423,7 @@ class TestSysConfig(unittest.TestCase):
@@ -430,7 +430,7 @@ class TestSysConfig(unittest.TestCase):
expected = os.path.normpath(global_path.replace(base, user, 1))
# bpo-44860: platlib of posix_user doesn't use sys.platlibdir,
# whereas posix_prefix does.

View File

@@ -1,24 +0,0 @@
From 2dc5e9f4c82888dbe21bd1eadb4b59b0efa9608c Mon Sep 17 00:00:00 2001
From: Zachary Ware <zach@python.org>
Date: Sat, 6 Sep 2025 13:20:12 -0500
Subject: [PATCH] gh-90548: Skip NODEV portion of test_makedev when linked to musl
Upstream-Status: Backport [https://github.com/python/cpython/pull/138593]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Lib/test/test_posix.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index c9cbe15..bfc1e2b 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -757,7 +757,7 @@ class PosixTester(unittest.TestCase):
self.assertRaises((ValueError, OverflowError), posix.makedev, x, minor)
self.assertRaises((ValueError, OverflowError), posix.makedev, major, x)
- if sys.platform == 'linux':
+ if sys.platform == 'linux' and not support.linked_to_musl():
NODEV = -1
self.assertEqual(posix.major(NODEV), NODEV)
self.assertEqual(posix.minor(NODEV), NODEV)

View File

@@ -34,7 +34,7 @@ diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
index da4bd79..fd9e67d 100644
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -502,7 +502,7 @@ class TestRealLocales(unittest.TestCase):
@@ -501,7 +501,7 @@ class TestRealLocales(unittest.TestCase):
self.skipTest('test needs Turkish locale')
loc = locale.getlocale(locale.LC_CTYPE)
if verbose: