Install this version:
emerge -a =dev-python/pytools-2026.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pytools-2026.1
Or alternatively:
emerge --autounmask-write -a =dev-python/pytools-2026.1
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/inducer/pytools
PYTHON_COMPAT=( python3_{11..14} )
PYTHON_REQ_USE='sqlite'
inherit distutils-r1 pypi
DESCRIPTION="Collection of tools missing from the Python standard library"
HOMEPAGE="
https://mathema.tician.de/software/pytools/
https://github.com/inducer/pytools/
https://pypi.org/project/pytools/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
# NB: numpy are an "extra" (optional) deps
RDEPEND="
>=dev-python/numpy-1.6[${PYTHON_USEDEP}]
>=dev-python/platformdirs-2.2[${PYTHON_USEDEP}]
>=dev-python/siphash24-1.6[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest
>=dev-python/numpy-1.6[] >=dev-python/platformdirs-2.2[] >=dev-python/siphash24-1.6[] >=dev-python/typing-extensions-4.5[]