Open ProfessorDey opened 4 months ago
Hi! Thanks for reporting the issue. Yes, you're right... updating to Flask version 3 did have some breaking changes. A fix is available on the develop branch. I'll take a proper look when I get back to my machine.
Okay thanks !!! work for me with this requirements
Ubuntu, python 3.10, venv requirements3.txt
I have found that I had to explicitly set Flask and Werkzeug to 2.2.2 because Flask 3.0+ removed
_app_ctx_stack
and Werkzeug 3.0+ removingurl_quote
. The dependency versions for Flask and Werkzeuge should therefore be capped below version 3.0 in order to get a working installation instead of the current requirement of>= 2.2.2
for both. Attached below is my install log.Note: As I'm an Archlinux user, I had to use venv as Pacman controls the global Python installations.
Flask 3.0+
_app_ctx_stack
Error:ImportError: cannot import name '_app_ctx_stack' from 'flask' (/home/###/contextualise/.venv/lib/python3.11/site-packages/flask/__init__.py)
Werkzeug 3.0+
url_quote
Error:ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/###/contextualise/.venv/lib/python3.11/site-packages/werkzeug/urls.py)
Successful Install: