From 3a300e6c8ed64503f3ef6cc22e5dda403fe8751a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Fri, 8 Mar 2019 18:55:30 -0500 Subject: Improve deprecation warning to specify the release (#4804) --- src/cryptography/hazmat/primitives/constant_time.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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, ) -- cgit v1.2.3