Open
Description
Werkzerug is upgraded to 3.X, so flask 2.0.3 will use werkzerug 3.X by default, which will raise the following error:
ImportError: cannot import name 'url_quote' from 'werkzeug.urls'
To solve the problem, flask recipe requirements should be updated like this:
pythonforandroid/recipes/flask/__init__.py
python_depends = ['jinja2', 'werkzeug==2.2.2', 'markupsafe', 'itsdangerous', 'click']
or flask recipe shoud be updated to 3.X.
More details:
https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr
Activity