mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
pythonPackages.jupyter_console: fix prompt_toolkit vers bounds
This commit is contained in:
parent
7917f24840
commit
90dd235666
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue