mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python3Packages.hickle: fixed failing unit tests
Extracted from and reviewed on PR #231548
This commit is contained in:
parent
2d22ff0389
commit
789271b2c8
@ -12,8 +12,10 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hickle";
|
pname = "hickle";
|
||||||
version = "5.0.2";
|
version = "5.0.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
@ -28,11 +30,23 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ h5py numpy dill ];
|
propagatedBuildInputs = [ h5py numpy dill ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook scipy pandas astropy
|
pytestCheckHook
|
||||||
|
scipy
|
||||||
|
pandas
|
||||||
|
astropy
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "hickle" ];
|
pythonImportsCheck = [ "hickle" ];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# broken in 5.0.2 with recent NumPy
|
||||||
|
# see https://github.com/telegraphic/hickle/issues/174
|
||||||
|
"test_scalar_compression"
|
||||||
|
# broken in 5.0.2 with python 3.11
|
||||||
|
# see https://github.com/telegraphic/hickle/issues/169
|
||||||
|
"test_H5NodeFilterProxy"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Serialize Python data to HDF5";
|
description = "Serialize Python data to HDF5";
|
||||||
homepage = "https://github.com/telegraphic/hickle";
|
homepage = "https://github.com/telegraphic/hickle";
|
||||||
|
Loading…
Reference in New Issue
Block a user