Test against Python 3.12

pull/10995/head
Matt Westcott 2023-10-04 11:36:44 +01:00 zatwierdzone przez Matt Westcott
rodzic e2ce772017
commit 9c3032083b
4 zmienionych plików z 14 dodań i 13 usunięć

Wyświetl plik

@ -21,11 +21,11 @@ concurrency:
# Current configuration:
# - django 3.2, python 3.8, postgres, parallel
# - django 3.2, python 3.8, mysql
# - django 4.1, python 3.9, sqlite
# - django 4.2, python 3.10, mysql, parallel
# - django 4.1, python 3.10, postgres, parallel, USE_EMAIL_USER_MODEL=yes
# - django 4.2, python 3.11, postgres, parallel, DISABLE_TIMEZONE=yes
# - django 3.2, python 3.9, mysql
# - django 4.1, python 3.10, sqlite
# - django 4.2, python 3.11, mysql, parallel
# - django 4.1, python 3.11, postgres, parallel, USE_EMAIL_USER_MODEL=yes
# - django 4.2, python 3.12, postgres, parallel, DISABLE_TIMEZONE=yes
# - django stable/4.2.x, python 3.10, postgres (allow failures)
# - django main, python 3.10, postgres, parallel (allow failures)
# - elasticsearch 5, django 3.2, python 3.8, sqlite
@ -49,7 +49,7 @@ jobs:
strategy:
matrix:
include:
- python: '3.9'
- python: '3.10'
django: 'Django>=4.1,<4.2'
steps:
@ -85,13 +85,13 @@ jobs:
django: 'Django>=3.2,<3.3'
experimental: false
parallel: '--parallel'
- python: '3.11'
- python: '3.12'
django: 'Django>=4.2,<4.3'
postgres: 'postgres:12'
notz: notz
experimental: false
parallel: '--parallel'
- python: '3.10'
- python: '3.11'
django: 'Django>=4.1,<4.2'
experimental: false
emailuser: emailuser
@ -156,10 +156,10 @@ jobs:
strategy:
matrix:
include:
- python: '3.8'
- python: '3.9'
django: 'Django>=3.2,<3.3'
experimental: false
- python: '3.10'
- python: '3.11'
django: 'Django>=4.2,<4.3'
experimental: false
parallel: '--parallel'

Wyświetl plik

@ -85,7 +85,7 @@ _(If you are reading this on GitHub, the details here may not be indicative of t
Wagtail supports:
- Django 3.2.x, 4.1.x and 4.2.x
- Python 3.8, 3.9, 3.10 and 3.11
- Python 3.8, 3.9, 3.10, 3.11 and 3.12
- PostgreSQL, MySQL and SQLite (with JSON1) as database backends
[Previous versions of Wagtail](https://docs.wagtail.org/en/stable/releases/upgrading.html#compatible-django-python-versions) additionally supported Python 2.7, 3.7 and earlier Django versions.

Wyświetl plik

@ -59,7 +59,7 @@ The compatible versions of Django and Python for each Wagtail release are:
| Wagtail release | Compatible Django versions | Compatible Python versions |
| --------------- | -------------------------- | -------------------------- |
| 5.2 | 3.2, 4.1, 4.2 | 3.8, 3.9, 3.10, 3.11 |
| 5.2 | 3.2, 4.1, 4.2 | 3.8, 3.9, 3.10, 3.11, 3.12 |
| 5.1 | 3.2, 4.1, 4.2 | 3.8, 3.9, 3.10, 3.11 |
| 5.0 | 3.2, 4.1, 4.2 | 3.7, 3.8, 3.9, 3.10, 3.11 |
| 4.2 | 3.2, 4.0, 4.1 | 3.7, 3.8, 3.9, 3.10, 3.11 |

Wyświetl plik

@ -2,7 +2,7 @@
skipsdist = True
usedevelop = True
envlist = py{38,39,310,311}-dj{32,41,42,42stable,main}-{sqlite,postgres,mysql,mssql}-{elasticsearch8,elasticsearch7,elasticsearch6,elasticsearch5,noelasticsearch}-{customuser,emailuser}-{tz,notz},
envlist = py{38,39,310,311,312}-dj{32,41,42,42stable,main}-{sqlite,postgres,mysql,mssql}-{elasticsearch8,elasticsearch7,elasticsearch6,elasticsearch5,noelasticsearch}-{customuser,emailuser}-{tz,notz},
[testenv]
install_command = pip install -e ".[testing]" -U {opts} {packages}
@ -18,6 +18,7 @@ basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
deps =
django-sendfile==0.3.6