Skip to content

Commit 3aa1e38

Browse files
authored
Add Django 4.2 to the testing matrix (#220)
1 parent a330dd6 commit 3aa1e38

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,19 @@ jobs:
2929
- python: "3.7"
3030
toxenv: py37-dj32
3131
- python: "3.8"
32-
toxenv: py38-dj32,py38-dj40,py38-dj41
32+
toxenv: py38-dj32,py38-dj40,py38-dj41,py38-dj42
3333
- python: "3.9"
34-
toxenv: py39-dj32,py39-dj40,py39-dj41
34+
toxenv: py39-dj32,py39-dj40,py39-dj41,py39-dj42
3535
- python: "3.10"
3636
# Skip testing Django 4.0, already tested in previous workflow job.
37-
toxenv: py310-dj32,py310-dj41,py310-djmain
37+
toxenv: py310-dj32,py310-dj41,py310-dj42,py310-djmain
38+
- python: "3.11"
39+
toxenv: py311-dj41,py311-dj42,py311-djmain
3840
# Tentative support for next Python pre-release. For the correct specifier,
3941
# Check: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json.
40-
- python: "3.11.0-beta.2"
41-
toxenv: py311-dj41
42+
# when django supports py312, then uncomment this
43+
# - python: "3.12.0-alpha.6"
44+
# toxenv: py312-dj41
4245
steps:
4346
- uses: actions/checkout@v3
4447
- uses: actions/setup-python@v3

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22

33
## [Unreleased]
4-
4+
- Tentative support for Django 4.2 ([#212](https://github.com/torchbox/django-pattern-library/issues/212),[#220](https://github.com/torchbox/django-pattern-library/pull/220)).
55
- Disable pointer events on menu chevron to allow clicks ([#202](https://github.com/torchbox/django-pattern-library/issues/202), [#205](https://github.com/torchbox/django-pattern-library/pull/205))
66
- Improve menu accessibility by using buttons for menu items ([#207](https://github.com/torchbox/django-pattern-library/pull/207)).
77

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Framework :: Django :: 3.2",
2727
"Framework :: Django :: 4.0",
2828
"Framework :: Django :: 4.1",
29+
"Framework :: Django :: 4.2",
2930
]
3031
packages = [
3132
{ include = "pattern_library" },

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[tox]
2-
envlist = py{37,38,39,310,311}-dj{32,40,41,main}, lint
2+
envlist =
3+
py{37,38,39,310}-dj32
4+
py{38,39,310,311}-dj40
5+
py{38,39,310,311}-dj41
6+
py{38,39,310,311}-dj42
7+
py{310,311}-djmain
8+
lint
39
skipsdist = true
410

511
[testenv]
@@ -18,6 +24,7 @@ deps =
1824
; Use pre-releases until stable releases are available.
1925
; dj42: Django==4.2a1
2026
; dj42: Django>=4.2,<4.3
27+
dj42: Django==4.2rc1
2128
djmain: https://github.com/django/django/archive/main.zip
2229

2330
[testenv:lint]

0 commit comments

Comments
 (0)