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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4E683158091 for ; Thu, 12 May 2022 14:18:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30E35E0886; Thu, 12 May 2022 14:18:12 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15E50E0886 for ; Thu, 12 May 2022 14:18:12 +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 1591D3417CE for ; Thu, 12 May 2022 14:18:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75D5D448 for ; Thu, 12 May 2022 14:18:09 +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: <1652365085.be9aa9d6fdc1da5f664ead6408781808cd35efe3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-subtests/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild X-VCS-Directories: dev-python/pytest-subtests/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: be9aa9d6fdc1da5f664ead6408781808cd35efe3 X-VCS-Branch: master Date: Thu, 12 May 2022 14:18:09 +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: e5758c43-7614-4831-bc14-09ac92b4c29f X-Archives-Hash: f35f3b105e7683ef041926089cc84e71 commit: be9aa9d6fdc1da5f664ead6408781808cd35efe3 Author: Michał Górny gentoo org> AuthorDate: Thu May 12 14:04:56 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 12 14:18:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9aa9d6 dev-python/pytest-subtests: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild index ff8252c2c7b9..025563e96424 100644 --- a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild +++ b/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 @@ -27,7 +27,8 @@ BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest @@ -36,5 +37,13 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # broken by output changes + # https://github.com/pytest-dev/pytest-subtests/issues/69 + "tests/test_subtests.py::TestSubTest::test_simple_terminal_normal[unittest]" + "tests/test_subtests.py::TestSubTest::test_simple_terminal_verbose[unittest]" + ) + epytest }