Skip to content

Commit 4073595

Browse files
authored
python312Packages.nutpie: 0.13.2 -> 0.13.4 (#384393)
2 parents eeddff5 + 698421d commit 4073595

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

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

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
lib,
3-
stdenv,
43
buildPythonPackage,
54
fetchFromGitHub,
65
rustPlatform,
@@ -9,9 +8,6 @@
98
cargo,
109
rustc,
1110

12-
# buildInputs
13-
libiconv,
14-
1511
# dependencies
1612
arviz,
1713
pandas,
@@ -26,24 +22,25 @@
2622
pymc,
2723
pytestCheckHook,
2824
setuptools,
25+
writableTmpDirAsHomeHook,
2926
}:
3027

3128
buildPythonPackage rec {
3229
pname = "nutpie";
33-
version = "0.13.2";
30+
version = "0.13.4";
3431
pyproject = true;
3532

3633
src = fetchFromGitHub {
3734
owner = "pymc-devs";
3835
repo = "nutpie";
3936
tag = "v${version}";
40-
hash = "sha256-XyUMCnHm5V7oFaf3W+nGpcHfq1ZFppeGMIMCU5OB87s=";
37+
hash = "sha256-BpKt/EWBefCQUGDxyqF6Xjrj/HUvY4M26gk79R/CyZo=";
4138
};
4239

4340
cargoDeps = rustPlatform.fetchCargoVendor {
4441
inherit src;
4542
name = "${pname}-${version}";
46-
hash = "sha256-mLoMbIy3Chmby+c6j3dg+bQvIHuhDgt3ZzPIXB3WxuE=";
43+
hash = "sha256-d0Qk01YwosHlOy3yb/2PV5Op1Wz+yB5ROVbUWfHooEk=";
4744
};
4845

4946
build-system = [
@@ -54,8 +51,8 @@ buildPythonPackage rec {
5451
rustc
5552
];
5653

57-
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
58-
libiconv
54+
pythonRelaxDeps = [
55+
"xarray"
5956
];
6057

6158
dependencies = [
@@ -75,23 +72,18 @@ buildPythonPackage rec {
7572
pymc
7673
pytestCheckHook
7774
setuptools
75+
writableTmpDirAsHomeHook
7876
];
7977

8078
disabledTestPaths = [
8179
# Require unpackaged bridgestan
8280
"tests/test_stan.py"
83-
84-
# KeyError: "duplicate registration for <class 'numba.core.types.misc.SliceType'>"
85-
"tests/test_pymc.py"
8681
];
8782

88-
# Currently, no test are working...
89-
doCheck = false;
90-
9183
meta = {
9284
description = "Python wrapper for nuts-rs";
9385
homepage = "https://github.com/pymc-devs/nutpie";
94-
changelog = "https://github.com/pymc-devs/nutpie/blob/${src.rev}/CHANGELOG.md";
86+
changelog = "https://github.com/pymc-devs/nutpie/blob/v${version}/CHANGELOG.md";
9587
license = lib.licenses.mit;
9688
maintainers = with lib.maintainers; [ GaetanLepage ];
9789
};

0 commit comments

Comments
 (0)