@@ -1,4 +1,4 @@
-From 33bf96f31c4873032ace2cc9afacc3785997527a Mon Sep 17 00:00:00 2001
+From 940b8c3daeadb3dd93dda2c9a825d93cd952c26f Mon Sep 17 00:00:00 2001
From: Paulo Neves <ptsneves@gmail.com>
Date: Tue, 7 Jun 2022 16:16:41 +0200
Subject: [PATCH] Avoid shebang overflow on python-config.py
@@ -17,10 +17,10 @@ Upstream-Status: Denied [distribution]
1 file changed, 2 insertions(+)
diff --git a/Makefile.pre.in b/Makefile.pre.in
-index fb0b525..75d2e73 100644
+index 77bf09a..6353c57 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -2335,6 +2335,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
+@@ -2339,6 +2339,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
@ # Substitution happens here, as the completely-expanded BINDIR
@ # is not available in configure
sed -e "s,@EXENAME@,$(EXENAME)," < $(srcdir)/Misc/python-config.in >python-config.py
@@ -1,4 +1,4 @@
-From f8a664cf1fc73e381d57d6927207286059744837 Mon Sep 17 00:00:00 2001
+From e4f418ceca8be3643ff517e5ff11089a8f0808fa Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Thu, 16 Sep 2021 16:35:37 +0200
Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O
@@ -1,4 +1,4 @@
-From 71c194077bb907bfe423d3f3275f33a6c8ca0e74 Mon Sep 17 00:00:00 2001
+From 4fe9aa8b7cb0a75a50294841d0ea81101f82e5e8 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 17 Nov 2023 14:26:32 +0100
Subject: [PATCH] Lib/sysconfig.py: use prefix value from build configuration
@@ -1,4 +1,4 @@
-From ea8e486a416b90c562f3b33faa91d9d1d030be0e Mon Sep 17 00:00:00 2001
+From 0cbfddd1a03c1bd4ee1995ad5b427f4a344c6603 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed, 30 Jan 2019 12:41:04 +0100
Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
-index 7af1845..fc7ab79 100644
+index dd5e69f..381feb0 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -656,8 +656,7 @@ profile-run-stamp:
+@@ -658,8 +658,7 @@ profile-run-stamp:
# enabled.
$(MAKE) profile-gen-stamp
# Next, run the profile task to generate the profile information.
@@ -1,4 +1,4 @@
-From bafdd769330c9d49a066fb1427f451b8d253262d Mon Sep 17 00:00:00 2001
+From 1c1f88e06c486bd010f69f4e934efa137b3fa653 Mon Sep 17 00:00:00 2001
From: Yi Fan Yu <yifan.yu@windriver.com>
Date: Thu, 1 Apr 2021 13:08:37 -0700
Subject: [PATCH] Skip failing tests due to load variability on YP AB
@@ -24,7 +24,7 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
2 files changed, 5 insertions(+)
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
-index d52b10c..5f0e4e3 100644
+index e42c7ab..dff5227 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -682,6 +682,7 @@ class _TestProcess(BaseTestCase):
@@ -43,7 +43,7 @@ index d52b10c..5f0e4e3 100644
def test_timeout(self):
"""
Test wait(timeout)
-@@ -4992,6 +4994,7 @@ class TestWait(unittest.TestCase):
+@@ -5024,6 +5026,7 @@ class TestWait(unittest.TestCase):
time.sleep(period)
@support.requires_resource('walltime')
@@ -1,4 +1,4 @@
-From 37d058e841ba3bd89b5746cc5381afb014b11581 Mon Sep 17 00:00:00 2001
+From 467d275821b8ec50f860d5dfc6e7baa3e7100dae Mon Sep 17 00:00:00 2001
From: Wentao Zhang <wentao.zhang@windriver.com>
Date: Mon, 20 Mar 2023 13:39:52 +0800
Subject: [PATCH] Update test_sysconfig for posix_user purelib
@@ -1,8 +1,9 @@
-From bd0e1bf1504a5cba12133548bc49f1fcaf7b4da2 Mon Sep 17 00:00:00 2001
+From d7d0d1c71f38e9faea3d150f731e3bec902a2f50 Mon Sep 17 00:00:00 2001
From: "Miss Islington (bot)"
<31488909+miss-islington@users.noreply.github.com>
Date: Tue, 23 Jan 2024 23:02:02 +0100
-Subject: [PATCH] gh-114492: Initialize struct termios before calling tcgetattr() (GH-114495) (GH-114502)
+Subject: [PATCH] gh-114492: Initialize struct termios before calling
+ tcgetattr() (GH-114495) (GH-114502)
On Alpine Linux it could leave some field non-initialized.
(cherry picked from commit d22c066b802592932f9eb18434782299e80ca42e)
@@ -10,10 +11,10 @@ On Alpine Linux it could leave some field non-initialized.
Upstream-Status: Backport [https://github.com/python/cpython/commit/386c72d9928c51aa2c855ce592bd8022da3b407f]
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
---
.../next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst | 2 ++
- Modules/termios.c | 2 ++
- 2 files changed, 4 insertions(+)
+ 1 file changed, 2 insertions(+)
create mode 100644 Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst
diff --git a/Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst b/Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst
@@ -24,19 +25,3 @@ index 0000000..8df8299
@@ -0,0 +1,2 @@
+Make the result of :func:`termios.tcgetattr` reproducible on Alpine Linux.
+Previously it could leave a random garbage in some fields.
-diff --git a/Modules/termios.c b/Modules/termios.c
-index c3d96cc..402e6ac 100644
---- a/Modules/termios.c
-+++ b/Modules/termios.c
-@@ -84,6 +84,8 @@ termios_tcgetattr_impl(PyObject *module, int fd)
- struct termios mode;
- int r;
-
-+ /* Alpine Linux can leave some fields uninitialized. */
-+ memset(&mode, 0, sizeof(mode));
- Py_BEGIN_ALLOW_THREADS
- r = tcgetattr(fd, &mode);
- Py_END_ALLOW_THREADS
-2.43.0
-
@@ -1,4 +1,4 @@
-From 0558745601cc72c8d6d79cd691f4b82330b29d58 Mon Sep 17 00:00:00 2001
+From 9d7edebf8fd60507ecde6be23a7661d3315c4ecb Mon Sep 17 00:00:00 2001
From: Changqing Li <changqing.li@windriver.com>
Date: Mon, 22 Oct 2018 15:19:51 +0800
Subject: [PATCH] python3: use cc_basename to replace CC for checking compiler
@@ -27,7 +27,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
-index bd2be94..cb9e198 100644
+index 384718d..5a1d58b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,6 +137,7 @@ AC_CONFIG_HEADERS([pyconfig.h])
@@ -110,7 +110,7 @@ index bd2be94..cb9e198 100644
*gcc*)
if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
then
-@@ -6802,7 +6803,7 @@ if test "$ac_cv_gcc_asm_for_x87" = yes; then
+@@ -6803,7 +6804,7 @@ if test "$ac_cv_gcc_asm_for_x87" = yes; then
# Some versions of gcc miscompile inline asm:
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491
# http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
@@ -1,4 +1,4 @@
-From 23184742b009ef1a8b2c0c2d79515334d4450cb9 Mon Sep 17 00:00:00 2001
+From 4edacdc8abca9468a025242c7dcdf77774044f3e Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Fri, 15 Sep 2023 08:48:33 -0400
Subject: [PATCH] skip no_stdout_fileno test due to load variability
@@ -17,10 +17,10 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
1 file changed, 1 insertion(+)
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
-index de83b52..ba98fe8 100644
+index 4d03c46..b329b7a 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
-@@ -2300,6 +2300,7 @@ class PtyTests(unittest.TestCase):
+@@ -2326,6 +2326,7 @@ class PtyTests(unittest.TestCase):
# Check stdin/stdout error handler is used when invoking PyOS_Readline()
self.check_input_tty("prompté", b"quux\xe9", "ascii")
@@ -1,4 +1,4 @@
-From a5d429a0e1a4809c1ded7be7e45dcabeb82c53d8 Mon Sep 17 00:00:00 2001
+From 0aa22fac10fa6a6c16fe7536ddeb9b78b3904ddf Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Sun, 12 Sep 2021 21:44:36 +0200
Subject: [PATCH] sysconfig.py: use platlibdir also for purelib
@@ -1,4 +1,4 @@
-From b64c131a576a4b4f821514e711ab91b1394fb4ff Mon Sep 17 00:00:00 2001
+From 2be91d54a041f4c78988097cc3bb4817857aa0d8 Mon Sep 17 00:00:00 2001
From: Tim Orling <timothy.t.orling@intel.com>
Date: Fri, 18 Jun 2021 11:56:50 -0700
Subject: [PATCH] test_ctypes.test_find: skip without tools-sdk
@@ -16,7 +16,7 @@ Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
1 file changed, 2 insertions(+)
diff --git a/Lib/test/test_ctypes/test_find.py b/Lib/test/test_ctypes/test_find.py
-index 1ff9d01..59def26 100644
+index a41e949..eb5fe19 100644
--- a/Lib/test/test_ctypes/test_find.py
+++ b/Lib/test/test_ctypes/test_find.py
@@ -113,10 +113,12 @@ class FindLibraryLinux(unittest.TestCase):
@@ -1,4 +1,4 @@
-From ef5728f0af14da5c9f80b0f038fe5bf6d44cb0e9 Mon Sep 17 00:00:00 2001
+From 75935d37e9f8f87f2abfb0bf9f5b3932f1bc2d5a Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Mon, 5 Aug 2019 15:57:39 +0800
Subject: [PATCH] test_locale.py: correct the test output format
@@ -1,4 +1,4 @@
-From dc69a1afdb3ba619705ff71e14f19ed3142e422f Mon Sep 17 00:00:00 2001
+From 54ea9040db1be0eec81a06fb6f48f56efa18bac5 Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Fri, 6 Oct 2023 10:59:44 -0400
Subject: [PATCH] test_storlines: skip due to load variability
@@ -1,10 +1,12 @@
-From 51a048251c552d9ead29a2a3e4884c138fcf9c1c Mon Sep 17 00:00:00 2001
+From 78554136ebc9a85091bf77a96950c704dcb3db0f Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Wed, 7 Feb 2024 15:32:45 +0100
-Subject: [PATCH] test_xml_etree.py: Fix for Expat >=2.6.0 with reparse deferral
+Subject: [PATCH] test_xml_etree.py: Fix for Expat >=2.6.0 with reparse
+ deferral
Upstream-Status: Submitted [https://github.com/python/cpython/pull/115138]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
---
Lib/test/test_xml_etree.py | 10 ++++++----
.../2024-02-07-15-49-37.gh-issue-115133.WBajNr.rst | 1 +
@@ -12,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
create mode 100644 Misc/NEWS.d/next/Tests/2024-02-07-15-49-37.gh-issue-115133.WBajNr.rst
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
-index 53a4e9f..9a0119c 100644
+index b50898f..4578367 100644
--- a/Lib/test/test_xml_etree.py
+++ b/Lib/test/test_xml_etree.py
-@@ -1401,6 +1401,7 @@ class XMLPullParserTest(unittest.TestCase):
+@@ -1403,6 +1403,7 @@ class XMLPullParserTest(unittest.TestCase):
def test_simple_xml(self):
for chunk_size in (None, 1, 5):
with self.subTest(chunk_size=chunk_size):
@@ -23,7 +25,7 @@ index 53a4e9f..9a0119c 100644
parser = ET.XMLPullParser()
self.assert_event_tags(parser, [])
self._feed(parser, "<!-- comment -->\n", chunk_size)
-@@ -1410,16 +1411,17 @@ class XMLPullParserTest(unittest.TestCase):
+@@ -1412,16 +1413,17 @@ class XMLPullParserTest(unittest.TestCase):
chunk_size)
self.assert_event_tags(parser, [])
self._feed(parser, ">\n", chunk_size)
@@ -52,6 +54,3 @@ index 0000000..4dc9c13
+++ b/Misc/NEWS.d/next/Tests/2024-02-07-15-49-37.gh-issue-115133.WBajNr.rst
@@ -0,0 +1 @@
+Fix etree XMLPullParser tests for Expat >=2.6.0 with reparse deferral
-2.43.0
-
@@ -1,4 +1,4 @@
-From 1438c3694665961aa9c478727846343ad31fa133 Mon Sep 17 00:00:00 2001
+From d9c6a8bc5fa6fb5bb0a473ba95dd6db329cb0e56 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 17 Nov 2023 14:16:40 +0100
Subject: [PATCH] configure.ac: do not add a curses include path from the host
@@ -16,10 +16,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 6 deletions(-)
diff --git a/configure.ac b/configure.ac
-index d81c19a..b15b765 100644
+index c49cd4f..affdedf 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -6507,12 +6507,6 @@ AS_VAR_IF([have_panel], [no], [
+@@ -6508,12 +6508,6 @@ AS_VAR_IF([have_panel], [no], [
AC_MSG_RESULT([$have_panel (CFLAGS: $PANEL_CFLAGS, LIBS: $PANEL_LIBS)])
])
@@ -1,4 +1,4 @@
-From a56778372fe8dc7c42f5ffd911d89498c22dd064 Mon Sep 17 00:00:00 2001
+From 04ec152560559f560cb7a1efeb5009f7acda120d Mon Sep 17 00:00:00 2001
From: Mark Hatle <mark.hatle@windriver.com>
Date: Wed, 21 Sep 2011 20:55:33 -0500
Subject: [PATCH] Lib/cgi.py: Update the script as mentioned in the comment
@@ -1,4 +1,4 @@
-From 5b66463c10fec1440e977d5a21a0167862d6d79c Mon Sep 17 00:00:00 2001
+From d8381232109067a993cf759500a645b5c7b75648 Mon Sep 17 00:00:00 2001
From: Ricardo Ribalda <ricardo@ribalda.com>
Date: Tue, 18 Nov 2014 03:35:33 -0500
Subject: [PATCH] configure.ac: add CROSSPYTHONPATH into PYTHONPATH for
@@ -20,7 +20,7 @@ Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
-index cb9e198..d81c19a 100644
+index 5a1d58b..c49cd4f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,7 +165,7 @@ AC_ARG_WITH([build-python],
@@ -1,4 +1,4 @@
-From 039d5e652796b55f1132afa568c7432b6ed89afd Mon Sep 17 00:00:00 2001
+From 47d7394e9295db1fdbd515c57f0fee89cbbb14c8 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Fri, 27 May 2022 17:05:44 +0100
Subject: [PATCH] python3: Ensure stale empty python module directories don't
@@ -1,4 +1,4 @@
-From c1badb04004c78f376f77f8c41718d51947bf873 Mon Sep 17 00:00:00 2001
+From 59eb2cdd0286e82a063a9b19c853f7bcda83a6ad Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Tue, 13 Jul 2021 23:19:29 +0100
Subject: [PATCH] python3: Fix make race
@@ -18,10 +18,10 @@ Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
-index fc7ab79..fb0b525 100644
+index 381feb0..77bf09a 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -2246,7 +2246,7 @@ COMPILEALL_OPTS=-j0
+@@ -2250,7 +2250,7 @@ COMPILEALL_OPTS=-j0
TEST_MODULES=@TEST_MODULES@
.PHONY: libinstall
similarity index 99%
rename from meta/recipes-devtools/python/python3_3.12.1.bb
rename to meta/recipes-devtools/python/python3_3.12.2.bb
@@ -37,7 +37,7 @@ SRC_URI:append:class-native = " \
file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \
"
-SRC_URI[sha256sum] = "8dfb8f426fcd226657f9e2bd5f1e96e53264965176fa17d32658e873591aeb21"
+SRC_URI[sha256sum] = "be28112dac813d2053545c14bf13a16401a21877f1a69eb6ea5d84c4a0f3d870"
# exclude pre-releases for both python 2.x and 3.x
UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *python3* to *3.12.2* has Succeeded. Next steps: - apply the patch: git am 0001-python3-upgrade-3.12.1-3.12.2.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 13fc47f1698d434b644585263b0cf33764cd04f8 Mon Sep 17 00:00:00 2001 From: Upgrade Helper <auh@yoctoproject.org> Date: Thu, 15 Feb 2024 09:10:32 +0000 Subject: [PATCH] python3: upgrade 3.12.1 -> 3.12.2 --- ...shebang-overflow-on-python-config.py.patch | 6 ++--- ...e-stdin-I-O-errors-same-way-as-maste.patch | 2 +- ...-use-prefix-value-from-build-configu.patch | 2 +- ...-qemu-wrapper-when-gathering-profile.patch | 6 ++--- ...sts-due-to-load-variability-on-YP-AB.patch | 6 ++--- ...est_sysconfig-for-posix_user-purelib.patch | 2 +- ...lize-struct-termios-before-calling-t.patch | 25 ++++--------------- ...asename-to-replace-CC-for-checking-c.patch | 6 ++--- ..._fileno-test-due-to-load-variability.patch | 6 ++--- ...g.py-use-platlibdir-also-for-purelib.patch | 2 +- ...pes.test_find-skip-without-tools-sdk.patch | 4 +-- ...le.py-correct-the-test-output-format.patch | 2 +- ...orlines-skip-due-to-load-variability.patch | 2 +- ...y-Fix-for-Expat-2.6.0-with-reparse-d.patch | 15 ++++++----- ...up.py-do-not-add-a-curses-include-pa.patch | 6 ++--- .../python/python3/cgi_py.patch | 2 +- .../python/python3/crosspythonpath.patch | 4 +-- .../python3/deterministic_imports.patch | 2 +- .../python/python3/makerace.patch | 6 ++--- .../{python3_3.12.1.bb => python3_3.12.2.bb} | 2 +- 20 files changed, 46 insertions(+), 62 deletions(-) rename meta/recipes-devtools/python/{python3_3.12.1.bb => python3_3.12.2.bb} (99%)