python3Packages.pymc: fix

https://github.com/pymc-devs/pytensor/pull/1471/files
This commit is contained in:
Gaetan Lepage
2025-08-25 10:21:37 +02:00
parent d15e0fae52
commit bdf2b9ee40

View File

@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
# build-system
setuptools,
@@ -32,15 +33,21 @@ buildPythonPackage rec {
hash = "sha256-zh6FsCEviuyqapguTrUDsWKq70ef0IKRhnn2dkgQ/KA=";
};
patches = [
# TODO: remove at next release
# https://github.com/pymc-devs/pytensor/pull/1471
(fetchpatch2 {
name = "pytensor-2-32-compat";
url = "https://github.com/pymc-devs/pymc/commit/59176b6adda88971e546a0cf93ca04424af5197f.patch";
hash = "sha256-jkDwlKwxbn9DwpkxEbSXk/kbGjT/Xu8bsZHFBWYpMgA=";
})
];
build-system = [
setuptools
versioneer
];
pythonRelaxDeps = [
"pytensor"
];
dependencies = [
arviz
cachetools