commit:     7fe89397769743461b07dd3bc8672b7f3bafe697
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 30 19:43:08 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 30 19:50:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe89397

dev-python/uvicorn: Enable py3.12

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

 dev-python/uvicorn/uvicorn-0.22.0.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-python/uvicorn/uvicorn-0.22.0.ebuild 
b/dev-python/uvicorn/uvicorn-0.22.0.ebuild
index a5836d8ffe40..2c2f842fe04d 100644
--- a/dev-python/uvicorn/uvicorn-0.22.0.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.22.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 
 inherit distutils-r1 optfeature
 
@@ -67,6 +67,14 @@ python_test() {
                        
tests/middleware/test_logging.py::test_running_log_using_fd
                )
        fi
+       if [[ ${EPYTHON} == python3.12 ]]; then
+               EPYTEST_DESELECT+=(
+                       tests/supervisors/test_signal.py::test_sigint_abort_req
+                       # hang
+                       
tests/protocols/test_websocket.py::test_send_close_on_server_shutdown
+               )
+       fi
+
 
        epytest
 }

Reply via email to