diff --git a/powerdnsadmin/lib/utils.py b/powerdnsadmin/lib/utils.py index 43c7617..2322e17 100644 --- a/powerdnsadmin/lib/utils.py +++ b/powerdnsadmin/lib/utils.py @@ -8,7 +8,6 @@ import ipaddress from collections.abc import Iterable from distutils.version import StrictVersion from urllib.parse import urlparse -from datetime import datetime, timedelta def auth_from_url(url): diff --git a/powerdnsadmin/services/base.py b/powerdnsadmin/services/base.py index 2fffdbc..c43cc72 100644 --- a/powerdnsadmin/services/base.py +++ b/powerdnsadmin/services/base.py @@ -1,3 +1,3 @@ -from authlib.flask.client import OAuth +from authlib.integrations.flask_client import OAuth\ -authlib_oauth_client = OAuth() \ No newline at end of file +authlib_oauth_client = OAuth() diff --git a/requirements.txt b/requirements.txt index f5d6d17..018e03f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,29 +1,29 @@ -Flask==1.1.1 -Flask-Assets==0.12 -Flask-Login==0.4.1 -Flask-SQLAlchemy==2.4.1 -Flask-Migrate==2.5.2 -SQLAlchemy==1.3.11 -mysqlclient==1.4.6 +Flask==1.1.2 +Flask-Assets==2.0 +Flask-Login==0.5.0 +Flask-SQLAlchemy==2.4.4 +Flask-Migrate==2.5.3 +SQLAlchemy==1.3.19 +mysqlclient==2.0.1 configobj==5.0.6 -bcrypt==3.1.4 -requests==2.20.0 -python-ldap==3.1.0 -pyotp==2.2.6 -qrcode==6.0 -dnspython==1.15.0 +bcrypt==3.2.0 +requests==2.24.0 +python-ldap==3.3.1 +pyotp==2.4.0 +qrcode==6.1 +dnspython==2.0.0 gunicorn==20.0.4 python3-saml -pyOpenSSL>=0.15 -pytz>=2017.3 +pyOpenSSL==19.1.0 +pytz==2020.1 cssmin==0.2.0 jsmin==2.2.2 -Authlib==0.10 +Authlib==0.15 Flask-SeaSurf==0.2.2 -bravado-core==5.13.1 +bravado-core==5.17.0 lima==0.5 -pytest==5.0.1 +pytest==6.1.1 pytimeparse==1.1.8 -PyYAML==5.1.1 +PyYAML==5.3.1 Flask-SSLify==0.1.5 Flask-Mail==0.9.1