tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python311Packages.hickle: disable failing test
Fabian Affolter
2 years ago
8667d959
a3f9ce2a
+25
-15
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
hickle
default.nix
+25
-15
pkgs/development/python-modules/hickle/default.nix
reviewed
···
1
1
-
{ buildPythonPackage
1
1
+
{ lib
2
2
+
, buildPythonPackage
2
3
, fetchPypi
3
4
, pythonOlder
4
5
, h5py
···
9
8
, scipy
10
9
, pandas
11
10
, pytestCheckHook
12
12
-
, lib
13
11
}:
14
12
15
13
buildPythonPackage rec {
···
24
24
};
25
25
26
26
postPatch = ''
27
27
-
substituteInPlace tox.ini --replace "--cov=./hickle" ""
27
27
+
substituteInPlace tox.ini \
28
28
+
--replace "--cov=./hickle" ""
28
29
'';
29
30
30
30
-
propagatedBuildInputs = [ h5py numpy dill ];
31
31
-
32
32
-
nativeCheckInputs = [
33
33
-
pytestCheckHook
34
34
-
scipy
35
35
-
pandas
36
36
-
astropy
31
31
+
propagatedBuildInputs = [
32
32
+
dill
33
33
+
h5py
34
34
+
numpy
37
35
];
38
36
39
39
-
pythonImportsCheck = [ "hickle" ];
37
37
+
nativeCheckInputs = [
38
38
+
astropy
39
39
+
pandas
40
40
+
pytestCheckHook
41
41
+
scipy
42
42
+
];
43
43
+
44
44
+
pythonImportsCheck = [
45
45
+
"hickle"
46
46
+
];
40
47
41
48
disabledTests = [
42
49
# broken in 5.0.2 with recent NumPy
43
50
# see https://github.com/telegraphic/hickle/issues/174
44
51
"test_scalar_compression"
45
45
-
# broken in 5.0.2 with python 3.11
52
52
+
# broken in 5.0.2 with Python 3.11
46
53
# see https://github.com/telegraphic/hickle/issues/169
47
54
"test_H5NodeFilterProxy"
55
55
+
# broken in 5.0.2
56
56
+
"test_slash_dict_keys"
48
57
];
49
58
50
50
-
meta = {
59
59
+
meta = with lib; {
51
60
description = "Serialize Python data to HDF5";
52
61
homepage = "https://github.com/telegraphic/hickle";
53
53
-
license = lib.licenses.mit;
54
54
-
maintainers = with lib.maintainers; [ bcdarwin ];
62
62
+
changelog = "https://github.com/telegraphic/hickle/releases/tag/v${version}";
63
63
+
license = licenses.mit;
64
64
+
maintainers = with maintainers; [ bcdarwin ];
55
65
};
56
66
}