diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2017-05-22 20:53:47 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-05-22 20:53:47 -0700 |
commit | db511140c97d678369cf3d8cf6a5e1ff56a01e1c (patch) | |
tree | 6e625b97006458c1f22a8d82ae7b744e3e80a3db | |
parent | ba58e1faa99bcc58285596feac0214fd818e38d3 (diff) | |
download | cryptography-db511140c97d678369cf3d8cf6a5e1ff56a01e1c.tar.gz cryptography-db511140c97d678369cf3d8cf6a5e1ff56a01e1c.tar.bz2 cryptography-db511140c97d678369cf3d8cf6a5e1ff56a01e1c.zip |
Deprecate Python 3.3 support, with the intention of being removed in the next release (#3566)
* Deprecate Python 3.3 support, with the intention of being removed in the next release
* whoops
-rw-r--r-- | CHANGELOG.rst | 2 | ||||
-rw-r--r-- | docs/installation.rst | 2 | ||||
-rw-r--r-- | src/cryptography/__init__.py | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c48b709f..a1fdea7e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,8 @@ Changelog has always been to check whether or not :class:`~cryptography.exceptions.InvalidSignature` was raised. * **BACKWARDS INCOMPATIBLE:** Dropped support for macOS 10.7 and 10.8. +* Python 3.3 support has been deprecated, and will be removed in the + ``cryptography`` release. * Add support for providing ``tag`` during :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` finalization via :meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag`. diff --git a/docs/installation.rst b/docs/installation.rst index 9ee966aa..8acac2ec 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -24,6 +24,8 @@ PyPy 2.6+ on these operating systems. Python 2.6 is no longer supported by the Python core team. A future version of cryptography will drop support for this version. + Python 3.3 support will be removed in the next cryptography release. + We test compiling with ``clang`` as well as ``gcc`` and use the following OpenSSL releases: diff --git a/src/cryptography/__init__.py b/src/cryptography/__init__.py index 940c66bc..a0c8d46d 100644 --- a/src/cryptography/__init__.py +++ b/src/cryptography/__init__.py @@ -25,3 +25,9 @@ if sys.version_info[:2] == (2, 6): "support for Python 2.6", DeprecationWarning ) +if sys.version_info[:2] == (3, 3): + warnings.warn( + "Python 3.3 support will be dropped in the next release of" + "cryptography. Please upgrade your Python.", + DeprecationWarning, + ) |