Skip to content

Commit 813c42c

Browse files
petermarkorpurdie
authored andcommitted
python3: upgrade 3.13.3 -> 3.13.4
Refresh patches. * https://www.python.org/downloads/release/python-3134/ Security content in this release * gh-135034: [CVE 2024-12718] [CVE 2025-4138] [CVE 2025-4330] [CVE 2025-4435] [CVE 2025-4517] Fixes multiple issues that allowed tarfile extraction filters (filter="data" and filter="tar") to be bypassed using crafted symlinks and hard links. * gh-133767: Fix use-after-free in the “unicode-escape” decoder with a non-“strict” error handler. * gh-128840: Short-circuit the processing of long IPv6 addresses early in ipaddress to prevent excessive memory consumption and a minor denial-of-service. gh-133767 got meawhile CVE-2025-4516 assigned. Signed-off-by: Peter Marko <[email protected]> Signed-off-by: Mathieu Dubois-Briand <[email protected]>
1 parent 8185512 commit 813c42c

8 files changed

+14
-14
lines changed

meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in
1919
index 9ec3a71..f7d5382 100644
2020
--- a/Makefile.pre.in
2121
+++ b/Makefile.pre.in
22-
@@ -2578,6 +2578,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
22+
@@ -2585,6 +2585,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
2323
@ # Substitution happens here, as the completely-expanded BINDIR
2424
@ # is not available in configure
2525
sed -e "s,@EXENAME@,$(EXENAME)," < $(srcdir)/Misc/python-config.in >python-config.py

meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
1717
index f8e1c7d..0882526 100644
1818
--- a/Lib/sysconfig/__init__.py
1919
+++ b/Lib/sysconfig/__init__.py
20-
@@ -494,6 +494,11 @@ def _init_config_vars():
20+
@@ -501,6 +501,11 @@ def _init_config_vars():
2121
_CONFIG_VARS['VPATH'] = sys._vpath
2222
if os.name == 'posix':
2323
_init_posix(_CONFIG_VARS)

meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.
2626
index 5dae370..23eb971 100644
2727
--- a/Lib/test/_test_multiprocessing.py
2828
+++ b/Lib/test/_test_multiprocessing.py
29-
@@ -688,6 +688,7 @@ class _TestProcess(BaseTestCase):
29+
@@ -701,6 +701,7 @@ class _TestProcess(BaseTestCase):
3030
close_queue(q)
3131

3232
@support.requires_resource('walltime')
3333
+ @unittest.skip('timing related test, dependent on load')
3434
def test_many_processes(self):
3535
if self.TYPE == 'threads':
3636
self.skipTest('test not appropriate for {}'.format(self.TYPE))
37-
@@ -2211,6 +2212,7 @@ class _TestBarrier(BaseTestCase):
37+
@@ -2232,6 +2233,7 @@ class _TestBarrier(BaseTestCase):
3838
except threading.BrokenBarrierError:
3939
results.append(True)
4040

4141
+ @unittest.skip('timing related test, dependent on load')
4242
def test_timeout(self):
4343
"""
4444
Test wait(timeout)
45-
@@ -5299,6 +5301,7 @@ class TestWait(unittest.TestCase):
45+
@@ -5320,6 +5322,7 @@ class TestWait(unittest.TestCase):
4646
time.sleep(period)
4747

4848
@support.requires_resource('walltime')

meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
1919
index c5394de..ed17fb6 100644
2020
--- a/Lib/test/test_builtin.py
2121
+++ b/Lib/test/test_builtin.py
22-
@@ -2435,6 +2435,7 @@ class PtyTests(unittest.TestCase):
22+
@@ -2474,6 +2474,7 @@ class PtyTests(unittest.TestCase):
2323
"byte 0xe9 in position 4: ordinal not in "
2424
"range(128)")
2525

meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.
1717
index 23eb971..b1295b2 100644
1818
--- a/Lib/test/_test_multiprocessing.py
1919
+++ b/Lib/test/_test_multiprocessing.py
20-
@@ -585,6 +585,7 @@ class _TestProcess(BaseTestCase):
20+
@@ -594,6 +594,7 @@ class _TestProcess(BaseTestCase):
2121
self.assertTrue(type(cpus) is int)
2222
self.assertTrue(cpus >= 1)
2323

meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ Upstream-Status: Inappropriate [OE-specific]
1313

1414
Signed-off-by: Trevor Gamblin <[email protected]>
1515
---
16-
Lib/test/test_readline.py | 2 ++
17-
1 file changed, 2 insertions(+)
16+
Lib/test/test_readline.py | 3 +++
17+
1 file changed, 3 insertions(+)
1818

1919
--- a/Lib/test/test_readline.py
2020
+++ b/Lib/test/test_readline.py
21-
@@ -70,6 +70,7 @@ class TestHistoryManipulation (unittest.
21+
@@ -71,6 +71,7 @@ class TestHistoryManipulation (unittest.TestCase):
2222

2323
@unittest.skipUnless(hasattr(readline, "append_history_file"),
2424
"append_history not available")
2525
+ @unittest.skip("Skipping problematic test")
2626
def test_write_read_append(self):
2727
hfile = tempfile.NamedTemporaryFile(delete=False)
2828
hfile.close()
29-
@@ -141,6 +142,7 @@ class TestHistoryManipulation (unittest.
29+
@@ -142,6 +143,7 @@ class TestHistoryManipulation (unittest.TestCase):
3030
self.assertEqual(readline.get_history_item(1), "entrée 1")
3131
self.assertEqual(readline.get_history_item(2), "entrée 22")
3232

3333
+ @unittest.skip("Skipping problematic test")
3434
def test_write_read_limited_history(self):
3535
previous_length = readline.get_history_length()
3636
self.addCleanup(readline.set_history_length, previous_length)
37-
@@ -382,6 +384,7 @@ readline.write_history_file(history_file
37+
@@ -390,6 +392,7 @@ readline.write_history_file(history_file)
3838
self.assertIn(b"done", output)
3939

4040

meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
1919
index bed0e6d..36602be 100644
2020
--- a/Lib/test/test_ftplib.py
2121
+++ b/Lib/test/test_ftplib.py
22-
@@ -627,6 +627,7 @@ class TestFTPClass(TestCase):
22+
@@ -630,6 +630,7 @@ class TestFTPClass(TestCase):
2323
self.client.storbinary('stor', f, rest=r)
2424
self.assertEqual(self.server.handler_instance.rest, str(r))
2525

meta/recipes-devtools/python/python3/makerace.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in
2020
index be1b9ea..9ec3a71 100644
2121
--- a/Makefile.pre.in
2222
+++ b/Makefile.pre.in
23-
@@ -2485,7 +2485,7 @@ COMPILEALL_OPTS=-j0
23+
@@ -2492,7 +2492,7 @@ COMPILEALL_OPTS=-j0
2424
TEST_MODULES=@TEST_MODULES@
2525

2626
.PHONY: libinstall

0 commit comments

Comments
 (0)