From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1623386-garchives=archives.gentoo.org@lists.gentoo.org>
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 C39011581E7
	for <garchives@archives.gentoo.org>; Sun, 21 Apr 2024 15:46:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CA8AEE29CB;
	Sun, 21 Apr 2024 15:46:31 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 AA799E29CB
	for <gentoo-commits@lists.gentoo.org>; Sun, 21 Apr 2024 15:46:31 +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 B6EF9343519
	for <gentoo-commits@lists.gentoo.org>; Sun, 21 Apr 2024 15:46:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 087AB174B
	for <gentoo-commits@lists.gentoo.org>; Sun, 21 Apr 2024 15:46:29 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
Message-ID: <1713714385.ba689db1426fc5b2b04a8627d210d34b65a642a7.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-2.0.0-r1.ebuild
X-VCS-Directories: dev-python/myst-parser/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: ba689db1426fc5b2b04a8627d210d34b65a642a7
X-VCS-Branch: master
Date: Sun, 21 Apr 2024 15:46:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: cec43e27-592c-464d-91f0-9b9ab0c4f6eb
X-Archives-Hash: 25f7a117896697ded41c6641e54c2165

commit:     ba689db1426fc5b2b04a8627d210d34b65a642a7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 15:44:59 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 15:46:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba689db1

dev-python/myst-parser: Deselect tests failing with Sphinx 7.3.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild
index 2d897d5f9417..7d5eb87dbe12 100644
--- a/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild
+++ b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild
@@ -62,3 +62,20 @@ src_prepare() {
 	# unpin docutils
 	sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die
 }
+
+python_test() {
+	local EPYTEST_DESELECT=()
+
+	if has_version ">=dev-python/sphinx-7.3"; then
+		EPYTEST_DESELECT+=(
+			# https://github.com/executablebooks/MyST-Parser/issues/913
+			'tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[298-Sphinx Role containing backtick:]'
+			'tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[341-versionadded (`sphinx.domains.changeset.VersionChange`):]'
+			tests/test_sphinx/test_sphinx_builds.py::test_references_singlehtml
+			tests/test_sphinx/test_sphinx_builds.py::test_heading_slug_func
+			tests/test_sphinx/test_sphinx_builds.py::test_gettext_html
+		)
+	fi
+
+	epytest
+}