Merge pull request #63232 from risicle/ris-hdbscan-fix

pythonPackages.hdbscan: fix build by applying upstream patch
This commit is contained in:
worldofpeace 2019-06-16 17:11:38 -04:00 committed by GitHub
commit 9e84b40423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@
, scipy
, scikitlearn
, fetchPypi
, fetchpatch
}:
buildPythonPackage rec {
@ -17,6 +18,15 @@ buildPythonPackage rec {
sha256 = "263e9f34db63eec217d50f2ca3e65049c065775dc4095b5ee817824cd2b5b51b";
};
patches = [
# Fix Tests. Drop in release >0.8.20
(fetchpatch {
name = "test-rsl-missing-import.patch";
url = https://github.com/scikit-learn-contrib/hdbscan/commit/e40ccef139e56e38adf7bd6912cd63efd97598f9.patch;
sha256 = "0cfq4ja7j61h2zwd1jw5gagcz2sg18kjnx29sb0bwa13wfw6fip0";
})
];
checkInputs = [ nose ];
propagatedBuildInputs = [ cython numpy scipy scikitlearn ];