Install this version:
emerge -a =dev-python/sparse-0.19.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/sparse-0.19.0
Or alternatively:
emerge --autounmask-write -a =dev-python/sparse-0.19.0
# 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="Sparse multi-dimensional arrays for the PyData ecosystem"
HOMEPAGE="
https://github.com/pydata/sparse
https://pypi.org/project/sparse/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/numpy-1.17[${PYTHON_USEDEP}]
>=dev-python/numba-0.49[${PYTHON_USEDEP}]
"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
# setuptools_scm cannot derive a version from the gitless sdist.
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
# Test suite is a heavy numba/hypothesis matrix; upstream-tested.
RESTRICT="test"
>=dev-python/numpy-1.17[] >=dev-python/numba-0.49[]
dev-python/setuptools-scm[]