Skip to content

Commit 06d654b

Browse files
authored
Merge pull request #161 from ckarli/master
Support for Django 5.2
2 parents 970a0a0 + 7d54022 commit 06d654b

File tree

6 files changed

+19
-18
lines changed

6 files changed

+19
-18
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ["3.8", "3.11", "3.12"]
19+
python-version: ["3.8", "3.11", "3.12", "3.13"]
2020

2121
steps:
2222
- uses: actions/checkout@v2
@@ -55,7 +55,7 @@ jobs:
5555
runs-on: ubuntu-latest
5656
strategy:
5757
matrix:
58-
python-version: ["3.10", "3.11", "3.12"]
58+
python-version: ["3.10", "3.11", "3.12", "3.13"]
5959

6060
steps:
6161
- uses: actions/checkout@v2
@@ -67,7 +67,7 @@ jobs:
6767
- name: Install dependencies
6868
run: |
6969
python -m pip install --upgrade pip
70-
pip install "Django~=5.1"
70+
pip install "Django~=5.2"
7171
pip install -r example/requirements-ci.txt
7272
- name: Setup DB
7373
run: |
@@ -94,7 +94,7 @@ jobs:
9494
runs-on: ubuntu-latest
9595
strategy:
9696
matrix:
97-
python-version: ["3.12"]
97+
python-version: ["3.13"]
9898
services:
9999
mysql:
100100
image: mysql:latest
@@ -112,7 +112,7 @@ jobs:
112112
- name: Install dependencies
113113
run: |
114114
python -m pip install --upgrade pip
115-
pip install "Django~=5.0"
115+
pip install "Django~=5.2"
116116
pip install -r example/requirements-ci.txt
117117
- name: Setup DB
118118
run: |
@@ -143,7 +143,7 @@ jobs:
143143
runs-on: ubuntu-latest
144144
strategy:
145145
matrix:
146-
python-version: ["3.12"]
146+
python-version: ["3.13"]
147147
services:
148148
mysql:
149149
image: postgres:latest
@@ -160,7 +160,7 @@ jobs:
160160
- name: Install dependencies
161161
run: |
162162
python -m pip install --upgrade pip
163-
pip install "Django~=5.1"
163+
pip install "Django~=5.2"
164164
pip install -r example/requirements-ci.txt
165165
- name: Setup DB
166166
run: |
@@ -191,7 +191,7 @@ jobs:
191191
runs-on: ubuntu-latest
192192
strategy:
193193
matrix:
194-
python-version: ["3.12"]
194+
python-version: ["3.13"]
195195
services:
196196
mysql:
197197
image: postgres:latest
@@ -208,7 +208,7 @@ jobs:
208208
- name: Install dependencies
209209
run: |
210210
python -m pip install --upgrade pip
211-
pip install "Django~=5.0"
211+
pip install "Django~=5.2"
212212
pip install -r example/requirements-ci-psycopg3.txt
213213
- name: Setup DB
214214
run: |
@@ -239,7 +239,7 @@ jobs:
239239
runs-on: ubuntu-latest
240240
strategy:
241241
matrix:
242-
python-version: ["3.12"]
242+
python-version: ["3.13"]
243243
services:
244244
mysql:
245245
image: mariadb:latest
@@ -257,7 +257,7 @@ jobs:
257257
- name: Install dependencies
258258
run: |
259259
python -m pip install --upgrade pip
260-
pip install "Django~=5.1"
260+
pip install "Django~=5.2"
261261
pip install -r example/requirements-ci.txt
262262
- name: Setup DB
263263
run: |

example/requirements-ci-psycopg3.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
graphviz==0.8.2
22
Pygments==2.15.0
33
jinja2<3.1.0
4-
Sphinx==1.7.1
4+
Sphinx==6.2
55
sphinx_rtd_theme>=0.3.1
66
coverage>=5.5.0
77
typing_extensions>=4.1

example/requirements-ci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
graphviz==0.8.2
22
Pygments==2.15.0
33
jinja2<3.1.0
4-
Sphinx==1.7.1
4+
Sphinx==6.2
55
sphinx_rtd_theme>=0.3.1
66
coverage>=5.5.0
77
typing_extensions==4.0.1

example/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Django==3.2.*
22
graphviz>=0.8.2
33
Pygments>=2.2.0
44
jinja2<3.1.0
5-
Sphinx>=1.7.1
5+
Sphinx>=6.2
66
sphinx_rtd_theme>=0.3.1
77
coverage>=5.5.0
88
typing_extensions==4.0.1

example/requirements-rtd.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Django==3.2.*
33
graphviz>=0.8.2
44
Pygments>=2.2.0
55
jinja2<3.1.0
6-
Sphinx>=1.7.1
6+
Sphinx>=6.2
77
sphinx_rtd_theme>=0.3.1
88
coverage>=5.5.0
99
typing_extensions==4.0.1

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def get_version(path):
1818
packages=find_packages(exclude=['example']),
1919
include_package_data=True,
2020
install_requires=[
21-
'Django>=4.2,<5.2',
21+
'Django>=4.2,<6.0',
2222
'typing_extensions>=4.1',
2323
'django-fast-update'
2424
],
@@ -41,13 +41,14 @@ def get_version(path):
4141
'Topic :: Software Development :: Libraries',
4242
'Framework :: Django',
4343
'Framework :: Django :: 4.2',
44-
'Framework :: Django :: 5.0',
4544
'Framework :: Django :: 5.1',
45+
'Framework :: Django :: 5.2',
4646
'License :: OSI Approved :: MIT License',
4747
'Programming Language :: Python :: 3.8',
4848
'Programming Language :: Python :: 3.9',
4949
'Programming Language :: Python :: 3.10',
5050
'Programming Language :: Python :: 3.11',
51-
'Programming Language :: Python :: 3.12'
51+
'Programming Language :: Python :: 3.12',
52+
'Programming Language :: Python :: 3.13'
5253
],
5354
)

0 commit comments

Comments
 (0)