dev-python/requests-cache: Enable py3.12

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-10-24 19:28:02 +02:00
parent f221a23c98
commit 658d1a8de4

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1 optfeature
@@ -61,6 +61,16 @@ python_test() {
tests/integration/test_upgrade.py::test_version_upgrade
)
case ${EPYTHON} in
python3.12)
# https://github.com/requests-cache/requests-cache/issues/845
EPYTEST_DESELECT+=(
tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read
tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency
)
;;
esac
local -x USE_PYTEST_HTTPBIN=true
epytest
}