python312Packages.pytensor: 2.25.5 -> 2.26.0 (#355150)

This commit is contained in:
Gaétan Lepage 2024-11-18 23:20:07 +01:00 committed by GitHub
commit d3e77f36b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 7 deletions

View File

@ -22,14 +22,14 @@
buildPythonPackage rec {
pname = "pymc";
version = "5.18.0";
version = "5.18.2";
pyproject = true;
src = fetchFromGitHub {
owner = "pymc-devs";
repo = "pymc";
rev = "refs/tags/v${version}";
hash = "sha256-rH6sh05rSrhakcfdc+BSR37kQYO/QEPuw8hHMZZGwdE=";
hash = "sha256-+PbxYmyo9S85atl6B+DB+ZSW9HLN/2fAPwALn719TjM=";
};
postPatch = ''

View File

@ -20,8 +20,8 @@
jax,
jaxlib,
numba,
pytest-mock,
pytestCheckHook,
pytest-mock,
tensorflow-probability,
nix-update-script,
@ -29,14 +29,14 @@
buildPythonPackage rec {
pname = "pytensor";
version = "2.25.5";
version = "2.26.3";
pyproject = true;
src = fetchFromGitHub {
owner = "pymc-devs";
repo = "pytensor";
rev = "refs/tags/rel-${version}";
hash = "sha256-tEIDuMAY+rMBqzHLnhbSqOoWzjIbZKCWWMx/uej2pOU=";
hash = "sha256-+YdUZj5Edbm+jm6s/0RflQVVQg3enBwlmBwpLrk3534=";
};
pythonRelaxDeps = [
@ -62,8 +62,8 @@ buildPythonPackage rec {
jax
jaxlib
numba
pytest-mock
pytestCheckHook
pytest-mock
tensorflow-probability
];
@ -73,13 +73,22 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pytensor" ];
# Ensure that the installed package is used instead of the source files from the current workdir
preCheck = ''
rm -rf pytensor
'';
disabledTests = [
# benchmarks (require pytest-benchmark):
"test_elemwise_speed"
"test_fused_elemwise_benchmark"
"test_logsumexp_benchmark"
"test_minimal_random_function_call_benchmark"
"test_scan_multiple_output"
"test_vector_taps_benchmark"
# Failure reported upstream: https://github.com/pymc-devs/pytensor/issues/980
"test_choose_signature"
];
disabledTestPaths = [
@ -100,7 +109,7 @@ buildPythonPackage rec {
description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays";
mainProgram = "pytensor-cache";
homepage = "https://github.com/pymc-devs/pytensor";
changelog = "https://github.com/pymc-devs/pytensor/releases";
changelog = "https://github.com/pymc-devs/pytensor/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
bcdarwin