From c856afee8254c4577cb760ab17574b1f93f74287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Mon, 8 Nov 2021 18:06:45 +0100 Subject: [PATCH] Pin wtforms to 2.x wtforms 3.0 is incompatible with our code. A separate issue will be filed to address the incompatibilities, but this should be enough to get working images out of it. With 3.x, we're seeing: ``` File "/home/horazont/Projects/python/snikket-web-portal/snikket_web/main.py", line 35, in LoginForm address = wtforms.TextField( AttributeError: module 'wtforms' has no attribute 'TextField' ``` and the portal fails to start. --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 97fd3d8..f4c81ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,5 @@ hsluv~=0.0.2 flask-babel~=1.0 email-validator~=1.1 environ-config~=20.0 +wtforms~=2.3 typing-extensions