diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d2cb5c..4bd305f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: python-version-file: pyproject.toml cache: 'poetry' - run: pip install tox - - run: tox -e lint,py311-dj42 + - run: tox -e lint,py311-dj50 test_compatibility: needs: test runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index 270397f..05b8b10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Framework :: Django :: 3.2", "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", ] packages = [ { include = "pattern_library" }, @@ -43,7 +44,7 @@ exclude = [ [tool.poetry.dependencies] python = "^3.8" -Django = ">=3.2,<5.0" +Django = ">=3.2,<5.1" PyYAML = ">=5.1,<7.0" Markdown = "^3.1" diff --git a/tox.ini b/tox.ini index 5048474..1d9a8eb 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,7 @@ envlist = py{38,39,310}-dj32 py{38,39,310,311}-dj41 py{38,39,310,311}-dj42 + py{38,39,310,311}-dj50 py{310,311}-djmain lint skipsdist = true @@ -20,6 +21,7 @@ deps = dj32: Django>=3.2,<3.3 dj41: Django>=4.1,<4.2 dj42: Django>=4.2,<5.0 + dj50: Django>=5.0,<5.1 djmain: https://github.com/django/django/archive/main.zip [testenv:lint]