aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2019-03-08 18:55:30 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2019-03-08 18:55:30 -0500
commit3a300e6c8ed64503f3ef6cc22e5dda403fe8751a (patch)
tree18309e3ab10b31f0dbea72e8acbac5806388b177 /src
parent6d04e958abef078042c9a82ddbaa2d3c384db4fa (diff)
downloadcryptography-3a300e6c8ed64503f3ef6cc22e5dda403fe8751a.tar.gz
cryptography-3a300e6c8ed64503f3ef6cc22e5dda403fe8751a.tar.bz2
cryptography-3a300e6c8ed64503f3ef6cc22e5dda403fe8751a.zip
Improve deprecation warning to specify the release (#4804)
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/primitives/constant_time.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptography/hazmat/primitives/constant_time.py b/src/cryptography/hazmat/primitives/constant_time.py
index 99a114e2..35ceafe0 100644
--- a/src/cryptography/hazmat/primitives/constant_time.py
+++ b/src/cryptography/hazmat/primitives/constant_time.py
@@ -21,8 +21,8 @@ if hasattr(hmac, "compare_digest"):
else:
warnings.warn(
"Support for your Python version is deprecated. The next version of "
- "cryptography will remove support. Please upgrade to a 2.7.x "
- "release that supports hmac.compare_digest as soon as possible.",
+ "cryptography will remove support. Please upgrade to a release "
+ "(2.7.7+) that supports hmac.compare_digest as soon as possible.",
utils.PersistentlyDeprecated2018,
)