Skip to content

Suppress new warning from cryptography 39 about deprecated Python 3.6 support#246

Merged
tsibley merged 1 commit intomasterfrom
trs/cryptography-python-3.6-deprecation-warning
Jan 3, 2023
Merged

Suppress new warning from cryptography 39 about deprecated Python 3.6 support#246
tsibley merged 1 commit intomasterfrom
trs/cryptography-python-3.6-deprecation-warning

Conversation

@tsibley
Copy link
Contributor

@tsibley tsibley commented Jan 3, 2023

Version 39 changed the wording of the deprecation warning added by version 37. 39 still works on Python 3.6 but now warns that version 40 will be the last to include support. Without supression, the deprecation causes loud, user-visible warnings when running any command:

Python 3.6 is no longer supported by the Python core team. Therefore,
support for it is deprecated in cryptography. The next release of
cryptography (40.0) will be the last to support Python 3.6.

This is more reason to drop 3.6 ourselves eventually as we'll not want to be using an older and older cryptography release. In the meantime, however, squash the warning since it does no good for end users.

Resolves #245.

… support

Version 39 changed the wording of the deprecation warning added by
version 37.  39 still works on Python 3.6 but now warns that version 40
will be the last to include support.  Without supression, the
deprecation causes loud, user-visible warnings when running any command:

    Python 3.6 is no longer supported by the Python core team. Therefore,
    support for it is deprecated in cryptography. The next release of
    cryptography (40.0) will be the last to support Python 3.6.

This is more reason to drop 3.6 ourselves eventually as we'll not want
to be using an older and older cryptography release.  In the meantime,
however, squash the warning since it does no good for end users.

Resolves <#245>.
@tsibley tsibley merged commit a99f219 into master Jan 3, 2023
@tsibley tsibley deleted the trs/cryptography-python-3.6-deprecation-warning branch January 3, 2023 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI fails due to change in Python 3.6 deprecation warning from cryptography

1 participant