python3-pybind11: Upgrade 3.0.1 -> 3.0.4
PATCH 1/4 python3-pybind11: Upgrade 3.0.1 -> 3.0.4
Upgrade to release 3.0.4:
- Fixed test builds with installed Eigen 5 by improving Eigen3 CMake package detection.
- Fixed move semantics of scoped_ostream_redirect to preserve buffered output and avoid crashes when moved redirects restore stream buffers.
- Fixed py::dynamic_attr() traversal on Python 3.13+ to correctly propagate PyObject_VisitManagedDict() results.
- Fixed std::shared_ptr<T> fallback casting to avoid unnecessary copy-constructor instantiation in reference_internal paths.
- Updated setup-uv to the maintained GitHub Action tag scheme.
- Updated pre-commit hooks.
- Updated GitHub Actions dependencies, including actions-setup-cmake and cibuildwheel.
This work was sponsored by GOVCERT.LU.
---
.../{python3-pybind11_3.0.1.bb => python3-pybind11_3.0.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-pybind11_3.0.1.bb => python3-pybind11_3.0.4.bb} (92%)meta-python/recipes-devtools/python/python3-pybind11_3.0.4.bb renamed from meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb +1 -1
@@ -7,7 +7,7 @@ DEPENDS = "\ python3-ninja-native \ " -SRCREV = "f5fbe867d2d26e4a0a9177a51f6e568868ad3dc8" +SRCREV = "d03662f0984f652b60e7ddce53d3868002275197" SRC_URI = "\ git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ "
Signature · 1 line
2.47.3
PATCH 2/4 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.
---
.../0001-pyproject.toml-Do-not-strip.patch | 37 +++++++++++++++++++
...df_10.5.1.bb => python3-pikepdf_10.9.1.bb} | 5 ++-
2 files changed, 41 insertions(+), 1 deletion(-)
create mode 100644 meta-python/recipes-devtools/python/python3-pikepdf/0001-pyproject.toml-Do-not-strip.patch
rename meta-python/recipes-devtools/python/{python3-pikepdf_10.5.1.bb => python3-pikepdf_10.9.1.bb} (71%)meta-python/recipes-devtools/python/python3-pikepdf/0001-pyproject.toml-Do-not-strip.patch new file +37 -0
@@ -0,0 +1,37 @@ +From 22020dc444aaf3f98dc40f38c0a8aad48476db8f Mon Sep 17 00:00:00 2001 +From: Leon Anavi <[email protected]> +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 <[email protected]> +--- + 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 +
meta-python/recipes-devtools/python/python3-pikepdf_10.9.1.bb renamed from meta-python/recipes-devtools/python/python3-pikepdf_10.5.1.bb +4 -1
@@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/pikepdf/pikepdf" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3" -SRC_URI[sha256sum] = "ffa6c7d0b77deb3af9735e0b0cae177c897431e10d342bb171b62e5527a622b7" +SRC_URI[sha256sum] = "410fcf32bc9c8a0a96d94bbd6268ba7585333b1423b93a5fa2ef3c05f4eba3da" + +SRC_URI += "file://0001-pyproject.toml-Do-not-strip.patch" inherit pypi python_setuptools_build_meta
@@ -13,6 +15,7 @@ CVE_PRODUCT = "pikepdf" DEPENDS += " \ python3-pybind11-native \ + python3-nanobind-native \ qpdf \ "
Signature · 1 line
2.47.3
PATCH 3/4 python3-unidecode: Enable tests
In reply to Leon AnaviInherit ptest and include tests for unidecode.
This work was sponsored by GOVCERT.LU.
--- .../python/python3-unidecode/run-ptest | 3 +++ .../python/python3-unidecode_1.4.0.bb | 18 +++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-unidecode/run-ptest
meta-python/recipes-devtools/python/python3-unidecode/run-ptest new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake
meta-python/recipes-devtools/python/python3-unidecode_1.4.0.bb +17 -1
@@ -5,8 +5,24 @@ SECTION = "devel/python" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" -inherit pypi setuptools3 +inherit pypi setuptools3 ptest PYPI_PACKAGE = "Unidecode" +SRC_URI += "file://run-ptest" + SRC_URI[sha256sum] = "ce35985008338b676573023acc382d62c264f307c8f7963733405add37ea2b23" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-core \ + python3-io \ + python3-doctest \ + python3-unittest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +}
Signature · 1 line
2.47.3
PATCH 4/4 python3-jsbeautifier: Upgrade 2.0.1 -> 2.0.3
In reply to Leon AnaviUpgrade to release 2.0.3:
- Fix minor crash for certain oddly formed *.js files
- Fix: make dark mode label dynamic
- Recognize <script type="importmap"> and beautify its JSON body
- Add wrap_attributes option to website UI
- docs: clarify version numbering policy for releases
This work was sponsored by GOVCERT.LU.
---
...n3-jsbeautifier_2.0.1.bb => python3-jsbeautifier_2.0.3.bb} | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
rename meta-python/recipes-devtools/python/{python3-jsbeautifier_2.0.1.bb => python3-jsbeautifier_2.0.3.bb} (75%)meta-python/recipes-devtools/python/python3-jsbeautifier_2.0.3.bb renamed from meta-python/recipes-devtools/python/python3-jsbeautifier_2.0.1.bb +1 -3
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148 inherit pypi setuptools3 -SRC_URI[sha256sum] = "45603b2097410feee8d3a6ef8ad5a8e0a0e89f347331888a97e46f332ce8d953" - -PYPI_PACKAGE = "jsbeautifier" +SRC_URI[sha256sum] = "9579d4e9dbaa00383f3efdff4c98c8140bb85ba319398e8b97cdaba27abd6ba3" RDEPENDS:${PN} += "\ python3-core \
Signature · 1 line
2.47.3