Merge pull request #145966 from r-ryantm/auto-update/python38Packages.flask_wtf

python38Packages.flask_wtf: 0.15.1 -> 1.0.0
This commit is contained in:
Jörg Thalheim 2021-11-18 13:37:18 +00:00 committed by GitHub
commit 288b43da76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Flask-WTF";
version = "0.15.1";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "ff177185f891302dc253437fe63081e7a46a4e99aca61dfe086fb23e54fff2dc";
sha256 = "872fbb17b5888bfc734edbdcf45bc08fb365ca39f69d25dc752465a455517b28";
};
propagatedBuildInputs = [ flask wtforms nose ];

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