mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-01 14:00:34 +00:00
Upgrade to release 10.13.0.post1: - Behavior change: pikepdf.DataDecodingError now derives from pikepdf.PdfError. A stream that will not decode is a defect in the document, and the same call that raises it - Object.read_bytes() - already raised PdfError for other kinds of damage, so except PdfError was a handler that looked correct, passed on healthy files, and let a traceback escape on damaged ones. Code catching DataDecodingError by name is unaffected. Code that orders except PdfError before except DataDecodingError will now take the first branch; if the distinction matters, reverse the order. - Behavior change: pikepdf.PdfParsingError now derives from pikepdf.PdfError, for the same reason. - pikepdf.PasswordError remains a sibling of PdfError, not a subclass. A wrong password does not mean the document is defective, and handlers that report the two separately depend on except PdfError not catching it. - pikepdf.NotExtractableError is now exported. It was already the base class of the exported HifiPrintImageNotTranscodableError but could not be caught by name. - Fixed the exceptions documentation, which referenced a nonexistent FormCopyWarning (the class is PageCopyWarning) and omitted ReferenceCycleError, PageCopyWarning and NotExtractableError. - XMP assigns a type to every standard property, and software that reads XMP discards a property whose type is wrong - Ghostscript strips these silently, and PDF/A validators reject them. pikepdf used to choose the RDF container from the Python type of the value it was handed, so meta['dc:subject'] = ['a', 'b'] wrote an rdf:Seq where the specification requires an rdf:Bag, and meta['dc:creator'] = 'Author' wrote a bare string where an rdf:Seq belongs. pikepdf now knows the type of the properties in the standard schemas and converts values to it. 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>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 1b326de10bee40f497386921072dd80e2d7ecbde 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 9e991c3..d7cee23 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"
|
|
# The wheel-building CI jobs download qpdf's source into ./qpdf to compile
|
|
# libqpdf before building. Without this exclusion scikit-build-core sweeps that
|