Install this version:
emerge -a =dev-python/pynetbox-7.8.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pynetbox-7.8.0
Or alternatively:
emerge --autounmask-write -a =dev-python/pynetbox-7.8.0
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Python library to interact with the NetBox REST API"
HOMEPAGE="https://pypi.org/project/pynetbox/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
dev-python/requests[${PYTHON_USEDEP}]
<dev-python/requests-3[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
# Tests require pytest-docker, which is not present in ::gentoo or
# ::fem-overlay
RESTRICT="test"
dev-python/requests[] <dev-python/requests-3[] dev-python/packaging[] dev-python/urllib3[]
dev-python/requests[] <dev-python/requests-3[] dev-python/packaging[] dev-python/urllib3[]