diff options
| author | Peter Marko <peter.marko@siemens.com> | 2025-10-16 22:40:58 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-27 11:37:43 +0000 |
| commit | 5428cad7d8c69c0e80e67bd4bb91fa34048da8cd (patch) | |
| tree | d9d05a2ec90afdf5f33033b62bdb8afad84acd6f /meta/recipes-devtools/python | |
| parent | a9e529cd5e038d7f071675d72c39d1b37d7a8335 (diff) | |
| download | poky-5428cad7d8c69c0e80e67bd4bb91fa34048da8cd.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch | 4 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-gh-90548-Skip-NODEV-portion-of-test_makedev-when-lin.patch | 24 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.13.9.bb (renamed from meta/recipes-devtools/python/python3_3.13.7.bb) | 3 |
5 files changed, 5 insertions, 30 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch b/meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch index 075737e7d1..327124e4e3 100644 --- a/meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch +++ b/meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch | |||
| @@ -1441,8 +1441,8 @@ index eae0e0c..fb06f63 100755 | |||
| 1441 | +++ b/Tools/ssl/multissltests.py | 1441 | +++ b/Tools/ssl/multissltests.py |
| 1442 | @@ -51,6 +51,7 @@ OPENSSL_RECENT_VERSIONS = [ | 1442 | @@ -51,6 +51,7 @@ OPENSSL_RECENT_VERSIONS = [ |
| 1443 | "3.1.7", | 1443 | "3.1.7", |
| 1444 | "3.2.3", | 1444 | "3.2.6", |
| 1445 | "3.3.2", | 1445 | "3.3.5", |
| 1446 | + "3.4.0", | 1446 | + "3.4.0", |
| 1447 | ] | 1447 | ] |
| 1448 | 1448 | ||
diff --git a/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch b/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch index ab433d1836..adaca4ff77 100644 --- a/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch +++ b/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch | |||
| @@ -25,7 +25,7 @@ diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py | |||
| 25 | index 1ade492..4e94889 100644 | 25 | index 1ade492..4e94889 100644 |
| 26 | --- a/Lib/test/test_sysconfig.py | 26 | --- a/Lib/test/test_sysconfig.py |
| 27 | +++ b/Lib/test/test_sysconfig.py | 27 | +++ b/Lib/test/test_sysconfig.py |
| 28 | @@ -423,7 +423,7 @@ class TestSysConfig(unittest.TestCase): | 28 | @@ -430,7 +430,7 @@ class TestSysConfig(unittest.TestCase): |
| 29 | expected = os.path.normpath(global_path.replace(base, user, 1)) | 29 | expected = os.path.normpath(global_path.replace(base, user, 1)) |
| 30 | # bpo-44860: platlib of posix_user doesn't use sys.platlibdir, | 30 | # bpo-44860: platlib of posix_user doesn't use sys.platlibdir, |
| 31 | # whereas posix_prefix does. | 31 | # whereas posix_prefix does. |
diff --git a/meta/recipes-devtools/python/python3/0001-gh-90548-Skip-NODEV-portion-of-test_makedev-when-lin.patch b/meta/recipes-devtools/python/python3/0001-gh-90548-Skip-NODEV-portion-of-test_makedev-when-lin.patch deleted file mode 100644 index 4390e086d0..0000000000 --- a/meta/recipes-devtools/python/python3/0001-gh-90548-Skip-NODEV-portion-of-test_makedev-when-lin.patch +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | From 2dc5e9f4c82888dbe21bd1eadb4b59b0efa9608c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Zachary Ware <zach@python.org> | ||
| 3 | Date: Sat, 6 Sep 2025 13:20:12 -0500 | ||
| 4 | Subject: [PATCH] gh-90548: Skip NODEV portion of test_makedev when linked to musl | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://github.com/python/cpython/pull/138593] | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- | ||
| 9 | Lib/test/test_posix.py | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py | ||
| 13 | index c9cbe15..bfc1e2b 100644 | ||
| 14 | --- a/Lib/test/test_posix.py | ||
| 15 | +++ b/Lib/test/test_posix.py | ||
| 16 | @@ -757,7 +757,7 @@ class PosixTester(unittest.TestCase): | ||
| 17 | self.assertRaises((ValueError, OverflowError), posix.makedev, x, minor) | ||
| 18 | self.assertRaises((ValueError, OverflowError), posix.makedev, major, x) | ||
| 19 | |||
| 20 | - if sys.platform == 'linux': | ||
| 21 | + if sys.platform == 'linux' and not support.linked_to_musl(): | ||
| 22 | NODEV = -1 | ||
| 23 | self.assertEqual(posix.major(NODEV), NODEV) | ||
| 24 | self.assertEqual(posix.minor(NODEV), NODEV) | ||
diff --git a/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch b/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch index 3fc3a7e8ce..189246911b 100644 --- a/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch +++ b/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch | |||
| @@ -34,7 +34,7 @@ diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py | |||
| 34 | index da4bd79..fd9e67d 100644 | 34 | index da4bd79..fd9e67d 100644 |
| 35 | --- a/Lib/test/test_locale.py | 35 | --- a/Lib/test/test_locale.py |
| 36 | +++ b/Lib/test/test_locale.py | 36 | +++ b/Lib/test/test_locale.py |
| 37 | @@ -502,7 +502,7 @@ class TestRealLocales(unittest.TestCase): | 37 | @@ -501,7 +501,7 @@ class TestRealLocales(unittest.TestCase): |
| 38 | self.skipTest('test needs Turkish locale') | 38 | self.skipTest('test needs Turkish locale') |
| 39 | loc = locale.getlocale(locale.LC_CTYPE) | 39 | loc = locale.getlocale(locale.LC_CTYPE) |
| 40 | if verbose: | 40 | if verbose: |
diff --git a/meta/recipes-devtools/python/python3_3.13.7.bb b/meta/recipes-devtools/python/python3_3.13.9.bb index c682f1288e..2e114a6c5b 100644 --- a/meta/recipes-devtools/python/python3_3.13.7.bb +++ b/meta/recipes-devtools/python/python3_3.13.9.bb | |||
| @@ -30,13 +30,12 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ | |||
| 30 | file://0001-test_active_children-skip-problematic-test.patch \ | 30 | file://0001-test_active_children-skip-problematic-test.patch \ |
| 31 | file://0001-test_readline-skip-limited-history-test.patch \ | 31 | file://0001-test_readline-skip-limited-history-test.patch \ |
| 32 | file://0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch \ | 32 | file://0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch \ |
| 33 | file://0001-gh-90548-Skip-NODEV-portion-of-test_makedev-when-lin.patch \ | ||
| 34 | " | 33 | " |
| 35 | SRC_URI:append:class-native = " \ | 34 | SRC_URI:append:class-native = " \ |
| 36 | file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ | 35 | file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ |
| 37 | " | 36 | " |
| 38 | 37 | ||
| 39 | SRC_URI[sha256sum] = "5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a" | 38 | SRC_URI[sha256sum] = "ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66" |
| 40 | 39 | ||
| 41 | # exclude pre-releases for both python 2.x and 3.x | 40 | # exclude pre-releases for both python 2.x and 3.x |
| 42 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" | 41 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" |
