python3Packages.ipykernel: 6.11.0 -> 6.12.1

This commit is contained in:
Martin Weinelt 2022-04-05 05:29:10 +02:00
parent 00f38e1a83
commit 41d6a4e19c

View file

@ -3,35 +3,37 @@
, callPackage , callPackage
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, argcomplete
, ipython , ipython
, jupyter-client , jupyter-client
, packaging
, psutil
, tornado , tornado
, traitlets , traitlets
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ipykernel"; pname = "ipykernel";
version = "6.11.0"; version = "6.12.1";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-ZxJgRTHJYQDzJkQMEcsCPaJoGfLzS6nRyg+xY0AYNOg="; sha256 = "sha256-CGj1VhcpreREAR+Mp9NQLcnyf39E4g8dX+5+Hytxg6E=";
}; };
# debugpy is optional, see https://github.com/ipython/ipykernel/pull/767 # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
postPatch = '' postPatch = ''
substituteInPlace setup.py \ sed -i "/debugpy/d" setup.py
--replace "'debugpy>=1.0.0,<2.0'," ""
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [
ipython ipython
jupyter-client jupyter-client
packaging
psutil
tornado tornado
traitlets traitlets
] ++ lib.optionals (pythonOlder "3.8") [
argcomplete
]; ];
# check in passthru.tests.pytest to escape infinite recursion with ipyparallel # check in passthru.tests.pytest to escape infinite recursion with ipyparallel