Skip to content

Commit

Permalink
Add support for Python 3.12 and Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksihakli committed Mar 4, 2024
1 parent dbd16dd commit 1f67428
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
17 changes: 9 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ DJANGO_SETTINGS_MODULE = "tests.settings"
legacy_tox_ini = """
[tox]
envlist =
py{38,39,310,py38}-dj32
py{38,39,310,311,py38}-dj41
py{38,39,310,311,py38}-dj42
py{38,39,310,py310}-dj32
py{38,39,310,311,py310}-dj42
py{310,311,py310}-dj50
py311-djmain
py311-djqa
Expand All @@ -22,7 +22,8 @@ python =
3.9: py39
3.10: py310
3.11: py311
pypy-3.8: pypy38
3.12: py312
pypy-3.10: pypy310
[gh-actions:env]
DJANGO =
Expand All @@ -37,8 +38,8 @@ DJANGO =
deps =
-r requirements-test.txt
dj32: django>=3.2,<3.3
dj41: django>=4.1,<4.2
dj42: django>=4.1,<4.2
dj50: django>=5.0,<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
usedevelop = true
commands = pytest
Expand All @@ -47,13 +48,13 @@ setenv =
# Django development version is allowed to fail the test matrix
ignore_outcome =
djmain: True
pypy38: True
pypy310: True
ignore_errors =
djmain: True
pypy38: True
pypy310: True
# QA runs type checks, linting, and code formatting checks
[testenv:py311-djqa]
[testenv:py312-djqa]
deps = -r requirements-qa.txt
commands =
mypy axes
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"Environment :: Plugins",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
Expand All @@ -60,6 +60,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: Log Analysis",
Expand Down

0 comments on commit 1f67428

Please sign in to comment.