Skip to content

Commit

Permalink
Final deprecation of Python 3.7 (#12196)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Dec 25, 2024
1 parent a0dbde7 commit cc7123d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Changelog

.. note:: This version is not yet released and is under active development.

* Support for Python 3.7 is deprecated and will be removed in the next
``cryptography`` release.


.. _v44-0-0:

Expand Down
4 changes: 2 additions & 2 deletions src/cryptography/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
if sys.version_info[:2] == (3, 7):
warnings.warn(
"Python 3.7 is no longer supported by the Python core team "
"and support for it is deprecated in cryptography. A future "
"release of cryptography will remove support for Python 3.7.",
"and support for it is deprecated in cryptography. The next release "
"of cryptography will remove support for Python 3.7.",
utils.CryptographyDeprecationWarning,
stacklevel=2,
)

0 comments on commit cc7123d

Please sign in to comment.