python311Packages.pytensor: 2.17.3 -> 2.18.1

Changelog: https://github.com/pymc-devs/pytensor/releases/tag/rel-2.18.1
This commit is contained in:
Gaetan Lepage 2023-11-12 12:30:26 +01:00
parent c5fb2d5662
commit cdab9e2828

View file

@ -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 = [