Skip to content

Commit

Permalink
Add support for Python 3.12 and Django 5.1 (#11)
Browse files Browse the repository at this point in the history
* add support for python 3.12 and django 5.1
* update package classifiers and changelog
  • Loading branch information
lociii authored Aug 28, 2024
1 parent 20ed62c commit db16515
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## TBC

* Fixed ignoring of `css_class` attribute in `accordion.html`, `accordion-group.html` and `tab.html` templates.
* Updated supported versions:
* Django 3.2, 4.2, 5.0 and 5.1.
* Python 3.8 to 3.12.

## 2024.1

Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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 :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
envlist =
{py38,py39,py310}-django32-crispy1,
{py38,py39,py310}-django42-crispy{1,2,-latest},
{py311}-django{42,50}-crispy{2,-latest},
{py311}-django{42,50,51}-crispy{2,-latest},
{py312}-django{42,50,51}-crispy{2,-latest},
lint

[testenv]
deps =
django32: django>=3.2,<4
django42: django>=4.2,<5
django50: django>=5.0,<5.1
django51: django>=5.1,<5.2
crispy1: django-crispy-forms<=2.0
crispy2: django-crispy-forms>=2.0,<3
crispy-latest: https://github.com/django-crispy-forms/django-crispy-forms/archive/main.tar.gz
Expand Down

0 comments on commit db16515

Please sign in to comment.