Skip to content

Commit 7644ca2

Browse files
committed
feat: django 5.2 support
which add python 3.14 in turn
1 parent 0164aec commit 7644ca2

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [unreleased]
8-
<!--
8+
99
### Added
10+
* Support for Django 5.2
11+
* Support for Python 3.14 (Django >= 5.2.8)
12+
13+
<!--
1014
### Changed
1115
### Deprecated
1216
### Removed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "django-oauth-toolkit"
77
dynamic = ["version"]
8-
requires-python = ">= 3.8"
8+
requires-python = ">=3.8,<=3.14"
99
authors = [
1010
{name = "Federico Frenguelli"},
1111
{name = "Massimiliano Pippi"},
@@ -22,6 +22,7 @@ classifiers = [
2222
"Framework :: Django :: 4.2",
2323
"Framework :: Django :: 5.0",
2424
"Framework :: Django :: 5.1",
25+
"Framework :: Django :: 5.2",
2526
"Intended Audience :: Developers",
2627
"License :: OSI Approved :: BSD License",
2728
"Operating System :: OS Independent",
@@ -31,6 +32,8 @@ classifiers = [
3132
"Programming Language :: Python :: 3.10",
3233
"Programming Language :: Python :: 3.11",
3334
"Programming Language :: Python :: 3.12",
35+
"Programming Language :: Python :: 3.13",
36+
"Programming Language :: Python :: 3.14",
3437
"Topic :: Internet :: WWW/HTTP",
3538
]
3639
dependencies = [

tests/app/idp/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Django>=4.2,<=5.1
1+
Django>=4.2,<=5.2
22
django-cors-headers==3.14.0
33
django-environ==0.11.2
44

tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ envlist =
88
py{38,39,310,311,312,313}-dj42,
99
py{310,311,312,313}-dj50,
1010
py{310,311,312,313}-dj51,
11-
py{310,311,312,313}-djmain,
11+
py{310,311,312,313,314}-dj52,
12+
py{310,311,312,313,314}-djmain,
1213
py39-multi-db-dj-42
1314

1415
[gh-actions]
@@ -19,12 +20,14 @@ python =
1920
3.11: py311
2021
3.12: py312
2122
3.13: py313
23+
3.14: py314
2224

2325
[gh-actions:env]
2426
DJANGO =
2527
4.2: dj42
2628
5.0: dj50
2729
5.1: dj51
30+
5.2: dj52
2831
main: djmain
2932

3033
[testenv]
@@ -40,6 +43,7 @@ deps =
4043
dj42: Django>=4.2,<4.3
4144
dj50: Django>=5.0,<5.1
4245
dj51: Django>=5.1,<5.2
46+
dj52: Django>=5.2,<6.0
4347
djmain: https://github.com/django/django/archive/main.tar.gz
4448
djangorestframework
4549
oauthlib>=3.2.2
@@ -55,7 +59,7 @@ deps =
5559
passenv =
5660
PYTEST_ADDOPTS
5761

58-
[testenv:py{310,311,312,313}-djmain]
62+
[testenv:py{310,311,312,313,314}-djmain]
5963
ignore_errors = true
6064
ignore_outcome = true
6165

0 commit comments

Comments
 (0)