@@ -64,18 +64,16 @@ def filter_python_deprecation_warnings():
64
64
65
65
66
66
def _warn_deprecated_python ():
67
- """Python 2.7 is deprecated so this code will no longer run.
68
-
69
- Use this template for future deprecation campaigns as needed.
70
- """
71
- py_27_params = {
72
- 'date' : 'July 15, 2021' ,
73
- 'blog_link' : 'https://aws.amazon.com/blogs/developer/announcing-end-'
74
- 'of-support-for-python-2-7-in-aws-sdk-for-python-and-'
75
- 'aws-cli-v1/'
67
+ """Use this template for future deprecation campaigns as needed."""
68
+ py_36_params = {
69
+ 'date' : 'May 30, 2022' ,
70
+ 'blog_link' : (
71
+ 'https://aws.amazon.com/blogs/developer/'
72
+ 'python-support-policy-updates-for-aws-sdks-and-tools/'
73
+ )
76
74
}
77
75
deprecated_versions = {
78
- (2 , 7 ): py_27_params ,
76
+ (3 , 6 ): py_36_params ,
79
77
}
80
78
py_version = sys .version_info [:2 ]
81
79
@@ -84,7 +82,7 @@ def _warn_deprecated_python():
84
82
warning = (
85
83
"Boto3 will no longer support Python {}.{} "
86
84
"starting {}. To continue receiving service updates, "
87
- "bug fixes, and security updates please upgrade to Python 3.6 or "
85
+ "bug fixes, and security updates please upgrade to Python 3.7 or "
88
86
"later. More information can be found here: {}"
89
87
).format (py_version [0 ], py_version [1 ], params ['date' ], params ['blog_link' ])
90
88
warnings .warn (warning , PythonDeprecationWarning )
0 commit comments