diff options
author | 2023-11-20 15:07:30 +0100 | |
---|---|---|
committer | 2023-11-20 16:02:23 +0100 | |
commit | 88f68a31caa7253e263319c396c2e79af9dc4b18 (patch) | |
tree | c502dee712c109c94ac71ec351061ee011ad6e0b /dev-python/nbclient | |
parent | dev-python/jupyter-client: Enable pypy3 (diff) | |
download | gentoo-88f68a31caa7253e263319c396c2e79af9dc4b18.tar.gz gentoo-88f68a31caa7253e263319c396c2e79af9dc4b18.tar.bz2 gentoo-88f68a31caa7253e263319c396c2e79af9dc4b18.zip |
dev-python/nbclient: Enable pypy3
Sponsored-by: Ex Makhina, Inc. <info-gentoo@exmakhina.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/nbclient')
-rw-r--r-- | dev-python/nbclient/nbclient-0.9.0.ebuild | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/dev-python/nbclient/nbclient-0.9.0.ebuild b/dev-python/nbclient/nbclient-0.9.0.ebuild index 9df0f1f9898b..4d0d33c91dd0 100644 --- a/dev-python/nbclient/nbclient-0.9.0.ebuild +++ b/dev-python/nbclient/nbclient-0.9.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi @@ -38,17 +38,10 @@ BDEPEND=" ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest EPYTEST_DESELECT=( - nbclient/tests/test_client.py::test_many_parallel_notebooks - 'nbclient/tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6]' + # hangs? + 'tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6]' ) - -python_test() { - # The tests run the pydevd debugger, the debugger prints a warning - # in python3.11 when frozen modules are being used. - # This warning makes the tests fail, silence it. - local -x PYDEVD_DISABLE_FILE_VALIDATION=1 - epytest -} |