Skip to content

Commit d7b6b6f

Browse files
committed
Bump Python + Django versions we test
Based on https://endoflife.date/python and https://endoflife.date/django 3.9 is still supported too, so we could test that as well Python 3.9 isn't supported by Django 5.0+
1 parent bb7dc24 commit d7b6b6f

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
python-version: ['3.8', '3.9', '3.10', '3.11']
12+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1313

1414
steps:
1515
- uses: actions/checkout@v3

.travis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: python
22

33
python:
4-
- "3.6"
5-
- "3.7"
6-
- "3.8"
7-
- "3.9"
4+
- "3.10"
5+
- "3.11"
6+
- "3.12"
7+
- "3.13"
88

99
install:
1010
- pip install tox-travis

README.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ stable pypi/master: https://github.com/vintasoftware/django-templated-email/blob
2828

2929
Requirements
3030
=================
31-
* Python (3.6, 3.7, 3.8, 3.9, 3.10, 3.11)
32-
* Django (3.2, 4.0, 4.1)
31+
* Python (3.9*, 3.10, 3.11, 3.12, 3.13)
32+
* Django (4.2, 5.0, 5.1)
3333

3434
We **highly recommend** and only officially support the latest patch release of
3535
each Python and Django series.
3636

37+
Python 3.9 is no longer supported in Django 5.0 and newer, so is only supported with Django 4.2.
38+
3739

3840
Getting going - installation
3941
==============================

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
'Intended Audience :: Developers',
2525
'License :: OSI Approved :: MIT License',
2626
'Operating System :: OS Independent',
27+
'Programming Language :: Python :: 3.9',
2728
'Programming Language :: Python :: 3.10',
2829
'Programming Language :: Python :: 3.11',
2930
'Programming Language :: Python :: 3.12',

tox.ini

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
11
[tox]
2-
envlist = {linux}-py{38,39,310,311}-django{32,40,41,42}
2+
envlist =
3+
linux-py39-django42
4+
linux-py{310,311,312,313}-django{42,50,51}
35

46
[gh-actions]
57
python =
6-
3.8: py38
78
3.9: py39
89
3.10: py310
910
3.11: py311
11+
3.12: py312
12+
3.13: py313
1013

1114

1215
[gh-actions:env]
1316
OS =
1417
ubuntu-latest: linux
1518
DJANGO =
16-
3.2: django32
17-
4.0: django40
18-
4.1: django41
19-
4.2: django42
19+
4.2: django42
20+
5.0: django50
21+
5.1: django51
2022

2123
[testenv]
2224
commands=
2325
py.test --cov=templated_email tests/
2426
deps=
2527
-rtox-requirements.txt
2628
pytest-cov
27-
django32: django~=3.2
28-
django40: django~=4.0
29-
django41: django~=4.1
3029
django42: django~=4.2
30+
django50: django~=5.0
31+
django51: django~=5.1

0 commit comments

Comments
 (0)