From 2ccb37d6ee6d102e2d82836da8eec38f5a2c6278 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Fri, 9 Oct 2026 08:53:31 +0000 Subject: [PATCH 1/2] tensordict: Add version 0.14.3 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/tensordict.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/tensordict.yaml b/docs/packages/tensordict.yaml index a90f6260006..cc1a83000e7 100644 --- a/docs/packages/tensordict.yaml +++ b/docs/packages/tensordict.yaml @@ -52,3 +52,4 @@ versions: - filename: tensordict-0.14.2-cp314-cp314t-manylinux_2_39_riscv64.whl sha256: 264c50df18f1a25004accdc3ea60b4a52e51cfd9f72b8f977e138d92ef2c2bee requires-python: '>=3.10' +- version: 0.14.3 From ba55dc901f61e7976a067ad6ac22ee72a2b5de02 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 9 Oct 2026 16:33:21 +0000 Subject: [PATCH 2/2] tensordict: carry forward riscv64 patches to 0.14.3 Nightly version bump omitted the patches/tensordict/ directory for 0.14.3, so the build's unconditional `git apply .../*.patch` step failed with "No such file or directory" before any build/test ran. Copied forward the same patch set from 0.14.2 (unchanged since then). --- ...y-Development.Module-from-FindPython.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 patches/tensordict/0.14.3/0001-csrc-request-only-Development.Module-from-FindPython.patch diff --git a/patches/tensordict/0.14.3/0001-csrc-request-only-Development.Module-from-FindPython.patch b/patches/tensordict/0.14.3/0001-csrc-request-only-Development.Module-from-FindPython.patch new file mode 100644 index 00000000000..a7293928967 --- /dev/null +++ b/patches/tensordict/0.14.3/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")