Skip to content

Commit

Permalink
Support and test against Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw committed Nov 26, 2023
1 parent 492c4fa commit 31897a6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
django-version: ['3.2', '4.1', '4.2', 'main']
django-version: ['3.2', '4.1', '4.2', '5.0', 'main']
postgres-version: ['11', '12']
mariadb-version: ['10.3', '10.4']
exclude:
Expand Down Expand Up @@ -42,6 +42,11 @@ jobs:
- django-version: '4.2'
mariadb-version: '10.3'

- django-version: '5.0'
postgres-version: '11'
- django-version: '5.0'
mariadb-version: '10.3'

- django-version: 'main'
postgres-version: '11'
- django-version: 'main'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Silk is a live profiling and inspection tool for the Django framework. Silk inte

Silk has been tested with:

* Django: 3.2, 4.1, 4.2
* Django: 3.2, 4.1, 4.2, 5.0
* Python: 3.8, 3.9, 3.10, 3.11, 3.12

## Installation
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ Features
Requirements
------------

* Django: 3.2, 4.1, 4.2
* Django: 3.2, 4.1, 4.2, 5.0
* Python: 3.8, 3.9, 3.10
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ DJANGO =
3.2: dj32
4.1: dj41
4.2: dj42
5.0: dj50
main: djmain

[tox]
envlist =
py{38,39,310}-dj32-{sqlite3,mysql,postgresql}
py{38,39,310}-dj{40,41,42,main}-{sqlite3,mysql,postgresql}
py311-dj{41,42,main}-{sqlite3,mysql,postgresql}
py312-dj{42,main}-{sqlite3,mysql,postgresql}
py{38,39,310,311}-dj{41,42,50,main}-{sqlite3,mysql,postgresql}
py312-dj{42,50,main}-{sqlite3,mysql,postgresql}

[testenv]
usedevelop = True
Expand All @@ -32,6 +32,7 @@ deps =
dj32: django>=3.2,<3.3
dj41: django>=4.1,<4.2
dj42: django>=4.2,<4.3
dj50: django>=5.0,<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
py312: setuptools
setenv =
Expand Down

0 comments on commit 31897a6

Please sign in to comment.