python3Packages.pgcli: remove prompt_tookit version bounds

This commit is contained in:
Jonathan Ringer 2019-12-20 22:19:54 -08:00 committed by Frederik Rietdijk
parent 599fa2754b
commit 8b4996eac2

View File

@ -19,6 +19,11 @@ buildPythonApplication rec {
pygments sqlparse pgspecial setproctitle keyring
];
postPatch = ''
substituteInPlace setup.py \
--replace "prompt_toolkit>=2.0.6,<3.0.0" "prompt_toolkit"
'';
checkInputs = [ pytest mock ];
# `test_application_name_db_uri` fails: https://github.com/dbcli/pgcli/issues/1104