samples-python-flask
samples-python-flask copied to clipboard
Updated Dependencies
It seems like version of dependencies are pretty outdated and gives various errors when run on recent Ubuntu version. I was able to get this working on the following in case someone run into same issues:
requests==2.28.0
Flask==2.1.2
Flask-Cors==3.0.10
pyOpenSSL==22.0.0
Flask-Login==0.6.1
okta-jwt-verifier==0.2.3
Using virtualenv with python v3.9.10 my requirements.txt looks similar with an addition of a specific versions of Jinja2 and Werkzeug:
requests==2.21.0
Flask==2.1.3
flask-cors==3.0.9
pyOpenSSL==22.0.0
Flask-Login==0.4.1
okta-jwt-verifier==0.2.3
Werkzeug==2.0.0
jinja2==3.0.3
On Python 3.11.1:
requests~=2.28.2
Flask~=2.2.3
Flask-Cors~=3.0.10
Flask-Login~=0.6.2
pyOpenSSL~=23.0.0
okta-jwt-verifier~=0.2.3