From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1354374-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 281C6158086
	for <garchives@archives.gentoo.org>; Sat,  1 Jan 2022 17:22:00 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5F7072BC01E;
	Sat,  1 Jan 2022 17:21:59 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 3C6592BC01E
	for <gentoo-commits@lists.gentoo.org>; Sat,  1 Jan 2022 17:21:59 +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 55741342E90
	for <gentoo-commits@lists.gentoo.org>; Sat,  1 Jan 2022 17:21:58 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DDE63246
	for <gentoo-commits@lists.gentoo.org>; Sat,  1 Jan 2022 17:21:56 +0000 (UTC)
From: "Cédric Krier" <cedk@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, "Cédric Krier" <cedk@gentoo.org>
Message-ID: <1641057707.50f3789da01c0e0683a85f67411347fbefe4a320.cedk@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-vcs/mercurial/mercurial-5.8.1.ebuild dev-vcs/mercurial/mercurial-6.0.ebuild dev-vcs/mercurial/mercurial-9999.ebuild
X-VCS-Directories: dev-vcs/mercurial/
X-VCS-Committer: cedk
X-VCS-Committer-Name: Cédric Krier
X-VCS-Revision: 50f3789da01c0e0683a85f67411347fbefe4a320
X-VCS-Branch: master
Date: Sat,  1 Jan 2022 17:21:56 +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: 3a76a9cc-969f-48fd-b8a7-7e880c82bba7
X-Archives-Hash: bb3224a780e3307e85ce783d60b8d4b2

commit:     50f3789da01c0e0683a85f67411347fbefe4a320
Author:     Cédric Krier <cedk <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 17:21:04 2022 +0000
Commit:     Cédric Krier <cedk <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 17:21:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f3789d

dev-vcs/mercurial: Skip test for Python 3.10

The mercurial tests are not yet supporting Python 3.10.

Closes: https://bugs.gentoo.org/829589
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Cédric Krier <cedk <AT> gentoo.org>

 dev-vcs/mercurial/mercurial-5.8.1.ebuild | 6 ++++--
 dev-vcs/mercurial/mercurial-6.0.ebuild   | 4 ++++
 dev-vcs/mercurial/mercurial-9999.ebuild  | 4 ++++
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/mercurial/mercurial-5.8.1.ebuild b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
index b0dd6d923ed1..001bdb53dcb0 100644
--- a/dev-vcs/mercurial/mercurial-5.8.1.ebuild
+++ b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
@@ -291,8 +291,10 @@ src_test() {
 }
 
 python_test() {
-	local TEST_DIR
-
+	if [[ ${EPYTHON} == python3.10 ]]; then
+		einfo "Skipping tests for unsupported Python 3.10"
+		return
+	fi
 	distutils_install_for_testing
 	cd tests || die
 	PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \

diff --git a/dev-vcs/mercurial/mercurial-6.0.ebuild b/dev-vcs/mercurial/mercurial-6.0.ebuild
index 2626b7df8aeb..3fbbe98117a5 100644
--- a/dev-vcs/mercurial/mercurial-6.0.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.0.ebuild
@@ -281,6 +281,10 @@ src_test() {
 }
 
 python_test() {
+	if [[ ${EPYTHON} == python3.10 ]]; then
+		einfo "Skipping tests for unsupported Python 3.10"
+		return
+	fi
 	distutils_install_for_testing
 	cd tests || die
 	PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \

diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild
index b1bfcc0dae1f..d60f93143ed4 100644
--- a/dev-vcs/mercurial/mercurial-9999.ebuild
+++ b/dev-vcs/mercurial/mercurial-9999.ebuild
@@ -164,6 +164,10 @@ src_test() {
 }
 
 python_test() {
+	if [[ ${EPYTHON} == python3.10 ]]; then
+		einfo "Skipping tests for unsupported Python 3.10"
+		return
+	fi
 	distutils_install_for_testing
 	cd tests || die
 	PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \