summaryrefslogtreecommitdiff
path: root/dev-python/joblib
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-12 06:36:19 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-12 06:36:19 +0000
commit9dd2fd66ec846f7f38bd3541a0109d20ac16c29f (patch)
tree80039c99225e567ff0f1314afff40259cef6cdc2 /dev-python/joblib
parentaa075903243459bd70da1495228adba962160b3d (diff)
downloadbaldeagleos-repo-9dd2fd66ec846f7f38bd3541a0109d20ac16c29f.tar.gz
baldeagleos-repo-9dd2fd66ec846f7f38bd3541a0109d20ac16c29f.tar.xz
baldeagleos-repo-9dd2fd66ec846f7f38bd3541a0109d20ac16c29f.zip
Adding metadata
Diffstat (limited to 'dev-python/joblib')
-rw-r--r--dev-python/joblib/joblib-1.4.2.ebuild23
1 files 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 ca599dd5c44b..ba98472765bd 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
+}