commit: 1da2d9a339dc70f7a21902684589dfd15bff4499
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 27 09:46:13 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Oct 27 09:48:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da2d9a3
dev-python/nbclient: enable py3.11
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/nbclient/nbclient-0.7.0.ebuild | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dev-python/nbclient/nbclient-0.7.0.ebuild
b/dev-python/nbclient/nbclient-0.7.0.ebuild
index 343192040c27..90bf73d4d736 100644
--- a/dev-python/nbclient/nbclient-0.7.0.ebuild
+++ b/dev-python/nbclient/nbclient-0.7.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -45,3 +45,10 @@ EPYTEST_DESELECT=(
nbclient/tests/test_client.py::test_many_parallel_notebooks
'nbclient/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.
+ PYDEVD_DISABLE_FILE_VALIDATION=1 epytest
+}