Skip to content

Commit a99f219

Browse files
committed
Merge branch 'trs/cryptography-python-3.6-deprecation-warning'
2 parents f05e2f9 + c0b40ae commit a99f219

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

CHANGES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,21 @@ development source code and as such may not be routinely kept up to date.
1313

1414
# __NEXT__
1515

16+
_See also changes in 6.0.1 which was an unreleased version._
17+
18+
## Bug fixes
19+
20+
* A new deprecation warning from the `cryptography` module (version 39) when
21+
running on Python 3.6 is now suppressed as it's just noise to an end user.
22+
This probably moves us closer to dropping 3.6 support ourselves, but it's not
23+
so onerous yet.
24+
([#246](https://github.com/nextstrain/cli/issues/246))
25+
1626

1727
# 6.0.1 (3 January 2023)
1828

29+
_Unreleased due to [test failures](https://github.com/nextstrain/cli/issues/245). Changes first released as part of 6.0.2._
30+
1931
## Improvements
2032

2133
* The standalone installation archives used by the standalone installer will

nextstrain/cli/aws/cognito/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import boto3
55
import warnings
66

7-
# Ignore noisy warning from cryptography 37.0.0 about deprecated support for Python 3.6.
7+
# Ignore noisy warning from cryptography 37.0.0 and 39.0.0 about deprecated support for Python 3.6.
88
with warnings.catch_warnings():
99
warnings.filterwarnings(
1010
"ignore",
11-
message = "Python 3\\.6 is no longer supported by the Python core team\\. Therefore, support for it is deprecated in cryptography and will be removed in a future release\\.",
11+
message = "Python 3\\.6 is no longer supported by the Python core team\\. Therefore, support for it is deprecated in cryptography",
1212
category = UserWarning)
1313

1414
import jwt

0 commit comments

Comments
 (0)