diff --git a/pkgs/development/python-modules/pytensor/default.nix b/pkgs/development/python-modules/pytensor/default.nix index 06d0dffb2468..c109a707d24d 100644 --- a/pkgs/development/python-modules/pytensor/default.nix +++ b/pkgs/development/python-modules/pytensor/default.nix @@ -18,15 +18,13 @@ , pytest-mock , pytestCheckHook , pythonOlder -# Tensorflow is currently (2023/10/04) broken. -# Thus, we don't provide this optional test dependency. -# , tensorflow-probability +, tensorflow-probability , stdenv }: buildPythonPackage rec { pname = "pytensor"; - version = "2.17.3"; + version = "2.18.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -35,7 +33,7 @@ buildPythonPackage rec { owner = "pymc-devs"; repo = "pytensor"; rev = "refs/tags/rel-${version}"; - hash = "sha256-FufPCFzSjG8BrHes7t3XsdovX9gqUBG0gMDGKvkRkSA="; + hash = "sha256-8bt6ps5bwT+Atr6JgQMxe234bL/ZriYlURUdX0sC1kk="; }; postPatch = '' @@ -66,9 +64,7 @@ buildPythonPackage rec { numba-scipy pytest-mock pytestCheckHook - # Tensorflow is currently (2023/10/04) broken. - # Thus, we don't provide this optional test dependency. - # tensorflow-probability + tensorflow-probability ]; preBuild = '' @@ -86,8 +82,6 @@ buildPythonPackage rec { "test_logsumexp_benchmark" "test_scan_multiple_output" "test_vector_taps_benchmark" - # Temporarily disabled because of broken tensorflow-probability - "test_tfp_ops" ]; disabledTestPaths = [