Skip to content

Commit

Permalink
Drop support for Django < 4.2 and Wagtail < 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
laymonage committed Jan 30, 2024
1 parent c63ed0a commit 21c527d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
needs: lint
strategy:
matrix:
python: ['3.8', '3.9', '3.10', '3.11']
python: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand All @@ -57,11 +57,11 @@ jobs:
needs: lint
strategy:
matrix:
python: ['3.8', '3.9']
python: ['3.8', '3.9', '3.10']
include:
- python: '3.10'
postgres: '12'
- python: '3.11'
postgres: '12'
- python: '3.12'
postgres: '13'

services:
Expand Down
19 changes: 9 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ skipsdist = True
usedevelop = True

envlist =
python{3.8,3.9,3.10}-django{3.2,4.1,4.2}-wagtail{5.0,5.1}
python3.11-django{4.2,5.0}-wagtail{5.0,5.1,6.0,main}
python{3.8,3.9,3.10,3.11}-django{4.2,5.0}-wagtail{5.2,main}
python3.12-djangomain-wagtailmain

[gh]
python =
3.8 = python3.8-django{3.2,4.1,4.2}-wagtail{5.0,5.1}
3.9 = python3.9-django{3.2,4.1,4.2}-wagtail{5.1}
3.10 = python3.10-django{3.2,4.1,4.2}-wagtail{5.1}
3.8 = python3.8-django{4.2}-wagtail{5.2}
3.9 = python3.9-django{4.2}-wagtail{5.2,main}
3.10 = python3.10-django{4.2,5.0}-wagtail{5.2,6.0,main}
3.11 = python3.11-django{4.2,5.0}-wagtail{6.0,main}
3.12 = python3.12-djangomain-wagtailmain

[testenv]
install_command = pip install -e ".[testing]" -U {opts} {packages}
Expand All @@ -22,22 +23,20 @@ basepython =
python3.9: python3.9
python3.10: python3.10
python3.11: python3.11
python3.12: python3.12

deps =
coverage

django3.2: Django>=3.2,<4.0
django4.1: Django>=4.1,<4.2
django4.2: Django>=4.2,<4.3
django5.0: Django>=5.0,<5.1
djangomain: git+https://github.com/django/django.git@main#egg=Django

wagtail5.0: wagtail>=5.0,<5.1
wagtail5.1: wagtail>=5.1,<5.2
wagtail5.2: wagtail>=5.2,<6.0
wagtail6.0: git+https://github.com/wagtail/wagtail.git@stable/6.0.x#egg=wagtail
wagtailmain: git+https://github.com/wagtail/wagtail.git#egg=wagtail

postgres: psycopg2>=2.6
postgres: psycopg2>=2.8.4

setenv =
postgres: DATABASE_URL={env:DATABASE_URL:postgres:///wagtail_modeladmin}
Expand Down

0 comments on commit 21c527d

Please sign in to comment.