commit:     6be3928e68b153e70e12d22fbf37eea5cb05dd7d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 29 18:52:37 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 18:57:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be3928e

dev-python/enrich: Deselect broken test

Closes: https://bugs.gentoo.org/865497
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/enrich/enrich-1.2.7-r1.ebuild | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/dev-python/enrich/enrich-1.2.7-r1.ebuild 
b/dev-python/enrich/enrich-1.2.7-r1.ebuild
index ad1c89166978..14a58873620b 100644
--- a/dev-python/enrich/enrich-1.2.7-r1.ebuild
+++ b/dev-python/enrich/enrich-1.2.7-r1.ebuild
@@ -4,20 +4,35 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 pypi
 
 DESCRIPTION="Extend rich functionality"
-HOMEPAGE="https://github.com/pycontribs/enrich";
+HOMEPAGE="
+       https://github.com/pycontribs/enrich/
+       https://pypi.org/project/enrich/
+"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 ~riscv ~x86"
 
-RDEPEND="dev-python/rich[${PYTHON_USEDEP}]"
+RDEPEND="
+       dev-python/rich[${PYTHON_USEDEP}]
+"
 BDEPEND="
        dev-python/setuptools-scm[${PYTHON_USEDEP}]
-       test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )"
+       test? (
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+       )
+"
 
 distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # known breakage in dev-python/rich
+       # https://github.com/Textualize/rich/issues/2172
+       # https://github.com/pycontribs/enrich/issues/40
+       src/enrich/test/test_console.py::test_rich_console_ex
+)

Reply via email to