From 04bcc06784a47d190558091ea066286c9e5c96d0 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:10:19 +0000 Subject: [PATCH 1/2] pyrealsense2: Add version 2.59.1.11053 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/pyrealsense2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/pyrealsense2.yaml b/docs/packages/pyrealsense2.yaml index aabaf414ffe4..31dd78ed4343 100644 --- a/docs/packages/pyrealsense2.yaml +++ b/docs/packages/pyrealsense2.yaml @@ -19,3 +19,4 @@ versions: gpl-sources: filename: gpl-sources.tar description: gcc and the copyleft libraries bundled in the wheel +- version: 2.59.1.11053 From ac25911f58883bbeb51012d307ff3928240acb6f Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 09:44:09 +0800 Subject: [PATCH 2/2] pyrealsense2: copy the 2.58.4.10922 patch for 2.59.1.11053 The Development.Module change applies unchanged to librealsense v2.59.1. --- ...-python-module-development-component.patch | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 patches/pyrealsense2/2.59.1.11053/0001-cmake-find-only-the-python-module-development-component.patch diff --git a/patches/pyrealsense2/2.59.1.11053/0001-cmake-find-only-the-python-module-development-component.patch b/patches/pyrealsense2/2.59.1.11053/0001-cmake-find-only-the-python-module-development-component.patch new file mode 100644 index 000000000000..592587b9b1dd --- /dev/null +++ b/patches/pyrealsense2/2.59.1.11053/0001-cmake-find-only-the-python-module-development-component.patch @@ -0,0 +1,23 @@ +Upstream-Status: Inappropriate [manylinux images ship no libpython by design; upstream builds its wheels on full distros where Development.Embed resolves] + +CMake/external_pybind11.cmake asks FindPython for the whole Development +component (Module + Embed) only to read Python_SITEARCH for the install +dir. Development.Embed needs libpython, which the manylinux interpreters +deliberately do not ship, so configure fails with "Could NOT find Python +(missing: ... Development.Embed)". The extensions themselves are built +through pybind11's own Python lookup and never link libpython, so asking +for Development.Module alone is enough. + +diff --git a/CMake/external_pybind11.cmake b/CMake/external_pybind11.cmake +index f2c4c03..e1fe8e4 100644 +--- a/CMake/external_pybind11.cmake ++++ b/CMake/external_pybind11.cmake +@@ -71,7 +71,7 @@ function(get_pybind11) + find_package(PythonLibs REQUIRED) + set( PYTHON_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/pyrealsense2" CACHE PATH "Installation directory for Python bindings") + else() +- find_package(Python REQUIRED COMPONENTS Interpreter Development) ++ find_package(Python REQUIRED COMPONENTS Interpreter Development.Module) + set( PYTHON_INSTALL_DIR "${Python_SITEARCH}/pyrealsense2" CACHE PATH "Installation directory for Python bindings") + endif() +