commit: 8b1c0df316da8694b98099f9520c1c542e4f3c96
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 17:45:22 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 17:51:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1c0df3
dev-python/jupyter-events: Enable py3.12 in 0.6.3
TODO: we need to remove it, and wd40 all revdeps, sigh.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jupyter-events/jupyter-events-0.6.3.ebuild | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/dev-python/jupyter-events/jupyter-events-0.6.3.ebuild
b/dev-python/jupyter-events/jupyter-events-0.6.3.ebuild
index 01ada11cc180..2b3db8655ef1 100644
--- a/dev-python/jupyter-events/jupyter-events-0.6.3.ebuild
+++ b/dev-python/jupyter-events/jupyter-events-0.6.3.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
@@ -38,3 +38,18 @@ BDEPEND="
# TODO: package jupyterlite-sphinx
# distutils_enable_sphinx docs
distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=()
+
+ case ${EPYTHON} in
+ python3.12)
+ EPYTEST_DESELECT+=(
+ tests/test_logger.py::test_emit
+
tests/test_logger.py::test_unique_logger_instances
+ )
+ ;;
+ esac
+
+ epytest
+}