Skip to content

Commit f12b1ff

Browse files
authored
Add Python 3.9 deprecation notice (#4654)
1 parent 2c7f121 commit f12b1ff

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ Boto (pronounced boh-toh) was named after the fresh water dolphin native to the
1717
Notices
1818
-------
1919

20+
On 2026-04-29, support for Python 3.9 will end for Boto3. This follows the
21+
Python Software Foundation `end of support <https://peps.python.org/pep-0596/#lifespan>`__
22+
for the runtime which occurred on 2025-10-31.
23+
For more information, see this `blog post <https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/>`__.
24+
2025
On 2025-04-22, support for Python 3.8 ended for Boto3. This follows the
2126
Python Software Foundation `end of support <https://peps.python.org/pep-0569/#lifespan>`__
2227
for the runtime which occurred on 2024-10-07.

boto3/compat.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ def filter_python_deprecation_warnings():
6060

6161
def _warn_deprecated_python():
6262
"""Use this template for future deprecation campaigns as needed."""
63-
py_37_params = {
64-
'date': 'December 13, 2023',
63+
py_39_params = {
64+
'date': 'April 29, 2026',
6565
'blog_link': (
6666
'https://aws.amazon.com/blogs/developer/'
6767
'python-support-policy-updates-for-aws-sdks-and-tools/'
6868
)
6969
}
7070
deprecated_versions = {
7171
# Example template for future deprecations
72-
(3, 7): py_37_params,
72+
(3, 9): py_39_params,
7373
}
7474
py_version = sys.version_info[:2]
7575

@@ -78,7 +78,7 @@ def _warn_deprecated_python():
7878
warning = (
7979
"Boto3 will no longer support Python {}.{} "
8080
"starting {}. To continue receiving service updates, "
81-
"bug fixes, and security updates please upgrade to Python 3.8 or "
81+
"bug fixes, and security updates please upgrade to Python 3.10 or "
8282
"later. More information can be found here: {}"
8383
).format(py_version[0], py_version[1], params['date'], params['blog_link'])
8484
warnings.warn(warning, PythonDeprecationWarning)

docs/source/guide/quickstart.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ To use Boto3, you first need to install it and its dependencies.
2424
Install or update Python
2525
~~~~~~~~~~~~~~~~~~~~~~~~
2626

27-
Before installing Boto3, install Python 3.9 or later; support for Python 3.8 and
28-
earlier is deprecated. After the deprecation date listed for each Python
29-
version, new releases of Boto3 will not include support for that version of
30-
Python. For details, including the deprecation schedule and how to update your
31-
project to use Python 3.9, see :ref:`guide_migration_py3`.
27+
Before installing Boto3, ensure you're using Python 3.10 or later.
28+
For details on how to update your project from older versions of Python,
29+
see :ref:`guide_migration_py3`.
3230

3331
For information about how to get the latest version of Python, see the official `Python
3432
documentation <https://www.python.org/downloads/>`_.

0 commit comments

Comments
 (0)