Page MenuHomePhabricator

Change WTForms version in requirements file
Closed, ResolvedPublic

Description

While attempting a fresh local setup, I noticed that the module flask_wtf was not responsive thereby causing the application not to run as expected due to the failing module.

The cause is not known yet (though i think we may be trying to reference wtforms.fields.html5 which is not found).

This could probably be fixed with changing the version or the module entirely.

Event Timeline

I got this too when setting up the dev instance. The reason is that in WTForms 3.0.0 moves things from fields.html5 to just fields. Specifying WTForms==2.* for Pip is enough to fix this, but it would be better to have a look at updating the code so it runs with the latest WTForms instead, if that's not to much work.

it would be better to have a look at updating the code so it runs with the latest WTForms instead, if that's not to much work.

Thanks for bringing this up @Sebastian_Berlin-WMSE . I have created a task to address this in T312068

Change 811695 had a related patch set uploaded (by Eugene233; author: Eugene233):

[labs/tools/Isa@master] Change WTForms version in requirements file

https://gerrit.wikimedia.org/r/811695

Change 811695 merged by jenkins-bot:

[labs/tools/Isa@master] Change WTForms version in requirements file

https://gerrit.wikimedia.org/r/811695