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

Upgrade Flask version to 3.0.0. #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

TunaCici
Copy link

@TunaCici TunaCici commented Jan 18, 2024

The problem specified in issue #15 is caused by outdated dependencies. Upgrading Flask to newer version fixes it.

This PR fixes #15 by upgrading the Flask (and its) dependencies to their latest available versions.
Tested on:

  • Ubuntu 22.04 LTS (virtual Python 3.9)
  • macOS 14.2.1 (virtual Python 3.11.6)

Upgrading dependencies fixes not only the dependency problem, but also some critical vulnerabilities found on Flask versions 2.2.5 and older.

More information about Flask vulnerabilities can be found on SYNK - Flask.

Here's this PR running flask-example on a Raspberry Pi 4b (home server):

Screenshot 2024-01-18 at 12 49 40 PM

@TunaCici
Copy link
Author

Just to mention that this PR ups the Python version requirement to be 3.8 due to Flask dropping support for 3.7.

See the Flask 2.3.0 changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated Dependencies - ImportError: cannot import name 'escape' from 'jinja2'
1 participant