Install this version:
emerge -a =dev-python/cachecontrol-0.14.4
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/cachecontrol-0.14.4
Or alternatively:
emerge --autounmask-write -a =dev-python/cachecontrol-0.14.4
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=uv-build
PYPI_VERIFY_REPO=https://github.com/psf/cachecontrol
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="httplib2 caching for requests"
HOMEPAGE="
https://github.com/psf/cachecontrol/
https://pypi.org/project/CacheControl/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
<dev-python/msgpack-2[${PYTHON_USEDEP}]
>=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}]
>=dev-python/requests-2.16.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/cherrypy[${PYTHON_USEDEP}]
>=dev-python/filelock-3.8.0[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=()
if [[ ${EPYTHON} == pypy3* ]]; then
EPYTEST_DESELECT+=(
tests/test_adapter.py::TestSessionActions::test_do_not_leak_response
)
fi
epytest
}
<dev-python/msgpack-2[] >=dev-python/msgpack-0.5.2[] >=dev-python/requests-2.16.0[]
test? ( dev-python/cherrypy[] >=dev-python/filelock-3.8.0[] )