From 70db537ba41fda01a9aaf0c438f269177177090f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 1 Mar 2026 13:55:29 +0000 Subject: [PATCH 1/3] python3Packages.arviz: skip failing tests --- pkgs/development/python-modules/arviz/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/arviz/default.nix b/pkgs/development/python-modules/arviz/default.nix index dc5522b98276..098d412a1908 100644 --- a/pkgs/development/python-modules/arviz/default.nix +++ b/pkgs/development/python-modules/arviz/default.nix @@ -106,6 +106,15 @@ buildPythonPackage (finalAttrs: { ]; disabledTests = [ + # TypeError: only 0-dimensional arrays can be converted to Python scalars + "test_deterministic" + "test_mcse_array" + "test_mcse_dataset" + "test_mcse_nan" + "test_multichain_summary_array" + "test_numba_mcse" + "test_plot_mcse" + # Tests require network access "test_plot_ppc_transposed" "test_plot_separation" From 2c7129de328ddbc5eb8aa0592a2d06809b58afad Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 22 Feb 2026 23:17:54 +0000 Subject: [PATCH 2/3] 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" From 22eb1065e5ae3ab3773045be1eb52694066e800b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 22 Feb 2026 23:18:17 +0000 Subject: [PATCH 3/3] python3Packages.pymc: 5.27.1 -> 5.28.1 Diff: https://github.com/pymc-devs/pymc/compare/v5.27.1...v5.28.1 Changelogs: - https://github.com/pymc-devs/pymc/releases/tag/v5.28.0 - https://github.com/pymc-devs/pymc/releases/tag/v5.28.1 --- pkgs/development/python-modules/pymc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pymc/default.nix b/pkgs/development/python-modules/pymc/default.nix index 000846fc8358..0e328c697bc4 100644 --- a/pkgs/development/python-modules/pymc/default.nix +++ b/pkgs/development/python-modules/pymc/default.nix @@ -23,14 +23,14 @@ buildPythonPackage (finalAttrs: { pname = "pymc"; - version = "5.27.1"; + version = "5.28.1"; pyproject = true; src = fetchFromGitHub { owner = "pymc-devs"; repo = "pymc"; tag = "v${finalAttrs.version}"; - hash = "sha256-9SPRt1R36pvsGOS0UUH3Ts/3D7W46nPnLbRc2XnU0xE="; + hash = "sha256-6P171KjWvSgtiYxsGNvVxs4Pfqs3S7gxg6aGRbQ/Zcw="; }; build-system = [