mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
python312Packages.scikit-bio: add missing deps (#354208)
This commit is contained in:
commit
ba7b43e912
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user