From 2c7129de328ddbc5eb8aa0592a2d06809b58afad Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 22 Feb 2026 23:17:54 +0000 Subject: [PATCH] python3Packages.pytensor: 2.37.0 -> 2.38.1 Diff: https://github.com/pymc-devs/pytensor/compare/rel-2.37.0...rel-2.38.1 Changelogs: - https://github.com/pymc-devs/pytensor/releases/tag/rel-2.38.0 - https://github.com/pymc-devs/pytensor/releases/tag/rel-2.38.1 --- pkgs/development/python-modules/pytensor/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytensor/default.nix b/pkgs/development/python-modules/pytensor/default.nix index e790c04308a4..c14440b5ae60 100644 --- a/pkgs/development/python-modules/pytensor/default.nix +++ b/pkgs/development/python-modules/pytensor/default.nix @@ -33,7 +33,7 @@ buildPythonPackage (finalAttrs: { pname = "pytensor"; - version = "2.37.0"; + version = "2.38.1"; pyproject = true; src = fetchFromGitHub { @@ -43,7 +43,7 @@ buildPythonPackage (finalAttrs: { postFetch = '' sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${finalAttrs.src.tag})"/' $out/pytensor/_version.py ''; - hash = "sha256-N6TYK/qMux/a0ktQyCGYHZg3g8S6To8g1FXnILk9HIw="; + hash = "sha256-Ye88hXOLkUh/BVYvvDG9dB3hq+xO5bE5jU9IDdCyuv0="; }; build-system = [ @@ -87,6 +87,9 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # TypeError: jax_funcified_fgraph() takes 2 positional arguments but 3 were given "test_jax_Reshape_shape_graph_input" + + # AssertionError: equal_computations failed + "test_infer_shape_db_handles_xtensor_lowering" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Numerical assertion error @@ -94,6 +97,9 @@ buildPythonPackage (finalAttrs: { "test_op_sd" "test_op_ss" + # AssertionError: equal_computations failed + "test_infer_shape_db_handles_xtensor_lowering" + # pytensor.link.c.exceptions.CompileError: Compilation failed (return status=1) "OpFromGraph" "add"