Skip to content

Commit

Permalink
Add Python 3.12 support (#516)
Browse files Browse the repository at this point in the history
Also added missing supported Django version 4.2 to trove classifiers
  • Loading branch information
ulgens authored Nov 8, 2024
1 parent 0470ec2 commit a0e9f71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.8, 3.9, '3.10', '3.11' ]
python-version: [ 3.8, 3.9, '3.10', '3.11', 3.12 ]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ classifiers = [
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8"
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist =
py{38,39,310}-django{32}
py{38,39,310}-django{40,41,42}
py{311}-django{41,42}
py{312}-django{42}
isolated_build = True

[gh-actions]
Expand All @@ -11,6 +12,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
allowlist_externals = ./run.sh
Expand Down

0 comments on commit a0e9f71

Please sign in to comment.