fnielsen / ordia

Wikidata lexemes presentations
https://ordia.toolforge.org
Apache License 2.0
24 stars 13 forks source link

werkzeug security issue #182

Closed fnielsen closed 8 months ago

fnielsen commented 8 months ago

Unfortunately upgrading to werkzeug>=3.0.1 causes an error:

    from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls'
fnielsen commented 8 months ago

Making a virtual environment with

python -m venv ordia-dev
source ordia-dev/bin/activate
pip install -r requirements.txt 
python app.py

seems to solve the problem

fnielsen commented 8 months ago

Scholia is updated: https://github.com/WDscholia/scholia/issues/2370 https://github.com/WDscholia/scholia/pull/2371

This required an update to Flask: Flask>=3.0.0 and then Python 3.7 is no longer supported.