commit: 654191777a02ac9f9df0de603d69c3050e8d2e61
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 16:14:50 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 16:09:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65419177
dev-python/black: Enable pypy3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/black/black-25.1.0.ebuild | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/dev-python/black/black-25.1.0.ebuild
b/dev-python/black/black-25.1.0.ebuild
index e6e7d264c730..1ce936c6f8c2 100644
--- a/dev-python/black/black-25.1.0.ebuild
+++ b/dev-python/black/black-25.1.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
inherit distutils-r1 optfeature pypi
@@ -45,6 +45,18 @@ BDEPEND="
distutils_enable_tests pytest
python_test() {
+ local EPYTEST_DESELECT=()
+
+ case ${EPYTHON} in
+ pypy3.11)
+ EPYTEST_DESELECT+=(
+ # https://github.com/psf/black/issues/4582
+
'tests/test_format.py::test_simple_format[backslash_before_indent]'
+
'tests/test_format.py::test_simple_format[form_feeds]'
+ )
+ ;;
+ esac
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
# pytest-forked to workaround fd leakage in blackd
# https://github.com/psf/black/issues/4504