python3Packages.hdbscan: 0.8.27 -> 0.8.28

include patch for joblib 1.2.0 compatibility
This commit is contained in:
Robert Scott 2022-09-27 19:35:05 +01:00
parent 453efce55e
commit e0e236e03e

View file

@ -13,18 +13,22 @@
buildPythonPackage rec {
pname = "hdbscan";
version = "0.8.27";
version = "0.8.28";
src = fetchPypi {
inherit pname version;
sha256 = "e3a418d0d36874f7b6a1bf0b7461f3857fc13a525fd48ba34caed2fe8973aa26";
sha256 = "sha256-7tr3Hy87vt/Ew42hrUiXRUzl69R5LhponJecKFPtwFo=";
};
patches = [
# This patch fixes compatibility with numpy 1.20. It will be in the next release
# after 0.8.27
# should be included in next release
(fetchpatch {
url = "https://github.com/scikit-learn-contrib/hdbscan/commit/5b67a4fba39c5aebe8187a6a418da677f89a63e0.patch";
sha256 = "07d7jdwk0b8kgaqkifd529sarji01j1jiih7cfccc5kxmlb5py9h";
name = "joblib-1.2.0-compat.patch";
url = "https://github.com/scikit-learn-contrib/hdbscan/commit/d829c639923f6866e1917e46ddbde45b513913f3.patch";
excludes = [
"docs/basic_hdbscan.rst"
"docs/how_hdbscan_works.rst"
];
sha256 = "sha256-t0D4OsHEcMwmBZM8Mk1N0uAKi6ra+TOzEks9/efsvWI=";
})
];