commit: 4c9177c957249c09f45afbc296dbdbac853b5892
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 14:10:54 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 14:21:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9177c9
dev-python/nbclassic: Use EPYTEST_PLUGINS
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/nbclassic/nbclassic-1.3.1.ebuild | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dev-python/nbclassic/nbclassic-1.3.1.ebuild
b/dev-python/nbclassic/nbclassic-1.3.1.ebuild
index 9dc717cda7cf..de14b9340448 100644
--- a/dev-python/nbclassic/nbclassic-1.3.1.ebuild
+++ b/dev-python/nbclassic/nbclassic-1.3.1.ebuild
@@ -30,8 +30,6 @@ BDEPEND="
dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}]
test? (
dev-python/nbval[${PYTHON_USEDEP}]
- dev-python/pytest-jupyter[${PYTHON_USEDEP}]
- dev-python/pytest-tornasync[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-unixsocket[${PYTHON_USEDEP}]
dev-python/testpath[${PYTHON_USEDEP}]
@@ -41,6 +39,7 @@ BDEPEND="
)
"
+EPYTEST_PLUGINS=( pytest-{jupyter,tornasync} )
distutils_enable_tests pytest
distutils_enable_sphinx docs/source \
dev-python/pydata-sphinx-theme \
@@ -67,12 +66,10 @@ src_prepare() {
}
python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-
# Notebook interferes with our tests, pretend it does not exist
echo "raise ImportError" > notebook.py || die
- epytest -p pytest_tornasync.plugin
+ epytest
}
python_install_all() {