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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E48FE158041 for ; Sat, 2 Mar 2024 20:37:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0342EE2A28; Sat, 2 Mar 2024 20:37:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7AD0E2A28 for ; Sat, 2 Mar 2024 20:37:25 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B29B33BE18 for ; Sat, 2 Mar 2024 20:37:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FF5F1049 for ; Sat, 2 Mar 2024 20:37:23 +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: <1709411497.0a503d866fd9afdcd81f13b4db73e3d8f2c9cec8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pymdown-extensions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild X-VCS-Directories: dev-python/pymdown-extensions/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0a503d866fd9afdcd81f13b4db73e3d8f2c9cec8 X-VCS-Branch: master Date: Sat, 2 Mar 2024 20:37:23 +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: fa31d0c9-6b7b-413d-aeb9-4e377578cfda X-Archives-Hash: f07d83e8b9946026c94939d3acd1b2ac commit: 0a503d866fd9afdcd81f13b4db73e3d8f2c9cec8 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 2 20:31:37 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 2 20:31:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a503d86 dev-python/pymdown-extensions: Skip failing test properly Closes: https://bugs.gentoo.org/926017 Signed-off-by: Michał Górny gentoo.org> .../pymdown-extensions/pymdown-extensions-10.7.ebuild | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild index b625aeccdfcc..69a0a4e1cc22 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild @@ -31,16 +31,17 @@ BDEPEND=" distutils_enable_tests pytest -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - 'tests/test_syntax.py::test_extensions[compare54]' - ) - ;; - esac +src_prepare() { + # broken on pypy3; unfortunately, the parametrization is based + # on indexes and these are pretty random, so we need to remove it + # entirely + # TODO: restore it when pypy with a fix is in Gentoo + # https://github.com/pypy/pypy/issues/4920 + rm "tests/extensions/superfences/superfences (normal).txt" || die + distutils-r1_src_prepare +} +python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest }