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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4C93E139337 for ; Mon, 2 Aug 2021 08:17:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4273E09B0; Mon, 2 Aug 2021 08:17:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB18DE09A8 for ; Mon, 2 Aug 2021 08:17:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A2483439F5 for ; Mon, 2 Aug 2021 08:17:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3316898 for ; Mon, 2 Aug 2021 08:17:11 +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: <1627892218.06d5f232947e1e701742d983762c71847534ec2d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-sql/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/agate-sql/agate-sql-0.5.7.ebuild X-VCS-Directories: dev-python/agate-sql/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 06d5f232947e1e701742d983762c71847534ec2d X-VCS-Branch: master Date: Mon, 2 Aug 2021 08:17:11 +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: 92371c0b-4674-4f22-b28c-c63f014e82ab X-Archives-Hash: 81fd4e15fb76cc594ee7729bcbecbfb9 commit: 06d5f232947e1e701742d983762c71847534ec2d Author: Arthur Zamarin gmail com> AuthorDate: Fri Jul 30 17:48:31 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 2 08:16:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d5f232 dev-python/agate-sql: enable py3.10 Signed-off-by: Arthur Zamarin gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/agate-sql/agate-sql-0.5.7.ebuild | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/dev-python/agate-sql/agate-sql-0.5.7.ebuild b/dev-python/agate-sql/agate-sql-0.5.7.ebuild index e58ff6efb20..a5527246e03 100644 --- a/dev-python/agate-sql/agate-sql-0.5.7.ebuild +++ b/dev-python/agate-sql/agate-sql-0.5.7.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Adds SQL read/write support to agate." @@ -42,16 +42,9 @@ python_prepare_all() { } python_test() { - local pytest_args test_name xfails - - xfails=( + local deselect=( tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_schema ) - - for test_name in "${xfails[@]}"; do - pytest_args+=(--deselect "${test_name}") - done - - epytest "${pytest_args[@]}" + epytest ${deselect[@]/#/--deselect } }