From 9b36f26e9a6564f37651ea5645b53ee1b75682d9 Mon Sep 17 00:00:00 2001 From: Nicholas Kumia Date: Mon, 3 Jul 2023 14:19:35 -0400 Subject: [PATCH] update: Flask-WTF to support newer flask AttributeError: module 'flask.json' has no attribute 'JSONEncoder' --- requirements.in.txt | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.in.txt b/requirements.in.txt index 5e0bde55..ee04fc64 100644 --- a/requirements.in.txt +++ b/requirements.in.txt @@ -32,7 +32,7 @@ Flask>=2.2.5 Flask-Babel==1.0.0 flask-multistatic==1.0 Flask-Login==0.6.2 -Flask-WTF==1.0.1 +Flask-WTF==1.1.1 Jinja2==3.1.2 PyJWT==2.4.0 # Upgraded to pass security scans Markdown==3.4.1 # Upgraded https://github.com/GSA/data.gov/issues/4056 diff --git a/requirements.txt b/requirements.txt index 21567e1b..aab8a3da 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,7 +32,7 @@ Flask==2.3.2 Flask-Babel==1.0.0 Flask-Login==0.6.2 flask-multistatic==1.0 -Flask-WTF==1.0.1 +Flask-WTF==1.1.1 gevent==22.10.2 greenlet==2.0.2 gunicorn==20.1.0