Skip to content

Commit ba7e7e8

Browse files
committed
Remove cryptography warning workaround
This reverts "Suppress warning from cryptography about deprecated Python 3.8 support" (8987cfd) since 3.8 is no longer supported.
1 parent 06e9918 commit ba7e7e8

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

nextstrain/cli/authn/session.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,8 @@
22
Authentication sessions.
33
"""
44
import boto3
5-
import warnings
6-
7-
# Ignore noisy warning from cryptography 47.0.0 about deprecated support for Python 3.8
8-
with warnings.catch_warnings():
9-
warnings.filterwarnings(
10-
"ignore",
11-
message = "Python 3\\.8 is no longer supported by the Python core team and support for it is deprecated",
12-
category = UserWarning
13-
)
14-
import jwt
15-
import jwt.exceptions
16-
5+
import jwt
6+
import jwt.exceptions
177
import secrets
188

199
from base64 import b64encode

0 commit comments

Comments
 (0)