Skip to content

Commit 5687ba6

Browse files
committed
python312Packages.hankel: skip failing test
1 parent e21466f commit 5687ba6

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
6+
# build-system
57
setuptools,
68
setuptools-scm,
9+
10+
# dependencies
711
mpmath,
812
numpy,
913
scipy,
14+
15+
# tests
1016
pytestCheckHook,
1117
pytest-xdist,
1218
}:
@@ -27,22 +33,29 @@ buildPythonPackage rec {
2733
setuptools
2834
setuptools-scm
2935
];
36+
3037
dependencies = [
3138
mpmath
3239
numpy
3340
scipy
3441
];
3542

3643
pythonImportsCheck = [ "hankel" ];
44+
3745
nativeCheckInputs = [
3846
pytestCheckHook
3947
pytest-xdist
4048
];
4149

50+
disabledTests = [
51+
# ValueError: Calling nonzero on 0d arrays is not allowed.
52+
"test_nu0"
53+
];
54+
4255
meta = {
4356
description = "Implementation of Ogata's (2005) method for Hankel transforms";
4457
homepage = "https://github.com/steven-murray/hankel";
45-
changelog = "https://github.com/steven-murray/hankel/${src.rev}/CHANGELOG.rst";
58+
changelog = "https://github.com/steven-murray/hankel/v${version}/CHANGELOG.rst";
4659
license = lib.licenses.mit;
4760
maintainers = with lib.maintainers; [ sigmanificient ];
4861
};

0 commit comments

Comments
 (0)