public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbval/
Date: Tue, 28 Dec 2021 14:15:06 +0000 (UTC)	[thread overview]
Message-ID: <1640700898.b10b8e4302b9459c55b6f50f3f1aac52dd28a294.andrewammerlaan@gentoo> (raw)

commit:     b10b8e4302b9459c55b6f50f3f1aac52dd28a294
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 13:34:33 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> 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 <andrewammerlaan <AT> 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[@]}"
 }


             reply	other threads:[~2021-12-28 14:15 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28 14:15 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-05 14:54 [gentoo-commits] repo/gentoo:master commit in: dev-python/nbval/ Nowa Ammerlaan
2024-03-21 17:45 Arthur Zamarin
2024-03-04 16:26 Michał Górny
2023-11-20 19:29 Michał Górny
2023-11-20 19:29 Michał Górny
2023-10-24 17:51 Michał Górny
2023-10-15 15:46 Michał Górny
2023-06-13 18:23 Arthur Zamarin
2023-05-06 10:22 Michał Górny
2023-05-06  9:58 Arthur Zamarin
2023-05-01  7:16 Arthur Zamarin
2023-05-01  7:16 Arthur Zamarin
2023-04-23 22:12 Sam James
2023-04-23  9:44 Jakov Smolić
2023-04-23  9:44 Jakov Smolić
2023-04-22 19:44 Sam James
2023-04-22 16:44 Arthur Zamarin
2023-04-16 12:11 WANG Xuerui
2023-04-14 22:30 Sam James
2023-04-14 21:02 Sam James
2023-04-14 20:43 Sam James
2023-04-14 20:25 Sam James
2023-04-14 20:07 Sam James
2023-04-14  4:19 Sam James
2023-04-14  4:05 Sam James
2023-03-16  4:03 Michał Górny
2023-03-11  6:37 Yixun Lan
2023-03-08 19:36 Andrew Ammerlaan
2023-02-18 10:21 Sam James
2023-01-29 12:09 Andrew Ammerlaan
2021-03-05  9:09 Andreas Sturmlechner
2021-03-04 10:42 Agostino Sarubbo
2021-03-03 16:17 Sam James
2021-03-03 14:15 Sam James
2020-09-06  0:40 Thomas Deutschmann
2020-09-05  6:08 Michał Górny
2020-09-02  9:12 Michał Górny
2020-03-28  9:20 Michał Górny
2019-12-15 14:50 Agostino Sarubbo
2019-05-04 22:58 Virgil Dupras
2017-11-30 14:47 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1640700898.b10b8e4302b9459c55b6f50f3f1aac52dd28a294.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox