Skip to content

Commit c686ded

Browse files
authored
Added support for 3.13 (#1256)
* Added support for 3.13 This will only be supported on Django 5.1 and above. see https://forum.djangoproject.com/t/backport-python-3-13-support-in-django-5-0/34671 * As Github as not officially released 3.13 yet use latest dev version * There was an upstream change in DRF which as not been release yet so only master till it is released. see https://github.com/encode/django-rest-framework/pull/9527/files * Remove ignoring with drfmaster
1 parent c82ea18 commit c686ded

File tree

6 files changed

+7
-10
lines changed

6 files changed

+7
-10
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]
1818
env:
1919
PYTHON: ${{ matrix.python-version }}
2020
steps:
@@ -28,7 +28,7 @@ jobs:
2828
python -m pip install --upgrade pip
2929
pip install tox
3030
- name: Run tox targets for ${{ matrix.python-version }}
31-
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
31+
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d . | cut -f 1 -d '-')
3232
- name: Upload coverage report
3333
uses: codecov/codecov-action@v4
3434
with:

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ any parts of the framework not mentioned in the documentation should generally b
1919
### Added
2020

2121
* Added support for Django 5.1
22+
* Added support for Python 3.13
2223

2324
### Deprecated
2425

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ As a Django REST framework JSON:API (short DJA) we are trying to address followi
9292
Requirements
9393
------------
9494

95-
1. Python (3.8, 3.9, 3.10, 3.11, 3.12)
95+
1. Python (3.8, 3.9, 3.10, 3.11, 3.12, 3.13)
9696
2. Django (4.2, 5.0, 5.1)
9797
3. Django REST framework (3.14, 3.15)
9898

docs/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ like the following:
5151

5252
## Requirements
5353

54-
1. Python (3.8, 3.9, 3.10, 3.11, 3.12)
54+
1. Python (3.8, 3.9, 3.10, 3.11, 3.12, 3.13)
5555
2. Django (4.2, 5.0, 5.1)
5656
3. Django REST framework (3.14, 3.15)
5757

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def get_package_data(package):
9191
"Programming Language :: Python :: 3.10",
9292
"Programming Language :: Python :: 3.11",
9393
"Programming Language :: Python :: 3.12",
94+
"Programming Language :: Python :: 3.13",
9495
"Topic :: Internet :: WWW/HTTP",
9596
"Topic :: Software Development :: Libraries :: Application Frameworks",
9697
"Topic :: Software Development :: Libraries :: Python Modules",

tox.ini

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
envlist =
33
py{38,39,310,311,312}-django42-drf{314,315,master},
44
py{310,311,312}-django{50,51}-drf{314,315,master},
5+
py313-django51-drf{master},
56
black,
67
docs,
78
lint
@@ -46,9 +47,3 @@ deps =
4647
-rrequirements/requirements-documentation.txt
4748
commands =
4849
sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html
49-
50-
[testenv:py{38,39,310,311,312}-django42-drfmaster]
51-
ignore_outcome = true
52-
53-
[testenv:py{310,311,312}-django{50,51}-drfmaster]
54-
ignore_outcome = true

0 commit comments

Comments
 (0)