Skip to content

Commit

Permalink
Added support for Django 5.0 and Python 3.12 (#92)
Browse files Browse the repository at this point in the history
* Added support for Django50 and Python 3.12

* Add Python 3.12 support to CI
  • Loading branch information
AmiZya authored Nov 14, 2023
1 parent 580395c commit d8c2418
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def find_version(*parts):
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
Expand All @@ -48,6 +49,7 @@ def find_version(*parts):
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Utilities',
],
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@ envlist =
flake8-py311,
py{37,38,39,310}-dj32
py{38,39,310,311}-dj{40,41,42}
py{310,311}-djmain
py{310,311,312}-dj{50,main}

[testenv]
usedevelop = true
setenv =
PYTHONPATH = {toxinidir}
DJANGO_SETTINGS_MODULE=tests.test_settings
deps =
py{37,38,39,310,311}: coverage
py{37,38,39,310,311,312}: coverage
django-discover-runner
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2a1,<4.3
dj50: Django>=5.0b1,<5.1
djmain: https://github.com/django/django/archive/main.tar.gz#egg=django

commands =
Expand Down

0 comments on commit d8c2418

Please # to comment.