pythonPackages.scikit-bio: remove old depency relaxing, add imports check
This commit is contained in:
parent
2d5f5f9e2a
commit
16c69eadb1
@ -32,12 +32,6 @@ buildPythonPackage rec {
|
||||
checkInputs = [ coverage ];
|
||||
propagatedBuildInputs = [ lockfile cachecontrol decorator ipython matplotlib natsort numpy pandas scipy hdmedians scikitlearn ];
|
||||
|
||||
# remove on when version > 0.5.4
|
||||
postPatch = ''
|
||||
sed -i "s/numpy >= 1.9.2, < 1.14.0/numpy/" setup.py
|
||||
sed -i "s/pandas >= 0.19.2, < 0.23.0/pandas/" setup.py
|
||||
'';
|
||||
|
||||
# cython package not included for tests
|
||||
doCheck = false;
|
||||
|
||||
@ -45,6 +39,8 @@ buildPythonPackage rec {
|
||||
${python.interpreter} -m skbio.test
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "skbio" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://scikit-bio.org/";
|
||||
description = "Data structures, algorithms and educational resources for bioinformatics";
|
||||
|
Loading…
Reference in New Issue
Block a user