Skip to content

Commit 1115554

Browse files
pennersrpennersr
authored and
pennersr
committed
feat: Python 3.13 support
1 parent b98e3a5 commit 1115554

File tree

5 files changed

+31
-9
lines changed

5 files changed

+31
-9
lines changed

Diff for: .github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
project: ['regular', 'headless_only', 'login_required_mw']
16-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
16+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1717
django-version: ['4.2', '5.0', '5.1']
1818
exclude:
1919
- python-version: '3.8'
@@ -43,6 +43,8 @@ jobs:
4343
python-version: '3.10'
4444
- project: 'login_required_mw'
4545
python-version: '3.11'
46+
- project: 'login_required_mw'
47+
python-version: '3.12'
4648
- project: 'login_required_mw'
4749
django-version: 'main'
4850
- project: 'login_required_mw'
@@ -72,7 +74,7 @@ jobs:
7274
DJANGO: ${{ matrix.django-version }}
7375
PRJ: ${{ matrix.project }}
7476
- name: Coverage (Coveralls)
75-
if: ${{ success() && matrix.django-version == '5.1' && matrix.python-version == '3.12' && matrix.project == 'regular' }}
77+
if: ${{ success() && matrix.django-version == '5.1' && matrix.python-version == '3.13' && matrix.project == 'regular' }}
7678
run: coveralls --service=github
7779
env:
7880
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: .woodpecker.yaml

+20-4
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ matrix:
102102
PRJ: regular
103103
DJANGO_VERSION: django50
104104
PYTHON_VERSION: 3.12
105+
- STEP: test
106+
PRJ: regular
107+
DJANGO_VERSION: django50
108+
PYTHON_VERSION: 3.13
105109
- STEP: test
106110
PRJ: regular
107111
DJANGO_VERSION: django51
@@ -114,11 +118,15 @@ matrix:
114118
PRJ: regular
115119
DJANGO_VERSION: django51
116120
PYTHON_VERSION: 3.12
121+
- STEP: test
122+
PRJ: regular
123+
DJANGO_VERSION: django51
124+
PYTHON_VERSION: 3.13
117125
# # Only test main on latest Python
118126
# - STEP: test
119127
# PRJ: regular
120128
# DJANGO_VERSION: djangomain
121-
# PYTHON_VERSION: 3.12
129+
# PYTHON_VERSION: 3.13
122130

123131
######################################################################
124132
# Headless project
@@ -146,6 +154,10 @@ matrix:
146154
PRJ: headless_only
147155
DJANGO_VERSION: django50
148156
PYTHON_VERSION: 3.12
157+
- STEP: test
158+
PRJ: headless_only
159+
DJANGO_VERSION: django50
160+
PYTHON_VERSION: 3.13
149161
- STEP: test
150162
PRJ: headless_only
151163
DJANGO_VERSION: django51
@@ -158,13 +170,17 @@ matrix:
158170
PRJ: headless_only
159171
DJANGO_VERSION: django51
160172
PYTHON_VERSION: 3.12
161-
# # Only test main on latest Python
173+
- STEP: test
174+
PRJ: headless_only
175+
DJANGO_VERSION: django51
176+
PYTHON_VERSION: 3.13
177+
# Only test main on latest Python
162178
# - STEP: test
163179
# PRJ: headless_only
164180
# DJANGO_VERSION: djangomain
165-
# PYTHON_VERSION: 3.12
181+
# PYTHON_VERSION: 3.13
166182
# Only test LoginRequiredMiddleware on latest Python/Django.
167183
- STEP: test
168184
PRJ: login_required_mw
169185
DJANGO_VERSION: django51
170-
PYTHON_VERSION: 3.12
186+
PYTHON_VERSION: 3.13

Diff for: ChangeLog.rst

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Note worthy changes
4040
``ACCOUNT_SIGNUP_FIELDS`` configuration, as well as any custom fields you have
4141
in ``ACCOUNT_SIGNUP_FORM_CLASS``.
4242

43+
- Added official support for Python 3.13.
44+
4345

4446
Fixes
4547
-----

Diff for: setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ classifiers =
2323
Programming Language :: Python :: 3.10
2424
Programming Language :: Python :: 3.11
2525
Programming Language :: Python :: 3.12
26+
Programming Language :: Python :: 3.13
2627
Framework :: Django
2728
Framework :: Django :: 4.2
2829
Framework :: Django :: 5.0

Diff for: tox.ini

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3-
prj{regular,headless_only}-py{38,39,310,311,312}-django{42}
4-
prj{regular,headless_only}-py{310,311,312}-django{50,51}
3+
prj{regular,headless_only}-py{38,39,310,311,312,313}-django{42}
4+
prj{regular,headless_only}-py{310,311,312,313}-django{50,51}
55
prj{regular,headless_only}-py{312}-djangomain
6-
prj{login_required_mw}-py{312}-django{51}
6+
prj{login_required_mw}-py{312,313}-django{51}
77
docs
88
isort
99
bandit
@@ -134,6 +134,7 @@ PYTHON_VER =
134134
3.10: py310
135135
3.11: py311
136136
3.12: py312
137+
3.13: py313
137138
DJANGO =
138139
main: djangomain
139140
4.2: django42

0 commit comments

Comments
 (0)