Skip to content

Commit

Permalink
upgrades WTForms to 3.0.0 activating HTML->Markup deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Dec 19, 2021
1 parent ab3f96c commit a0f9277
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions fb4/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
from flask import render_template_string, request, Markup
import os
import site
import sys
import jinja2
from xml.dom import minidom

from wtforms import FileField, StringField
from wtforms.widgets import HTMLString, html_params
from wtforms.widgets import html_params


class Widget(object):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SQLAlchemy-Utils
# https://pypi.org/project/Flask-WTF/
Flask-WTF
# https://pypi.org/project/WTForms
WTForms~=2.3.3
WTForms~=3.0.0
# requests (for forwarding)
# https://pypi.org/project/requests/
requests
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
long_description = open('../../README.md').read()

setup(name='pyFlaskBootstrap4',
version='0.2.25',
version='0.3.0',
description='python flask + Bootstrap 4 static components and templates for webprojects',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down Expand Up @@ -47,7 +47,7 @@
'Flask-Login',
'Flask-SQLAlchemy',
'Flask-WTF',
'WTForms',
'WTForms~=3.0.0',
'SQLAlchemy-Utils',
'requests',
'pydevd',
Expand Down

0 comments on commit a0f9277

Please sign in to comment.