Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

tsibley
Copy link
Member

@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