python3: upgrade 3.12.8 -> 3.12.9

Release notes:
https://docs.python.org/release/3.12.9/whatsnew/changelog.html#python-3-12-9

Solves CVE-2025-0938, CVE-2024-12254 and 3 other vulnerabilities without
CVE number assigment.

Add a patch to fix failure of a new test.

(From OE-Core rev: 685b2719ae9b44c238e63942efabe52e5df7d640)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Peter Marko
2025-02-09 00:23:19 +01:00
committed by Steve Sakoman
parent 1430219d5e
commit c9c3355836
8 changed files with 67 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py
index fab124a..291dd48 100644
--- a/Lib/test/test_readline.py
+++ b/Lib/test/test_readline.py
@@ -133,6 +133,7 @@ class TestHistoryManipulation (unittest.TestCase):
@@ -141,6 +141,7 @@ class TestHistoryManipulation (unittest.TestCase):
self.assertEqual(readline.get_history_item(1), "entrée 1")
self.assertEqual(readline.get_history_item(2), "entrée 22")
@@ -28,7 +28,7 @@ index fab124a..291dd48 100644
def test_write_read_limited_history(self):
previous_length = readline.get_history_length()
self.addCleanup(readline.set_history_length, previous_length)
@@ -371,6 +372,7 @@ readline.write_history_file(history_file)
@@ -379,6 +380,7 @@ readline.write_history_file(history_file)
self.assertIn(b"done", output)