pythonPackages.scikit-bio: remove old depency relaxing, add imports check

This commit is contained in:
Sandro Jäckel 2021-02-15 23:33:12 +01:00
parent 2d5f5f9e2a
commit 16c69eadb1
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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";