commit:     a3b159b15a7644828c52885dbef8ca904861174a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 16:49:43 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 16:49:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b159b1

dev-python/requests-cache: Enable pypy3

Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/requests-cache/requests-cache-1.1.1.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/requests-cache/requests-cache-1.1.1.ebuild 
b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
index b5f675e3aaba..605e560b1a0b 100644
--- a/dev-python/requests-cache/requests-cache-1.1.1.ebuild
+++ b/dev-python/requests-cache/requests-cache-1.1.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 optfeature
@@ -62,6 +62,13 @@ python_test() {
        )
 
        case ${EPYTHON} in
+               pypy3)
+                       EPYTEST_DESELECT+=(
+                               # "database is locked", upstream probably 
relies on GC
+                               # too much
+                               tests/integration/test_sqlite.py
+                       )
+                       ;;
                python3.12)
                        # 
https://github.com/requests-cache/requests-cache/issues/845
                        EPYTEST_DESELECT+=(

Reply via email to