public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/joblib/
Date: Thu, 11 Jul 2024 19:23:44 +0000 (UTC)	[thread overview]
Message-ID: <1720725815.5880e9fd79da32518ae00df7dc268f3dcb6c7d12.mgorny@gentoo> (raw)

commit:     5880e9fd79da32518ae00df7dc268f3dcb6c7d12
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 11 19:06:49 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 11 19:23:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5880e9fd

dev-python/joblib: Fix testing

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/joblib/joblib-1.4.2.ebuild | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/dev-python/joblib/joblib-1.4.2.ebuild b/dev-python/joblib/joblib-1.4.2.ebuild
index aa95f7bec3b5..9e374aea030a 100644
--- a/dev-python/joblib/joblib-1.4.2.ebuild
+++ b/dev-python/joblib/joblib-1.4.2.ebuild
@@ -27,21 +27,12 @@ RDEPEND="
 BDEPEND="
 	${RDEPEND}
 	test? (
+		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
 		dev-python/threadpoolctl[${PYTHON_USEDEP}]
 	)
 "
 
 distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
-	# https://github.com/joblib/joblib/issues/1115
-	joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter
-	# unexpectedly pickleable?
-	joblib/test/test_hashing.py::test_hashing_pickling_error
-	# https://github.com/joblib/joblib/issu
-	joblib/test/test_parallel.py::test_main_thread_renamed_no_warning
-)
-
 python_prepare_all() {
 	# unbundle
 	rm -r joblib/externals || die
@@ -53,3 +44,15 @@ python_prepare_all() {
 
 	distutils-r1_python_prepare_all
 }
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# https://github.com/joblib/joblib/issues/1115
+		joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter
+		# https://github.com/joblib/joblib/issues/1478
+		joblib/test/test_parallel.py::test_main_thread_renamed_no_warning
+	)
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	epytest -p asyncio
+}


             reply	other threads:[~2024-07-11 19:23 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-11 19:23 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-11 19:23 [gentoo-commits] repo/gentoo:master commit in: dev-python/joblib/ Michał Górny
2024-05-17  9:49 Michał Górny
2024-05-17  8:46 Arthur Zamarin
2024-05-03  3:42 Michał Górny
2024-04-24 18:13 Arthur Zamarin
2024-04-09  6:01 Michał Górny
2023-11-24 16:36 Arthur Zamarin
2023-09-17 11:26 Michał Górny
2023-08-10  2:53 Michał Górny
2023-08-02 18:52 Michał Górny
2023-08-02 16:54 Sam James
2023-06-30  2:46 Michał Górny
2023-06-29  5:12 Michał Górny
2023-06-11 16:15 Michał Górny
2023-06-11 13:53 Sam James
2023-05-11 14:43 Andrew Ammerlaan
2022-06-27  9:29 Michał Górny
2022-06-27  7:34 Agostino Sarubbo
2022-05-26 10:45 Andrew Ammerlaan
2021-11-13 10:30 Michał Górny
2021-11-13 10:06 Jakov Smolić
2021-10-07 21:48 Michał Górny
2021-09-02 22:57 Marek Szuba
2021-08-05 21:44 Michał Górny
2021-03-15  8:52 Michał Górny
2021-03-15  2:28 Sam James
2021-02-25 12:00 Sam James
2021-02-09 18:48 Michał Górny
2021-02-01 17:23 Michał Górny
2021-02-01 15:07 Agostino Sarubbo
2020-12-20 21:32 Sam James
2020-12-14 23:20 Michał Górny
2020-11-19  0:43 Michał Górny
2020-11-18 23:42 Thomas Deutschmann
2020-11-18  6:53 Agostino Sarubbo
2020-10-11  0:49 Louis Sautier
2020-08-18  5:52 Sam James
2020-07-29 10:20 Michał Górny
2020-07-02  8:29 Michał Górny
2020-06-15  7:47 Michał Górny
2020-06-14 18:55 Michał Górny
2020-06-14 13:45 Michał Górny
2020-06-01  6:41 Georgy Yakovlev
2020-05-11 17:33 Michał Górny
2020-05-04 14:38 Agostino Sarubbo
2020-04-01 21:04 Patrick McLean
2020-02-05 15:29 Michał Górny
2018-09-12  9:25 Louis Sautier
2018-08-21  8:31 Patrice Clement
2018-03-18 19:19 Michał Górny
2017-05-12 12:13 Manuel Rüger
2017-05-02 17:43 Michał Górny
2017-03-07  0:17 Sebastien Fabbro
2017-02-22 16:08 Agostino Sarubbo
2017-02-22 15:06 Agostino Sarubbo
2016-07-21 13:12 Patrick Lauer
2016-03-09 17:51 Sebastien Fabbro
2016-01-27  9:26 Justin Lecher
2015-11-03 10:24 Justin Lecher
2015-10-19 16:29 Justin Lecher
2015-08-28  7:24 Tim Harder

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=1720725815.5880e9fd79da32518ae00df7dc268f3dcb6c7d12.mgorny@gentoo \
    --to=mgorny@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