diff mbox series

[v2] python3: upgrade 3.14.3 -> 3.14.4

Message ID 20260409173826.3600663-1-tgamblin@baylibre.com
State New
Headers show
Series [v2] python3: upgrade 3.14.3 -> 3.14.4 | expand

Commit Message

Trevor Gamblin April 9, 2026, 5:38 p.m. UTC
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-14-4-final

Drop patches:

- 0001-gh-144787-tests-Allow-TLS-v1.2-to-be-minimum-version.patch since
  it was a backport and is now included in 3.14.4.
- 0001-test_pyrepl-skip-test_pyrepl_eio.patch, the test for which was
  determined flaky and dropped upstream in commit 9743d88334ad.

ptests look OK:

|Ran 353 tests in 74.012s
|
|OK (skipped=43)
|
|== Tests result: SUCCESS ==
|
|28 tests skipped:
|    test.test_asyncio.test_windows_events
|    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
|    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
|    test.test_gdb.test_misc test.test_gdb.test_pretty_print
|    test_android test_apple test_asdl_parser test_clinic test_devpoll
|    test_free_threading test_generated_cases test_idle test_kqueue
|    test_launcher test_msvcrt test_startfile test_tcl test_tkinter
|    test_ttk test_ttk_textonly test_turtle test_winapi
|    test_winconsoleio test_winreg test_wmi
|
|9 tests skipped (resource denied):
|    test_curses test_peg_generator test_smtpnet test_socketserver
|    test_urllib2net test_urllibnet test_winsound test_xpickle
|    test_zipfile64
|
|455 tests OK.
|
|Total duration: 3 min 42 sec
|Total tests: run=46,926 skipped=2,469
|Total test files: run=483/492 skipped=28 resource_denied=9
|Result: SUCCESS
|DURATION: 223
|END: /usr/lib/python3/ptest
|2026-04-09T14:44
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0
|root@qemux86-64:~#

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
Forgot to remove the patch files from git in v1.

 ...Allow-TLS-v1.2-to-be-minimum-version.patch | 39 -------------------
 ...001-test_pyrepl-skip-test_pyrepl_eio.patch | 29 --------------
 .../{python3_3.14.3.bb => python3_3.14.4.bb}  |  3 +-
 3 files changed, 1 insertion(+), 70 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3/0001-gh-144787-tests-Allow-TLS-v1.2-to-be-minimum-version.patch
 delete mode 100644 meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_pyrepl_eio.patch
 rename meta/recipes-devtools/python/{python3_3.14.3.bb => python3_3.14.4.bb} (99%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3/0001-gh-144787-tests-Allow-TLS-v1.2-to-be-minimum-version.patch b/meta/recipes-devtools/python/python3/0001-gh-144787-tests-Allow-TLS-v1.2-to-be-minimum-version.patch
deleted file mode 100644
index 3b0e98bf51..0000000000
--- a/meta/recipes-devtools/python/python3/0001-gh-144787-tests-Allow-TLS-v1.2-to-be-minimum-version.patch
+++ /dev/null
@@ -1,39 +0,0 @@ 
-From bcd6e2535cb0dbf72b677eb6bddb644cb035ed51 Mon Sep 17 00:00:00 2001
-From: Colin McAllister <colinmca242@gmail.com>
-Date: Fri, 13 Feb 2026 11:17:53 -0600
-Subject: [PATCH 1/1] gh-144787: [tests] Allow TLS v1.2 to be minimum version
- (GH-144790)
-
-Allow TLS v1.2 to be minimum version
-
-Updates test_min_max_version to allow TLS v1.2 to be minimum version if
-TLS 1.0 and 1.1 are disabled in OpenSSL.
-
-Upstream-Status: Backport [https://github.com/python/cpython/commit/f24009feeb78f605a3ee177d9e7cfb63d5890ee1]
-
-Signed-off-by: Colin Pinnell McAllister <colinmca242@gmail.com>
----
- Lib/test/test_ssl.py | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
-index 6023c89bca..7e9ba735b3 100644
---- a/Lib/test/test_ssl.py
-+++ b/Lib/test/test_ssl.py
-@@ -1156,7 +1156,12 @@ def test_min_max_version(self):
-         ctx.maximum_version = ssl.TLSVersion.MINIMUM_SUPPORTED
-         self.assertIn(
-             ctx.maximum_version,
--            {ssl.TLSVersion.TLSv1, ssl.TLSVersion.TLSv1_1, ssl.TLSVersion.SSLv3}
-+            {
-+                ssl.TLSVersion.TLSv1,
-+                ssl.TLSVersion.TLSv1_1,
-+                ssl.TLSVersion.TLSv1_2,
-+                ssl.TLSVersion.SSLv3,
-+            }
-         )
- 
-         ctx.minimum_version = ssl.TLSVersion.MAXIMUM_SUPPORTED
--- 
-2.49.1
-
diff --git a/meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_pyrepl_eio.patch b/meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_pyrepl_eio.patch
deleted file mode 100644
index 9fa441014a..0000000000
--- a/meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_pyrepl_eio.patch
+++ /dev/null
@@ -1,29 +0,0 @@ 
-From 79cc5e15edb5ae67832dce5dfa9e114b8740489f Mon Sep 17 00:00:00 2001
-From: Trevor Gamblin <tgamblin@baylibre.com>
-Date: Sat, 21 Mar 2026 13:14:51 -0400
-Subject: [PATCH] test_pyrepl: skip test_pyrepl_eio
-
-Upstream-Status: Inappropriate [oe-specific]
-
-This test fails intermittently on the Autobuilder, so skip it for now.
-
-Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
----
- Lib/test/test_pyrepl/test_unix_console.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Lib/test/test_pyrepl/test_unix_console.py b/Lib/test/test_pyrepl/test_unix_console.py
-index 680adbc2d96..2cc69e7807e 100644
---- a/Lib/test/test_pyrepl/test_unix_console.py
-+++ b/Lib/test/test_pyrepl/test_unix_console.py
-@@ -370,6 +370,7 @@ def test_eio_error_handling_in_restore(self, mock_tcgetattr, mock_tcsetattr):
-         # EIO error should be handled gracefully in restore()
-         console.restore()
- 
-+    @unittest.skip("skipping problematic test")
-     @unittest.skipUnless(sys.platform == "linux", "Only valid on Linux")
-     def test_repl_eio(self):
-         # Use the pty-based approach to simulate EIO error
--- 
-2.53.0
-
diff --git a/meta/recipes-devtools/python/python3_3.14.3.bb b/meta/recipes-devtools/python/python3_3.14.4.bb
similarity index 99%
rename from meta/recipes-devtools/python/python3_3.14.3.bb
rename to meta/recipes-devtools/python/python3_3.14.4.bb
index c40742fb43..f48dbc6996 100644
--- a/meta/recipes-devtools/python/python3_3.14.3.bb
+++ b/meta/recipes-devtools/python/python3_3.14.4.bb
@@ -33,15 +33,14 @@  SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
            file://0001-test_pyrepl-skip-test_unix_console.test_cursor_back_.patch \
            file://0001-test_sysconfig-skip-test_sysconfig.test_sysconfigdat.patch \
            file://0001-Skip-flaky-test_default_timeout-tests.patch \
-           file://0001-gh-144787-tests-Allow-TLS-v1.2-to-be-minimum-version.patch \
            file://0001-test_only_active_thread-skip-problematic-test.patch \
-           file://0001-test_pyrepl-skip-test_pyrepl_eio.patch \
            "
 SRC_URI:append:class-native = " \
            file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \
            "
 
 SRC_URI[sha256sum] = "a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b"
+SRC_URI[sha256sum] = "d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8"
 
 # exclude pre-releases for both python 2.x and 3.x
 UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"