commit:     658d1a8de47caf63d6ea3d2ce731b305a4bb48dd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 17:28:02 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 17:51:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658d1a8d

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

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.0.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.0.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
index 0b4386374d3e..8495284f8b9b 100644
--- a/dev-python/requests-cache/requests-cache-1.1.0.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.0.ebuild
@@ -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
 }

Reply via email to