Skip to content

Commit 9a7673a

Browse files
committed
Update Python support matrix
Deprecate support for Python 3.8 Add support for Python 3.13
1 parent 4c3a36c commit 9a7673a

File tree

7 files changed

+24
-17
lines changed

7 files changed

+24
-17
lines changed

.github/workflows/release.yml

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

2626
- name: Install dependencies
2727
run: |

.github/workflows/test.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,21 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
15+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1616
django-version: ['4.2', '5.0', '5.1']
1717
include:
1818
# Tox configuration for QA environment
19-
- python-version: '3.12'
19+
- python-version: '3.13'
2020
django-version: 'qa'
2121
# Django main
22-
- python-version: '3.12'
22+
- python-version: '3.13'
2323
django-version: 'main'
2424
experimental: true
2525
exclude:
26-
- python-version: '3.8'
27-
django-version: '5.0'
2826
- python-version: '3.9'
2927
django-version: '5.0'
30-
- python-version: '3.8'
31-
django-version: '5.1'
28+
- python-version: '3.13'
29+
django-version: '5.0'
3230
- python-version: '3.9'
3331
django-version: '5.1'
3432

CHANGES.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ Changes
33
=======
44

55

6+
7.0.1 (2024-12-02)
7+
------------------
8+
9+
- Add Python 3.13 support.
10+
[aleksihakli]
11+
- Deprecate Python 3.8 support.
12+
[aleksihakli]
13+
14+
615
7.0.0 (2024-10-02)
716
------------------
817

docs/1_requirements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Requirements
44
============
55

6-
Axes requires a supported Django version and runs on Python versions 3.8 and above.
6+
Axes requires a supported Django version and runs on Python versions 3.9 and above.
77

88
Refer to the project source code repository in
99
`GitHub <https://github.com/jazzband/django-axes/>`_ and see the

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.8
2+
python_version = 3.9
33
ignore_missing_imports = True
44

55
[mypy-axes.migrations.*]

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ DJANGO_SETTINGS_MODULE = "tests.settings"
1010
legacy_tox_ini = """
1111
[tox]
1212
envlist =
13-
py{38,39,310,311,312}-dj42
13+
py{39,310,311,312}-dj42
1414
py{310,311,312}-dj50
15-
py{310,311,312}-dj51
15+
py{310,311,312,313}-dj51
1616
py311-djmain
1717
py311-djqa
1818
1919
[gh-actions]
2020
python =
21-
3.8: py38
2221
3.9: py39
2322
3.10: py310
2423
3.11: py311
2524
3.12: py312
25+
3.13: py313
2626
2727
[gh-actions:env]
2828
DJANGO =
@@ -36,9 +36,9 @@ DJANGO =
3636
[testenv]
3737
deps =
3838
-r requirements-test.txt
39-
dj32: django>=3.2,<3.3
4039
dj42: django>=4.1,<4.2
4140
dj50: django>=5.0,<5.1
41+
dj51: django>=5.1,<5.2
4242
djmain: https://github.com/django/django/archive/main.tar.gz
4343
usedevelop = true
4444
commands = pytest
@@ -51,10 +51,10 @@ ignore_errors =
5151
djmain: True
5252
5353
# QA runs type checks, linting, and code formatting checks
54-
[testenv:py312-djqa]
54+
[testenv:py313-djqa]
5555
deps = -r requirements-qa.txt
5656
commands =
5757
mypy axes
5858
prospector
59-
black -t py38 --check --diff axes
59+
black -t py39 --check --diff axes
6060
"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@
5959
"Operating System :: OS Independent",
6060
"Programming Language :: Python",
6161
"Programming Language :: Python :: 3",
62-
"Programming Language :: Python :: 3.8",
6362
"Programming Language :: Python :: 3.9",
6463
"Programming Language :: Python :: 3.10",
6564
"Programming Language :: Python :: 3.11",
6665
"Programming Language :: Python :: 3.12",
66+
"Programming Language :: Python :: 3.13",
6767
"Programming Language :: Python :: Implementation :: CPython",
6868
"Topic :: Internet :: Log Analysis",
6969
"Topic :: Security",

0 commit comments

Comments
 (0)