Skip to content

Commit 80ac8ea

Browse files
Remove Python 3.8 support (#74)
This PR removes Python 3.8, since it is end of life as of October 2024 according to [this page](https://devguide.python.org/versions/). We may need to do the same for 3.9 soon since it seems to be end of life as of October 2025. The main reason for removing 3.8 support here is to enable upgrade of `setuptools`. This should help to fix a build warning which will become an issue as of February 2026. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent a532951 commit 80ac8ea

File tree

6 files changed

+68
-773
lines changed

6 files changed

+68
-773
lines changed

.github/workflows/bandit-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python
2828
uses: actions/setup-python@v6
2929
with:
30-
# TODO: workflow to test for python 3.8 or more
30+
# TODO: workflow to test for python 3.9 or more
3131
python-version: '3.10'
3232

3333
- name: Install uv

.github/workflows/cicd.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
matrix:
4242
# Run test for every Python and Django version we intend to support.
4343
python-version:
44-
- '3.8'
4544
- '3.9'
4645
- '3.10'
4746
- '3.11'
@@ -55,12 +54,6 @@ jobs:
5554
- '>=5.2,<5.3'
5655
exclude:
5756
# Django 5.0+ requires Python 3.10+
58-
- python-version: '3.8'
59-
django-version: '>=5.0,<5.1'
60-
- python-version: '3.8'
61-
django-version: '>=5.1,<5.2'
62-
- python-version: '3.8'
63-
django-version: '>=5.2,<5.3'
6457
- python-version: '3.9'
6558
django-version: '>=5.0,<5.1'
6659
- python-version: '3.9'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Aurora DSQL Django adapter needs boto3 to work. Follow the Boto3 [installation g
2020

2121
### Required Python versions
2222

23-
aurora_dsql_django requires Python 3.8 or later.
23+
aurora_dsql_django requires Python 3.9 or later.
2424

2525
Please see the link below for more detail to install Python:
2626

examples/pet-clinic-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Bootstrap the Django App
44
### Pre-requisites
55
- Provision a Aurora DSQL cluster and note the hostname
6-
- Python version >=3.8 must have been installed
6+
- Python version >=3.9 must have been installed
77
- aws-sdk for python version >=3.x.y
88

99
### Bootstrap Django app

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version", "readme"]
44
description = "Aurora DSQL adapter for Django"
55
license = {text = "Apache License 2.0"}
66
authors = [{name = "Amazon Web Services"}]
7-
requires-python = ">=3.8"
7+
requires-python = ">=3.9"
88
dependencies = [
99
"boto3>=1.35.74,<2",
1010
"botocore>=1.35.74,<2",
@@ -13,7 +13,6 @@ classifiers = [
1313
"Intended Audience :: Developers",
1414
"License :: OSI Approved :: Apache Software License",
1515
"Programming Language :: Python",
16-
"Programming Language :: Python :: 3.8",
1716
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",
1918
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)