Skip to content

Commit

Permalink
Add Python 3.11 and Django 4.1 support (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
kytta authored Nov 17, 2022
2 parents c72254c + 95fdb04 commit 81f751d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
django-version: ['3.2', '4.0', 'main']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
django-version: ['3.2', '4.0', '4.1', 'main']

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 4 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
django-simple-menu changelog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Version 2.0.4 - Released November 17th, 2022
- Support Python 3.11 and Django 4.1 (#110, #111)

Version 2.0.3 - Released November 17th, 2022
- Fixed typo ina docstring (#109)
- Fixed typo in a docstring (#109)

Version 2.0.2 - Released November 4th, 2022
- Fixed generation of documentation on ReadTheDocs
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ classifiers =
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Framework :: Django :: 4.1
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Natural Language :: English
Expand All @@ -25,6 +26,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

[options]
packages =
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ skipsdist = true
usedevelop = true
envlist =
py{36,37,38,39,310}-dj32
py{38,39,310}-dj{40,main}
py{38,39,310}-dj40
py{38,39,310,311}-dj{41,main}

[gh-actions]
python =
Expand All @@ -12,11 +13,13 @@ python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[gh-actions:env]
DJANGO =
3.2: dj32
4.0: dj40
4.1: dj41
main: djmain

[testenv]
Expand All @@ -25,6 +28,7 @@ deps =
coverage
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
djmain: https://github.com/django/django/tarball/main
setenv =
DJANGO_SETTINGS_MODULE=simple_menu.test_settings
Expand Down

0 comments on commit 81f751d

Please sign in to comment.