python310Packages.jupyter-console: propagate exceptiongroup

This is a built-in on 3.11 and newer, so propagate it on older python
releases.
This commit is contained in:
Martin Weinelt
2023-09-27 15:34:44 +02:00
parent 61ceb29920
commit 7d44643145
@@ -2,9 +2,9 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, substituteAll
, hatchling
, ipykernel
, exceptiongroup
, ipython
, jupyter-client
, jupyter-core
@@ -51,6 +51,8 @@ buildPythonPackage rec {
pygments
pyzmq
traitlets
] ++ lib.optionals (pythonOlder "3.11") [
exceptiongroup
];
pythonImportsCheck = [