From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1599014-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 ACB0F15815E
	for <garchives@archives.gentoo.org>; Sat, 10 Feb 2024 03:24:35 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B52142BC023;
	Sat, 10 Feb 2024 03:24:33 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9DEF62BC023
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Feb 2024 03:24:33 +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 B17C23431AA
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Feb 2024 03:24:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C539814CF
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Feb 2024 03:24:29 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1707535424.284e7fe37a8d18cc1f3e737a05a6d196dc7ae6c9.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/aiohttp/aiohttp-3.9.1.ebuild dev-python/aiohttp/aiohttp-3.9.2.ebuild dev-python/aiohttp/aiohttp-3.9.3.ebuild
X-VCS-Directories: dev-python/aiohttp/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 284e7fe37a8d18cc1f3e737a05a6d196dc7ae6c9
X-VCS-Branch: master
Date: Sat, 10 Feb 2024 03:24: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: 95487e8e-3ae1-4fe8-9d34-be3ece1b73b5
X-Archives-Hash: c7b93bde6d55a0ff1481270298ab1888

commit:     284e7fe37a8d18cc1f3e737a05a6d196dc7ae6c9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 03:13:52 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 03:23:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284e7fe3

dev-python/aiohttp: only depend on dev-python/regex for tests w/o pypy

Skip tests importing re_assert for pypy.

Bug: https://bugs.gentoo.org/924136
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/aiohttp/aiohttp-3.9.1.ebuild | 12 ++++++++++--
 dev-python/aiohttp/aiohttp-3.9.2.ebuild | 10 +++++++++-
 dev-python/aiohttp/aiohttp-3.9.3.ebuild | 10 +++++++++-
 3 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/dev-python/aiohttp/aiohttp-3.9.1.ebuild b/dev-python/aiohttp/aiohttp-3.9.1.ebuild
index 52c9a3b75738..f878b034c59f 100644
--- a/dev-python/aiohttp/aiohttp-3.9.1.ebuild
+++ b/dev-python/aiohttp/aiohttp-3.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -40,8 +40,8 @@ BDEPEND="
 		dev-python/pytest-forked[${PYTHON_USEDEP}]
 		dev-python/pytest-mock[${PYTHON_USEDEP}]
 		dev-python/pytest-xdist[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
 		$(python_gen_cond_dep '
+			dev-python/re-assert[${PYTHON_USEDEP}]
 			dev-python/time-machine[${PYTHON_USEDEP}]
 		' 'python3*')
 		test-rust? (
@@ -107,6 +107,14 @@ python_test() {
 			# on PyPy3 but the test suite needs an explicit switch,
 			# sigh
 			local -x AIOHTTP_NO_EXTENSIONS=1
+
+			EPYTEST_IGNORE+=(
+				# Skip tests requiring dev-python/re-assert -> dev-python/regex
+				tests/test_streams.py
+				tests/test_urldispatch.py
+				tests/test_client_session.py
+				tests/test_web_response.py
+			)
 			;;
 	esac
 

diff --git a/dev-python/aiohttp/aiohttp-3.9.2.ebuild b/dev-python/aiohttp/aiohttp-3.9.2.ebuild
index 9cf851e1a006..1204601b7270 100644
--- a/dev-python/aiohttp/aiohttp-3.9.2.ebuild
+++ b/dev-python/aiohttp/aiohttp-3.9.2.ebuild
@@ -40,8 +40,8 @@ BDEPEND="
 		dev-python/pytest-forked[${PYTHON_USEDEP}]
 		dev-python/pytest-mock[${PYTHON_USEDEP}]
 		dev-python/pytest-xdist[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
 		$(python_gen_cond_dep '
+			dev-python/re-assert[${PYTHON_USEDEP}]
 			dev-python/time-machine[${PYTHON_USEDEP}]
 		' 'python3*')
 		test-rust? (
@@ -107,6 +107,14 @@ python_test() {
 			# on PyPy3 but the test suite needs an explicit switch,
 			# sigh
 			local -x AIOHTTP_NO_EXTENSIONS=1
+
+			EPYTEST_IGNORE+=(
+				# Skip tests requiring dev-python/re-assert -> dev-python/regex
+				tests/test_streams.py
+				tests/test_urldispatch.py
+				tests/test_client_session.py
+				tests/test_web_response.py
+			)
 			;;
 	esac
 

diff --git a/dev-python/aiohttp/aiohttp-3.9.3.ebuild b/dev-python/aiohttp/aiohttp-3.9.3.ebuild
index 9cf851e1a006..1204601b7270 100644
--- a/dev-python/aiohttp/aiohttp-3.9.3.ebuild
+++ b/dev-python/aiohttp/aiohttp-3.9.3.ebuild
@@ -40,8 +40,8 @@ BDEPEND="
 		dev-python/pytest-forked[${PYTHON_USEDEP}]
 		dev-python/pytest-mock[${PYTHON_USEDEP}]
 		dev-python/pytest-xdist[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
 		$(python_gen_cond_dep '
+			dev-python/re-assert[${PYTHON_USEDEP}]
 			dev-python/time-machine[${PYTHON_USEDEP}]
 		' 'python3*')
 		test-rust? (
@@ -107,6 +107,14 @@ python_test() {
 			# on PyPy3 but the test suite needs an explicit switch,
 			# sigh
 			local -x AIOHTTP_NO_EXTENSIONS=1
+
+			EPYTEST_IGNORE+=(
+				# Skip tests requiring dev-python/re-assert -> dev-python/regex
+				tests/test_streams.py
+				tests/test_urldispatch.py
+				tests/test_client_session.py
+				tests/test_web_response.py
+			)
 			;;
 	esac