Control: tags 1117911 + patch Control: tags 1117911 + pending
Dear maintainer,
I've prepared an NMU for python-ptrace (versioned as 0.9.9-0.3) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should cancel it.
Regards.
--
cheers,
Emmanuel Arias
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ [email protected]
⢿⡄⠘⠷⠚⠋⠀ OpenPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1
⠈⠳⣄
diffstat for python-ptrace-0.9.9 python-ptrace-0.9.9 changelog | 8 ++++++++ patches/add-support-for-python314.patch | 30 ++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 39 insertions(+) diff -Nru python-ptrace-0.9.9/debian/changelog python-ptrace-0.9.9/debian/changelog --- python-ptrace-0.9.9/debian/changelog 2025-03-22 10:33:58.000000000 -0300 +++ python-ptrace-0.9.9/debian/changelog 2025-12-24 22:02:00.000000000 -0300 @@ -1,3 +1,11 @@ +python-ptrace (0.9.9-0.3) unstable; urgency=medium + + * Non-maintainer upload. + * d/patches add-support-for-python314.patch: Add patch to support + Python3.14 (Closes: #1117911). + + -- Emmanuel Arias <[email protected]> Wed, 24 Dec 2025 22:02:00 -0300 + python-ptrace (0.9.9-0.2) unstable; urgency=medium * Non-maintainer upload. diff -Nru python-ptrace-0.9.9/debian/patches/add-support-for-python314.patch python-ptrace-0.9.9/debian/patches/add-support-for-python314.patch --- python-ptrace-0.9.9/debian/patches/add-support-for-python314.patch 1969-12-31 21:00:00.000000000 -0300 +++ python-ptrace-0.9.9/debian/patches/add-support-for-python314.patch 2025-12-24 21:54:44.000000000 -0300 @@ -0,0 +1,30 @@ +From 324404a3d7ca7d329f1595f2520e779412d6fa98 Mon Sep 17 00:00:00 2001 +From: Stefano Rivera <[email protected]> +Date: Sat, 11 Oct 2025 15:36:41 +0200 +Subject: [PATCH] Add support for Python 3.14 + +Python 3.14 now uses linkat() if it's available +https://github.com/python/cpython/issues/81793 + +I'm not quite sure why the ARM64 and RISC-V versions were using +linkat() there, previously, but that doesn't seem relevant to this +change :) + +Bug-Debian: https://bugs.debian.org/1117911 +--- + tests/test_strace.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_strace.py b/tests/test_strace.py +index 2020a3b..89f77b6 100755 +--- a/tests/test_strace.py ++++ b/tests/test_strace.py +@@ -86,7 +86,7 @@ def test_rename(self): + + def test_link(self): + pattern = br"^link\('oldpath', 'newpath'\)" +- if AARCH64 or RISCV: ++ if AARCH64 or RISCV or sys.version_info >= (3, 14): + pattern = br"^linkat\(.*'oldpath'.*'newpath'.*\)" + self.assert_syscall("import os; os.link('oldpath', 'newpath')", + pattern) diff -Nru python-ptrace-0.9.9/debian/patches/series python-ptrace-0.9.9/debian/patches/series --- python-ptrace-0.9.9/debian/patches/series 1969-12-31 21:00:00.000000000 -0300 +++ python-ptrace-0.9.9/debian/patches/series 2025-12-24 21:57:55.000000000 -0300 @@ -0,0 +1 @@ +add-support-for-python314.patch
signature.asc
Description: PGP signature

