Skip to content

Commit fb5ec1c

Browse files
committed
Remove support for Python 3.8
Its EOL was Oct 2024 https://discuss.python.org/t/python-3-8-is-now-officially-eol/66983
1 parent 1eb53b9 commit fb5ec1c

File tree

5 files changed

+7
-14
lines changed

5 files changed

+7
-14
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ jobs:
2828

2929
# Only test pre-release dependencies for the latest Python.
3030
include:
31-
# Django 4.2 and python 3.8 with latest redis
32-
- django-version: '4.2'
33-
redis-version: 'latest'
34-
python-version: '3.8'
35-
3631
# Django 4.2 and python 3.9 with latest redis
3732
- django-version: '4.2'
3833
redis-version: 'latest'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.8
21+
python-version: 3.9
2222

2323
- name: Install dependencies
2424
run: |

.ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ lint.ignore = [
120120

121121
fix = true
122122

123-
target-version = "py38"
123+
target-version = "py39"
124124

125125
[lint.flake8-tidy-imports]
126126
## Disallow all relative imports.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Why use django-redis?
4646
Requirements
4747
~~~~~~~~~~~~
4848

49-
- `Python`_ 3.8+
49+
- `Python`_ 3.9+
5050
- `Django`_ 4.2+
5151
- `redis-py`_ 4.0.2+
5252
- `Redis server`_ 2.8+

setup.cfg

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ classifiers =
2222
Programming Language :: Python
2323
Programming Language :: Python :: 3
2424
Programming Language :: Python :: 3 :: Only
25-
Programming Language :: Python :: 3.8
2625
Programming Language :: Python :: 3.9
2726
Programming Language :: Python :: 3.10
2827
Programming Language :: Python :: 3.11
@@ -32,7 +31,7 @@ classifiers =
3231
Topic :: Utilities
3332

3433
[options]
35-
python_requires = >=3.8
34+
python_requires = >=3.9
3635
packages =
3736
django_redis
3837
django_redis.client
@@ -60,7 +59,7 @@ envlist =
6059
ruff
6160
mypy
6261
# tests against released versions
63-
py{38,39}-dj{42}-redislatest
62+
py39-dj{42}-redislatest
6463
py{310,311,312}-dj{42,50,51,52}-redislatest
6564
py313-dj{51,52}-redislatest
6665
# tests against unreleased versions
@@ -69,8 +68,7 @@ envlist =
6968

7069
[gh-actions]
7170
python =
72-
3.8: py38, black, ruff, mypy
73-
3.9: py39
71+
3.9: py39, black, ruff, mypy
7472
3.10: py310
7573
3.11: py311
7674
3.12: py312
@@ -112,7 +110,7 @@ deps =
112110
basepython = python3
113111
envdir={toxworkdir}/lint
114112
commands =
115-
black: black --target-version py38 {posargs:--check --diff} setup.py django_redis/ tests/
113+
black: black --target-version py39 {posargs:--check --diff} setup.py django_redis/ tests/
116114
ruff: ruff {posargs:check --show-fixes} django_redis/ tests/
117115
mypy: mypy {posargs:--cobertura-xml-report .} django_redis tests
118116
deps =

0 commit comments

Comments
 (0)