python3-pikepdf: Upgrade 10.5.1 -> 10.9.1

Upgrade to release 10.9.1:

- Fixed a crash (SIGABRT via std::terminate) that could occur when
  a file-backed {class}pikepdf.Pdf was deallocated while a Python
  exception was already propagating -- for example when
  pikepdf.open(filename) appears as a transient element of a
  list/tuple literal whose later element raises. Opening from a
  filename closes the file in the input source destructor, which
  calls back into Python; with an exception already in flight that
  call raised an error that escaped the destructor. The in-flight
  exception is now preserved and propagates normally. Added a guard
  for a likely non-reproducible related case with DecimalPrecision.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi
2026-07-08 16:32:46 +03:00
committed by Khem Raj
parent 10d459542c
commit d8b0db4279
2 changed files with 41 additions and 1 deletions
@@ -0,0 +1,37 @@
From 22020dc444aaf3f98dc40f38c0a8aad48476db8f Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com>
Date: Wed, 8 Jul 2026 11:45:11 +0000
Subject: [PATCH] pyproject.toml: Do not strip
Switch from Release to RelWithDebInfo and explicitly disable
scikit-build-core's strip, so bitbake will handle it Fixes:
WARNING: python3-pikepdf-10.9.1-r0 do_populate_sysroot: File
'/usr/lib/python3.14/site-packages/pikepdf/_core.abi3.so' from
python3-pikepdf was already stripped, this will prevent future
debugging!
Upstream-Status: Inappropriate [oe-specific]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
pyproject.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 06ccfbb..475af59 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,8 @@ build-backend = "scikit_build_core.build"
[tool.scikit-build]
wheel.packages = ["src/pikepdf"]
-cmake.build-type = "Release"
+cmake.build-type = "RelWithDebInfo"
+install.strip = false
wheel.py-api = "cp314"
[project]
--
2.47.3