From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09371158094 for ; Fri, 24 Jun 2022 15:46:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1D9FE07A5; Fri, 24 Jun 2022 15:46:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40CD1E07A5 for ; Fri, 24 Jun 2022 15:46:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6064334178D for ; Fri, 24 Jun 2022 15:46:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 910E3518 for ; Fri, 24 Jun 2022 15:46:00 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1656085557.b6d260fdd302c24cb3b06149f4cc03715d77cfaa.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/myst_parser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/myst_parser/myst_parser-0.18.0.ebuild X-VCS-Directories: dev-python/myst_parser/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b6d260fdd302c24cb3b06149f4cc03715d77cfaa X-VCS-Branch: master Date: Fri, 24 Jun 2022 15:46:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d0389032-13e2-4885-8e96-de542e9ee4bd X-Archives-Hash: 964446e7383315212d4a65ea4df409d3 commit: b6d260fdd302c24cb3b06149f4cc03715d77cfaa Author: Michał Górny gentoo org> AuthorDate: Fri Jun 24 15:21:47 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 24 15:45:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6d260fd dev-python/myst_parser: Enable pypy3 Signed-off-by: Michał Górny gentoo.org> dev-python/myst_parser/myst_parser-0.18.0.ebuild | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/dev-python/myst_parser/myst_parser-0.18.0.ebuild b/dev-python/myst_parser/myst_parser-0.18.0.ebuild index 607aca9eec4a..bc0af0f8d333 100644 --- a/dev-python/myst_parser/myst_parser-0.18.0.ebuild +++ b/dev-python/myst_parser/myst_parser-0.18.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 @@ -43,10 +43,19 @@ BDEPEND=" ) " -EPYTEST_DESELECT=( - # Unimportant tests needing a new dep linkify - tests/test_renderers/test_myst_config.py::test_cmdline - tests/test_sphinx/test_sphinx_builds.py::test_extended_syntaxes -) - distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Unimportant tests needing a new dep linkify + tests/test_renderers/test_myst_config.py::test_cmdline + tests/test_sphinx/test_sphinx_builds.py::test_extended_syntaxes + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + # bad test relying on exact exception messages + "tests/test_renderers/test_include_directive.py::test_errors[9-Non-existent path:]" + ) + + epytest +}