python3Packages.ihatemoney: unbreak with flask-wtf 1.0.0

This commit is contained in:
Guillaume Girol 2021-11-14 12:00:00 +00:00
parent 01340b1e7c
commit 497cc96f32

View file

@ -132,6 +132,13 @@ buildPythonPackage rec {
debts
];
# upstream performed the update without needing to patch the code
# the original patch does not apply, sadly
# https://github.com/spiral-project/ihatemoney/pull/912
postPatch = ''
substituteInPlace setup.cfg --replace "Flask-WTF>=0.14.3,<1" "Flask-WTF>=0.14.3,<2"
'';
checkInputs = [
flask_testing
pytestCheckHook