Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Flask package dependencies #784

Merged
merged 10 commits into from
Jul 28, 2022
Merged

Updating Flask package dependencies #784

merged 10 commits into from
Jul 28, 2022

Conversation

havok2063
Copy link
Collaborator

@havok2063 havok2063 commented Jul 27, 2022

This PR updates the Flask package dependencies to Flask >2, Jinja2 > 3, werkzeug > 2.0, < 2.1. It removes the pip package Flask-JSGlue and replaces it with a manual module of version 0.3.1 with the fixed syntax using the markupsafe package. Flask-JSGlue does not appear to be regularly maintained right now.

It also fixes an issue with WTForms >3 where a String Field was no longer correctly rendering a url. Wrapping it in flask.Markup resolves the issue.

Pinning numpy to >1.20 and switching use of np.int and np.float to int and float to clear deprecation warnings. Switching use of distutils to packaging.version to clear deprecation warnings.

@havok2063 havok2063 merged commit ef50770 into main Jul 28, 2022
@havok2063 havok2063 deleted the flaskdeps branch August 11, 2022 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant