Merge pull request #267030 from GaetanLepage/pymc

python311Packages.pymc: 5.9.1 -> 5.9.2, python311Packages.pytensor: 2.17.3 -> 2.18.1
This commit is contained in:
OTABI Tomoya 2023-11-25 10:22:45 +09:00 committed by GitHub
commit 019fc50e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 12 deletions

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "pymc";
version = "5.9.1";
version = "5.9.2";
pyproject = true;
disabled = pythonOlder "3.9";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "pymc-devs";
repo = "pymc";
rev = "refs/tags/v${version}";
hash = "sha256-yY8W3B1yqj0oOkR6+nMbFgCFmTStXkePWnEYPHI8Zto=";
hash = "sha256-fbS4JSbmdOGz570awEpT6ut0NJ8TbiAeJWaETMBeI3c=";
};
propagatedBuildInputs = [

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