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,27 @@
SUMMARY = "Read and write PDFs with Python, powered by qpdf"
HOMEPAGE = "https://github.com/pikepdf/pikepdf"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3"
SRC_URI[sha256sum] = "410fcf32bc9c8a0a96d94bbd6268ba7585333b1423b93a5fa2ef3c05f4eba3da"
SRC_URI += "file://0001-pyproject.toml-Do-not-strip.patch"
inherit pypi python_setuptools_build_meta
PYPI_PACKAGE = "pikepdf"
CVE_PRODUCT = "pikepdf"
DEPENDS += " \
python3-pybind11-native \
python3-nanobind-native \
qpdf \
"
RDEPENDS:${PN} += " \
python3-pillow \
python3-lxml \
"
BBCLASSEXTEND = "native nativesdk"