From 7462db1dc7b02ba8d721187c7cd9377b57da4885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 18 Feb 2025 15:11:01 +0100 Subject: [PATCH] dev-python/sphinx: Enable pypy3.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/sphinx/sphinx-8.1.3.ebuild | 20 +++++++++++--------- dev-python/sphinx/sphinx-8.2.0_rc2.ebuild | 18 ++++++++++-------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/dev-python/sphinx/sphinx-8.1.3.ebuild b/dev-python/sphinx/sphinx-8.1.3.ebuild index 596f141e65bb6..f8e2a4439bd07 100644 --- a/dev-python/sphinx/sphinx-8.1.3.ebuild +++ b/dev-python/sphinx/sphinx-8.1.3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -103,15 +103,17 @@ python_test() { tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html ) case ${EPYTHON} in - python3.13x) + pypy3.11) EPYTEST_DESELECT+=( - tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_format_fully_qualified - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_none - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_signature + # TODO + tests/test_util/test_util_inspect.py::test_is_classmethod_descriptor + tests/test_util/test_util_inspect.py::test_is_builtin_classmethod_like + # minor repr() differences + tests/test_util/test_util_typing.py::test_restify + tests/test_util/test_util_typing.py::test_stringify_annotation + tests/test_util/test_util_typing.py::test_stringify_type_union_operator ) - ;; + ;& pypy3) EPYTEST_DESELECT+=( tests/test_extensions/test_ext_autodoc.py::test_autodoc_exception diff --git a/dev-python/sphinx/sphinx-8.2.0_rc2.ebuild b/dev-python/sphinx/sphinx-8.2.0_rc2.ebuild index 3411635d690ab..4cf5c3548b7a0 100644 --- a/dev-python/sphinx/sphinx-8.2.0_rc2.ebuild +++ b/dev-python/sphinx/sphinx-8.2.0_rc2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..13} pypy3_11 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -100,15 +100,17 @@ python_test() { tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html ) case ${EPYTHON} in - python3.13x) + pypy3.11) EPYTEST_DESELECT+=( - tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_format_fully_qualified - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_none - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_signature + # TODO + tests/test_util/test_util_inspect.py::test_is_classmethod_descriptor + tests/test_util/test_util_inspect.py::test_is_builtin_classmethod_like + # minor repr() differences + tests/test_util/test_util_typing.py::test_restify + tests/test_util/test_util_typing.py::test_stringify_annotation + tests/test_util/test_util_typing.py::test_stringify_type_union_operator ) - ;; + ;& pypy3) EPYTEST_DESELECT+=( tests/test_extensions/test_ext_autodoc.py::test_autodoc_exception