Support #7622
closedForms throw TypeError in Flask-WTF 1.1.0+
0%
Description
In Flask-WTF 1.1.0+, method form.validate_on_submit() calls form.validate(extra_validators=extra_validators), but currently used version of WTForms (2.2.1) does not support this parameter in form.validate(). This results in TypeError: validate() got an unexpected keyword argument 'extra_validators'.
Possible solutions are to add 'flask-wtf<1.1.0' to requirements.pip, or upgrade WTForms to version 2.3.1 or higher.
Details about this problem can be found here https://github.com/wtforms/flask-wtf/issues/547.
Related issues
Updated by Rajmund Hruška almost 2 years ago
- Status changed from New to In Review
- Target version changed from Backlog to 2.11
Merged the proposed solution to devel.
Pavel Kácha shall the update of WTForms (and possibly other packages) be handled in this issue or we will create a new issue?
Updated by Pavel Kácha over 1 year ago
Rajmund Hruška wrote in #note-1:
Merged the proposed solution to devel.
Pavel Kácha shall the update of WTForms (and possibly other packages) be handled in this issue or we will create a new issue?
How about keeping this separate and go for a "big upgrade" in #7619?
Updated by Radko Krkoš over 1 year ago
- Related to Support #7632: Mentat dependencies upgrade added
Updated by Rajmund Hruška over 1 year ago
- Status changed from In Review to Closed
- To be discussed deleted (
Yes)