summaryrefslogtreecommitdiff
path: root/src/cryptography
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2020-08-14 13:45:42 -0500
committerGitHub <noreply@github.com>2020-08-14 14:45:42 -0400
commite597fa019d7aa335386fcf63b086012dc4b4f87f (patch)
treeff65386801de665069f8f485f3e54883dd279038 /src/cryptography
parent95a5bac2017e3def8e8efe3b25b46eb9ca2da01a (diff)
downloadcryptography-e597fa019d7aa335386fcf63b086012dc4b4f87f.tar.gz
deprecate support for python 3.5 (#5387)
Diffstat (limited to 'src/cryptography')
-rw-r--r--src/cryptography/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptography/__init__.py b/src/cryptography/__init__.py
index f128502e2..f16efce6b 100644
--- a/src/cryptography/__init__.py
+++ b/src/cryptography/__init__.py
@@ -39,3 +39,10 @@ if sys.version_info[0] == 2:
CryptographyDeprecationWarning,
stacklevel=2,
)
+if sys.version_info[:2] == (3, 5):
+ warnings.warn(
+ "Python 3.5 support will be dropped in the next release of"
+ "cryptography. Please upgrade your Python.",
+ CryptographyDeprecationWarning,
+ stacklevel=2,
+ )