From 77ad00c90db91589dad9949eeddbf57cbb94811e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 8 Sep 2025 14:13:03 +0200 Subject: [PATCH] python3Packages.tensordict: 0.9.1 -> 0.10.0 Diff: https://github.com/pytorch/tensordict/compare/v0.9.1...v0.10.0 Changelog: https://github.com/pytorch/tensordict/releases/tag/v0.10.0 --- pkgs/development/python-modules/tensordict/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tensordict/default.nix b/pkgs/development/python-modules/tensordict/default.nix index 317807f2e6fc..0d3938dd8775 100644 --- a/pkgs/development/python-modules/tensordict/default.nix +++ b/pkgs/development/python-modules/tensordict/default.nix @@ -29,16 +29,21 @@ buildPythonPackage rec { pname = "tensordict"; - version = "0.9.1"; + version = "0.10.0"; pyproject = true; src = fetchFromGitHub { owner = "pytorch"; repo = "tensordict"; tag = "v${version}"; - hash = "sha256-OdS9dw/BtSLZuY857O2njlFOMQj5IJ6v9c2aRP+H1Hc="; + hash = "sha256-yxyA9BfN2hp1C3s+g2zBM2gVtckH3LV7luWw8DshFUs="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "pybind11[global]" "pybind11" + ''; + build-system = [ pybind11 setuptools