diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-12-22 12:37:58 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-12-30 16:46:51 +0100 |
commit | 90dd23566639665410cfb7beec832035854b09ae (patch) | |
tree | 8a96c4fa445b408e3d50101090c8b6bf5b932d0e /pkgs/development/python-modules/jupyter_console | |
parent | 7917f24840dadd9fa12f2fca6e8b313824366df5 (diff) |
pythonPackages.jupyter_console: fix prompt_toolkit vers bounds
Diffstat (limited to 'pkgs/development/python-modules/jupyter_console')
-rw-r--r-- | pkgs/development/python-modules/jupyter_console/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/jupyter_console/default.nix b/pkgs/development/python-modules/jupyter_console/default.nix index f8cf8b3076a74..9200e004d0c64 100644 --- a/pkgs/development/python-modules/jupyter_console/default.nix +++ b/pkgs/development/python-modules/jupyter_console/default.nix @@ -20,7 +20,6 @@ buildPythonPackage rec { sha256 = "308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5"; }; - checkInputs = [ nose ]; propagatedBuildInputs = [ jupyter_client ipython @@ -28,6 +27,12 @@ buildPythonPackage rec { prompt_toolkit pygments ]; + checkInputs = [ nose ]; + + postPatch = '' + substituteInPlace setup.py \ + --replace "prompt_toolkit>=2.0.0,<2.1.0" "prompt_toolkit" + ''; # ValueError: underlying buffer has been detached doCheck = false; |