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 2B2E6158086 for ; Tue, 28 Dec 2021 14:15:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60B7F2BC082; Tue, 28 Dec 2021 14:15:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 5D1872BC082 for ; Tue, 28 Dec 2021 14:15:13 +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 34D29342B95 for ; Tue, 28 Dec 2021 14:15:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52A9E1BD for ; Tue, 28 Dec 2021 14:15:06 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1640700898.b10b8e4302b9459c55b6f50f3f1aac52dd28a294.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbval/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nbval/nbval-0.9.6.ebuild X-VCS-Directories: dev-python/nbval/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b10b8e4302b9459c55b6f50f3f1aac52dd28a294 X-VCS-Branch: master Date: Tue, 28 Dec 2021 14:15:06 +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: 2594f9ba-f45b-46b6-91c8-c1eb6ce87552 X-Archives-Hash: ba98f6192ca8e086676f14ad38e9f8e0 commit: b10b8e4302b9459c55b6f50f3f1aac52dd28a294 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Dec 28 13:34:33 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Dec 28 14:14:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b10b8e43 dev-python/nbval: enable py3.10, fix tests Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/nbval/nbval-0.9.6.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-python/nbval/nbval-0.9.6.ebuild b/dev-python/nbval/nbval-0.9.6.ebuild index dd3f21a47ef9..d5b82cd22c6d 100644 --- a/dev-python/nbval/nbval-0.9.6.ebuild +++ b/dev-python/nbval/nbval-0.9.6.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="A py.test plugin to validate Jupyter notebooks" @@ -25,13 +25,14 @@ RDEPEND=" " BDEPEND="test? ( dev-python/sympy[${PYTHON_USEDEP}] )" -distutils_enable_tests pytest +distutils_enable_tests --install pytest python_test() { + distutils_install_for_testing local deselect=( --deselect tests/test_ignore.py::test_conf_ignore_stderr --deselect tests/test_timeouts.py::test_timeouts ) - pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}" + epytest "${deselect[@]}" }