From 887626d5ad18da8be8de1222eed88309f42c7679 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 21:36:13 +0000 Subject: [PATCH 1/2] tensordict: Add versions 0.14.1, 0.14.2 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- docs/packages/tensordict.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/packages/tensordict.yaml b/docs/packages/tensordict.yaml index 1e4407a7c8..cf7db0127b 100644 --- a/docs/packages/tensordict.yaml +++ b/docs/packages/tensordict.yaml @@ -18,3 +18,5 @@ versions: - filename: tensordict-0.14.0-cp314-cp314t-manylinux_2_39_riscv64.whl sha256: 41609bd615a4a5ccca8559fef9277d8df99727e517bded5a702e1977e4a37aff requires-python: '>=3.10' +- version: 0.14.1 +- version: 0.14.2 From b2992d4a4c63df2d1a75720449565d4ba522e87f Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 18 Sep 2026 06:08:31 +0000 Subject: [PATCH 2/2] tensordict: Add 0.14.1, 0.14.2 patches The 0.14.0 patches apply unchanged to 0.14.1, 0.14.2; the build applies patches/tensordict// for every version it builds. --- ...y-Development.Module-from-FindPython.patch | 32 +++++++++++++++++++ ...y-Development.Module-from-FindPython.patch | 32 +++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 patches/tensordict/0.14.1/0001-csrc-request-only-Development.Module-from-FindPython.patch create mode 100644 patches/tensordict/0.14.2/0001-csrc-request-only-Development.Module-from-FindPython.patch diff --git a/patches/tensordict/0.14.1/0001-csrc-request-only-Development.Module-from-FindPython.patch b/patches/tensordict/0.14.1/0001-csrc-request-only-Development.Module-from-FindPython.patch new file mode 100644 index 0000000000..baa925f0d3 --- /dev/null +++ b/patches/tensordict/0.14.1/0001-csrc-request-only-Development.Module-from-FindPython.patch @@ -0,0 +1,32 @@ +From e6d60d9ba04199ac5c6bb80f4fd0771db0b0f919 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Sun, 13 Sep 2026 00:49:14 +0200 +Subject: [PATCH] csrc: request only Development.Module from FindPython3 + +CMakeLists.txt asks FindPython3 for the full Development component, which +requires both Development.Module and Development.Embed (a libpython usable +for embedding). manylinux wheel-building images build CPython with +Py_ENABLE_SHARED=0 and ship only a static libpython, so Development.Embed's +Python3_LIBRARIES lookup fails and configure aborts, even though building a +plain extension module only ever needs Development.Module. Reproduces the +same way on manylinux x86_64/aarch64, not just riscv64 (confirmed locally +against quay.io/pypa/manylinux_2_39_aarch64). + +Upstream-Status: To upstream [not yet submitted; this repo does not open issues/PRs on third-party repositories] +--- + tensordict/csrc/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tensordict/csrc/CMakeLists.txt b/tensordict/csrc/CMakeLists.txt +index 85b5519d..df3a426e 100644 +--- a/tensordict/csrc/CMakeLists.txt ++++ b/tensordict/csrc/CMakeLists.txt +@@ -10,7 +10,7 @@ if(APPLE) # Check if the target OS is OSX/macOS + include(FindPythonPyEnv) + endif() + +-find_package(Python3 REQUIRED COMPONENTS Interpreter Development) ++find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module) + find_package(pybind11 2.13 REQUIRED) + + file(GLOB SOURCES "*.cpp") diff --git a/patches/tensordict/0.14.2/0001-csrc-request-only-Development.Module-from-FindPython.patch b/patches/tensordict/0.14.2/0001-csrc-request-only-Development.Module-from-FindPython.patch new file mode 100644 index 0000000000..a729392896 --- /dev/null +++ b/patches/tensordict/0.14.2/0001-csrc-request-only-Development.Module-from-FindPython.patch @@ -0,0 +1,32 @@ +From 3f9f69dd229764f224841c70f2a8f071ff29f7d3 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Sun, 13 Sep 2026 00:49:14 +0200 +Subject: [PATCH] csrc: request only Development.Module from FindPython3 + +CMakeLists.txt asks FindPython3 for the full Development component, which +requires both Development.Module and Development.Embed (a libpython usable +for embedding). manylinux wheel-building images build CPython with +Py_ENABLE_SHARED=0 and ship only a static libpython, so Development.Embed's +Python3_LIBRARIES lookup fails and configure aborts, even though building a +plain extension module only ever needs Development.Module. Reproduces the +same way on manylinux x86_64/aarch64, not just riscv64 (confirmed locally +against quay.io/pypa/manylinux_2_39_aarch64). + +Upstream-Status: To upstream [not yet submitted; this repo does not open issues/PRs on third-party repositories] +--- + tensordict/csrc/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tensordict/csrc/CMakeLists.txt b/tensordict/csrc/CMakeLists.txt +index 85b5519d..df3a426e 100644 +--- a/tensordict/csrc/CMakeLists.txt ++++ b/tensordict/csrc/CMakeLists.txt +@@ -10,7 +10,7 @@ if(APPLE) # Check if the target OS is OSX/macOS + include(FindPythonPyEnv) + endif() + +-find_package(Python3 REQUIRED COMPONENTS Interpreter Development) ++find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module) + find_package(pybind11 2.13 REQUIRED) + + file(GLOB SOURCES "*.cpp")