Install this version:
emerge -a =dev-python/hdbscan-0.8.42
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/hdbscan-0.8.42
Or alternatively:
emerge --autounmask-write -a =dev-python/hdbscan-0.8.42
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
inherit distutils-r1 pypi
DESCRIPTION="A high performance implementation of HDBSCAN clustering."
HOMEPAGE="https://github.com/scikit-learn-contrib/hdbscan"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# Reported upstream:
# https://github.com/scikit-learn-contrib/hdbscan/issues/501
RESTRICT="test"
RDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
dev-python/joblib[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/scikit-learn[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
dev-python/cython[] dev-python/joblib[] dev-python/numpy[] dev-python/scipy[] dev-python/six[] dev-python/scikit-learn[]