pynndescent-0.6.0science
download
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Fast approximate nearest-neighbour search via Nearest-Neighbour Descent"
HOMEPAGE="https://pynndescent.readthedocs.io/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/scikit-learn[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/numba[${PYTHON_USEDEP}]
dev-python/llvmlite[${PYTHON_USEDEP}]
dev-python/joblib[${PYTHON_USEDEP}]
"
EPYTEST_DESELECT=(
# https://github.com/lmcinnes/pynndescent/pull/261
"pynndescent/tests/test_distances.py::test_binary_check[sokalmichener]"
"pynndescent/tests/test_distances.py::test_sparse_binary_check[sokalmichener]"
)
distutils_enable_tests pytest