Skip to content
Snippets Groups Projects
Commit 10f2aa0d authored by Christian Boettcher's avatar Christian Boettcher
Browse files

some dependencies have deprecated elements while dropping python2 support.

While this has been fixed in the dependency project, its still waiting for a release
Because of this, this etremely dirty warning filter was added.
It should be removed as soon as possible
parent eea74f88
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,9 @@ from datetime import datetime, timedelta ...@@ -11,6 +11,9 @@ from datetime import datetime, timedelta
from passlib.context import CryptContext from passlib.context import CryptContext
import warnings
with warnings.catch_warnings():
warnings.filterwarnings('ignore', message='int_from_bytes is deprecated')
from jose import JWTError, jwt from jose import JWTError, jwt
from apiserver.config import ApiserverSettings from apiserver.config import ApiserverSettings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment