summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Lepage <gaetan@glepage.com>2023-11-12 12:30:26 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-25 01:23:11 +0000
commitc206b35f77c7ce98fbb9fda731f075823507f438 (patch)
tree2d720996a36982ab8aaec65b5c00e93e82d416b2
parentpython311Packages.pymc: 5.9.1 -> 5.9.2 (diff)
downloadnixpkgs-origin/backport-267030-to-release-23.11.tar.gz
python311Packages.pytensor: 2.17.3 -> 2.18.1origin/backport-267030-to-release-23.11
Changelog: https://github.com/pymc-devs/pytensor/releases/tag/rel-2.18.1 (cherry picked from commit cdab9e2828ddbf9a7a5c38f878a2eb54d261a76b)
-rw-r--r--pkgs/development/python-modules/pytensor/default.nix14
1 files changed, 4 insertions, 10 deletions
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 = [