Skip to content

Commit

Permalink
fix: make it work for django5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
llPekoll committed Dec 16, 2023
1 parent 052b2ad commit e1a943f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand All @@ -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"

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}-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
Expand All @@ -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]
Expand Down

0 comments on commit e1a943f

Please sign in to comment.