Skip to content

Commit e41b502

Browse files
alxbridgellPekoll
andauthored
fix: make it work for django5.0 (updated) (#241)
* fix: make it work for django5.0 * Update CHANGELOG --------- Co-authored-by: peko <yoyo.mepa@gmail.com>
1 parent dfc31df commit e41b502

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
python-version: "3.11"
1616
cache: 'poetry'
1717
- run: pip install tox
18-
- run: tox -e lint,py311-dj42
18+
- run: tox -e lint,py311-dj50
1919
test_compatibility:
2020
needs: test
2121
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Added
6+
7+
- Add support for Django 5.0 ([#241](https://github.com/torchbox/django-pattern-library/pull/241))
8+
39
## [1.1.0](https://github.com/torchbox/django-pattern-library/releases/tag/v1.1.0) - 2023-10-25
410

511
### Added

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Framework :: Django :: 3.2",
2626
"Framework :: Django :: 4.1",
2727
"Framework :: Django :: 4.2",
28+
"Framework :: Django :: 5.0",
2829
]
2930
packages = [
3031
{ include = "pattern_library" },
@@ -43,7 +44,7 @@ exclude = [
4344

4445
[tool.poetry.dependencies]
4546
python = "^3.8"
46-
Django = ">=3.2,<5.0"
47+
Django = ">=3.2,<5.1"
4748
PyYAML = ">=5.1,<7.0"
4849
Markdown = "^3.1"
4950

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ envlist =
33
py{38,39,310}-dj32
44
py{38,39,310,311}-dj41
55
py{38,39,310,311}-dj42
6+
py{38,39,310,311}-dj50
67
py{310,311}-djmain
78
lint
89
skipsdist = true
@@ -20,6 +21,7 @@ deps =
2021
dj32: Django>=3.2,<3.3
2122
dj41: Django>=4.1,<4.2
2223
dj42: Django>=4.2,<5.0
24+
dj50: Django>=5.0,<5.1
2325
djmain: https://github.com/django/django/archive/main.zip
2426

2527
[testenv:lint]

0 commit comments

Comments
 (0)