commit:     e1343f04674d397173fcb3e6c9e135a664d58063
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 12:36:27 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 29 12:49:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1343f04

dev-python/rich: Enable py3.12

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

 dev-python/rich/rich-13.3.4.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-python/rich/rich-13.3.4.ebuild 
b/dev-python/rich/rich-13.3.4.ebuild
index 574f2f1e1b9d..d5ef23a1e852 100644
--- a/dev-python/rich/rich-13.3.4.ebuild
+++ b/dev-python/rich/rich-13.3.4.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1 optfeature
 
@@ -44,6 +44,15 @@ python_test() {
                tests/test_syntax.py::test_python_render_simple_indent_guides
                
tests/test_syntax.py::test_python_render_line_range_indent_guides
        )
+       if [[ ${EPYTHON} == python3.12 ]]; then
+               EPYTEST_DESELECT+=(
+                       # version-specific output -- the usual deal
+                       
tests/test_inspect.py::test_inspect_builtin_function_except_python311
+                       
tests/test_inspect.py::test_inspect_integer_with_methods_python310only
+                       
tests/test_inspect.py::test_inspect_integer_with_methods_python311_and_above
+                       tests/test_pretty.py::test_attrs_broken
+               )
+       fi
        epytest -p no:pytest-qt
 }
 

Reply via email to