summaryrefslogtreecommitdiff
path: root/dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch')
-rw-r--r--dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch b/dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch
new file mode 100644
index 000000000000..98d8db561908
--- /dev/null
+++ b/dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch
@@ -0,0 +1,31 @@
+https://github.com/vstinner/python-ptrace/pull/91
+
+From 324404a3d7ca7d329f1595f2520e779412d6fa98 Mon Sep 17 00:00:00 2001
+From: Stefano Rivera <stefano@rivera.za.net>
+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 :)
+---
+ 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)
+