python312Packages.scikit-bio: add missing deps (#354208)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-08 11:52:27 +01:00 committed by GitHub
commit ba7b43e912
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,9 +2,11 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
cython,
oldest-supported-numpy,
requests,
decorator,
natsort,
@ -12,8 +14,10 @@
pandas,
scipy,
h5py,
hdmedians,
biom-format,
statsmodels,
patsy,
python,
pytestCheckHook,
}:
@ -44,8 +48,9 @@ buildPythonPackage rec {
pandas
scipy
h5py
hdmedians
biom-format
statsmodels
patsy
];
nativeCheckInputs = [ pytestCheckHook ];
@ -53,6 +58,11 @@ buildPythonPackage rec {
# only the $out dir contains the built cython extensions, so we run the tests inside there
pytestFlagsArray = [ "${placeholder "out"}/${python.sitePackages}/skbio" ];
disabledTestPaths = [
# don't know why, but this segfaults
"${placeholder "out"}/${python.sitePackages}/skbio/metadata/tests/test_intersection.py"
];
pythonImportsCheck = [ "skbio" ];
meta = {