commit:     6844246953195f6af6018c781460dda451507221
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 07:55:11 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 15 08:04:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68442469

dev-python/rich: Enable py3.11

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

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

diff --git a/dev-python/rich/rich-12.4.1.ebuild 
b/dev-python/rich/rich-12.4.1.ebuild
index 9bbc80387ecd..59e483a9a88c 100644
--- a/dev-python/rich/rich-12.4.1.ebuild
+++ b/dev-python/rich/rich-12.4.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
 inherit distutils-r1 optfeature
 
@@ -36,6 +36,14 @@ python_test() {
                # broken with =dev-python/pygments-2.12.0
                
tests/test_console.py::test_size_can_fall_back_to_std_descriptors
        )
+       [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+               # the usual deal: output changes that cause test mismatches
+               tests/test_inspect.py::test_inspect_text
+               tests/test_inspect.py::test_inspect_builtin_function
+               tests/test_inspect.py::test_inspect_integer_with_methods
+               tests/test_log.py::test_log
+               tests/test_pretty.py::test_attrs_broken
+       )
        epytest -p no:pytest-qt
 }
 

Reply via email to