diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1a57643e..6acf322a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 22.3.0 hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 diff --git a/environment.yml b/environment.yml index 62df5b08..f9890c38 100644 --- a/environment.yml +++ b/environment.yml @@ -6,7 +6,7 @@ dependencies: - pip - fastapi - typer - - authlib + - authlib=0.15.5 - psycopg2 - httpx=0.20.0 - sqlalchemy diff --git a/quetz/authentication/pam.py b/quetz/authentication/pam.py index 72ce5a80..6e115d8d 100644 --- a/quetz/authentication/pam.py +++ b/quetz/authentication/pam.py @@ -180,6 +180,5 @@ async def authenticate( return username - except ImportError: PAMAuthenticator = None # type: ignore