Skip to content

Commit

Permalink
Silencing warnings until they are fixed upstream (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgliss committed Feb 26, 2021
1 parent c21b56b commit 78ab648
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dispatch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
except Exception:
VERSION = "unknown"

# fix is in the works see: https://github.com/mpdavis/python-jose/pull/207
import warnings
warnings.filterwarnings('ignore', message='int_from_bytes is deprecated')

# sometimes we pull version info before dispatch is totally installed
try:
from dispatch.conference.models import Conference # noqa lgtm[py/unused-import]
Expand Down

0 comments on commit 78ab648

Please sign in to comment.