Skip to content

Commit f1b03bc

Browse files
authored
Merge pull request #294574 from GaetanLepage/pytensor
python311Packages.pytensor: 2.18.6 -> 2.20.0
2 parents 785b5ad + 0fd2b14 commit f1b03bc

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

pkgs/development/python-modules/pymc/default.nix

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,48 @@
33
, buildPythonPackage
44
, cachetools
55
, cloudpickle
6-
, fastprogress
76
, fetchFromGitHub
87
, numpy
8+
, pandas
99
, pytensor
1010
, pythonOlder
11+
, rich
1112
, scipy
12-
, typing-extensions
1313
, setuptools
14+
, typing-extensions
1415
}:
1516

1617
buildPythonPackage rec {
1718
pname = "pymc";
18-
version = "5.10.4";
19+
version = "5.13.1";
1920
pyproject = true;
2021

21-
disabled = pythonOlder "3.9";
22+
disabled = pythonOlder "3.10";
2223

2324
src = fetchFromGitHub {
2425
owner = "pymc-devs";
2526
repo = "pymc";
2627
rev = "refs/tags/v${version}";
27-
hash = "sha256-tiOXbryY2TmeBVrG5cIMeDJ4alolBQ5LosdfH3tpVOA=";
28+
hash = "sha256-SSAn7nbKhXGeEvASKQITUs3+ix3j37u9JTkNiG+1tZ0=";
2829
};
2930

30-
build-system = [
31-
setuptools
32-
];
33-
3431
postPatch = ''
3532
substituteInPlace setup.py \
3633
--replace-fail ', "pytest-cov"' ""
3734
'';
3835

39-
propagatedBuildInputs = [
36+
build-system = [
37+
setuptools
38+
];
39+
40+
dependencies = [
4041
arviz
4142
cachetools
4243
cloudpickle
43-
fastprogress
4444
numpy
45+
pandas
4546
pytensor
47+
rich
4648
scipy
4749
typing-extensions
4850
];

pkgs/development/python-modules/pytensor/default.nix

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,33 @@
1919
, pytestCheckHook
2020
, pythonOlder
2121
, tensorflow-probability
22-
, stdenv
2322
}:
2423

2524
buildPythonPackage rec {
2625
pname = "pytensor";
27-
version = "2.18.6";
26+
version = "2.20.0";
2827
pyproject = true;
2928

30-
disabled = pythonOlder "3.9";
29+
disabled = pythonOlder "3.10";
3130

3231
src = fetchFromGitHub {
3332
owner = "pymc-devs";
3433
repo = "pytensor";
3534
rev = "refs/tags/rel-${version}";
36-
hash = "sha256-SMh4wVZwmc87ztFn2OOI234VP3JzmxVMBkn7lYwVu6M=";
35+
hash = "sha256-bvkOMer+zYSsiU4a147eUEZjjUeTVpb9f/hepMZZ3sE=";
3736
};
3837

3938
postPatch = ''
4039
substituteInPlace pyproject.toml \
4140
--replace "versioneer[toml]==0.28" "versioneer[toml]"
4241
'';
4342

44-
nativeBuildInputs = [
43+
build-system = [
4544
cython
4645
versioneer
4746
];
4847

49-
propagatedBuildInputs = [
48+
dependencies = [
5049
cons
5150
etuples
5251
filelock
@@ -98,6 +97,5 @@ buildPythonPackage rec {
9897
changelog = "https://github.com/pymc-devs/pytensor/releases";
9998
license = licenses.bsd3;
10099
maintainers = with maintainers; [ bcdarwin ferrine ];
101-
broken = (stdenv.isLinux && stdenv.isAarch64);
102100
};
103101
}

0 commit comments

Comments
 (0)