python3Packages.ihatemoney: fix build

This commit is contained in:
Robert Schütz 2022-03-03 02:36:12 +00:00 committed by Jonathan Ringer
parent b6287065b9
commit 77f77acffc

View File

@ -96,6 +96,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.cfg \
--replace "cachetools>=4.1,<5" "cachetools>=4.1" \
--replace "Flask-WTF>=0.14.3,<1" "Flask-WTF>=0.14.3,<2" \
--replace "SQLAlchemy>=1.3.0,<1.4" "SQLAlchemy>=1.3.0,<1.5" \
--replace "WTForms>=2.3.1,<2.4" "WTForms"
@ -106,7 +107,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportChecks = [ "ihatemoney" ];
pythonImportsCheck = [ "ihatemoney" ];
disabledTests = [
"test_notifications" # requires running service.