Skip to content

Commit 421d6da

Browse files
committed
python39Packages.jupyter-client: Fix build for Python 3.9
1 parent e31c8b2 commit 421d6da

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • pkgs/development/python-modules/jupyter-client

pkgs/development/python-modules/jupyter-client/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
, traitlets
1212
, isPyPy
1313
, py
14+
, pythonOlder
15+
, importlib-metadata
1416
}:
1517

1618
buildPythonPackage rec {
@@ -35,6 +37,8 @@ buildPythonPackage rec {
3537
pyzmq
3638
tornado
3739
traitlets
40+
] ++ lib.optionals (pythonOlder "3.10") [
41+
importlib-metadata
3842
] ++ lib.optional isPyPy py;
3943

4044
# Circular dependency with ipykernel

0 commit comments

Comments
 (0)