diff --git a/.env b/.env index 096916a8..c1157119 100644 --- a/.env +++ b/.env @@ -3,7 +3,7 @@ DEBUG=False # Flask ENV FLASK_APP=run.py -FLASK_ENV=production +FLASK_DEBUG=1 # If not provided, a random one is generated # SECRET_KEY= diff --git a/CHANGELOG.md b/CHANGELOG.md index 44cb9706..895d7aaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [1.0.15] 2023-10-07 +### Changes + +- Update Dependencies + ## [1.0.14] 2023-01-02 ### Changes diff --git a/Dockerfile b/Dockerfile index f4c0b323..63df2fc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9 +FROM python:3.10 # set environment variables ENV PYTHONDONTWRITEBYTECODE 1 diff --git a/apps/authentication/oauth.py b/apps/authentication/oauth.py index fa331655..8577d1fe 100644 --- a/apps/authentication/oauth.py +++ b/apps/authentication/oauth.py @@ -9,7 +9,6 @@ from flask_dance.consumer import oauth_authorized from flask_dance.contrib.github import github, make_github_blueprint from flask_dance.consumer.storage.sqla import SQLAlchemyStorage -from flask_dance.contrib.twitter import twitter, make_twitter_blueprint from sqlalchemy.orm.exc import NoResultFound from apps.config import Config from .models import Users, db, OAuth diff --git a/env.sample b/env.sample index 47bc1daa..4d495cf8 100644 --- a/env.sample +++ b/env.sample @@ -2,7 +2,7 @@ DEBUG=True FLASK_APP=run.py -FLASK_ENV=development +FLASK_DEBUG=1 # If not provided, a random one is generated # SECRET_KEY= diff --git a/requirements.txt b/requirements.txt index a4052ce8..ab5b5ace 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,22 +1,23 @@ -flask==2.0.2 -Werkzeug==2.0.3 -jinja2==3.0.2 -flask_login==0.5.0 -flask_migrate==3.1.0 -WTForms==3.0.0 -flask_wtf==1.0.0 -flask_sqlalchemy==2.5.1 -sqlalchemy==1.4.29 -email_validator==1.1.3 -gunicorn==20.1.0 -flask-restx==0.5.1 +flask==2.2.5 +Werkzeug==2.3.7 +jinja2==3.1.2 +flask-login==0.6.2 +flask_migrate==4.0.4 +WTForms==3.0.1 +flask_wtf==1.2.1 +flask-sqlalchemy==3.0.5 +sqlalchemy==2.0.21 +email_validator==2.0.0 python-dotenv==0.19.2 -Flask-Minify==0.37 -Flask-Dance==5.1.0 blinker==1.4 -pyOpenSSL WTForms-Alchemy==0.18.0 -PyJWT~=2.4.0 +flask-restx==1.0.3 + +gunicorn==20.1.0 +Flask-Minify==0.37 + +Flask-Dance==7.0.0 +PyJWT==2.4.0 # flask_mysqldb # psycopg2-binary