kopia lustrzana https://github.com/wagtail/wagtail
Add formal support for Python 3.11
rodzic
1428333af8
commit
7705b080a0
|
@ -23,11 +23,11 @@ concurrency:
|
|||
# - django 3.2, python 3.7, postgres
|
||||
# - django 3.2, python 3.8, mysql
|
||||
# - django 4.0, python 3.9, sqlite
|
||||
# - django 4.1, python 3.9, mysql
|
||||
# - django 4.1, python 3.10, mysql
|
||||
# - django 4.0, python 3.10, postgres, USE_EMAIL_USER_MODEL=yes
|
||||
# - django 4.1, python 3.10, postgres, DISABLE_TIMEZONE=yes
|
||||
# - django 4.1, python 3.11, postgres, DISABLE_TIMEZONE=yes
|
||||
# - django stable/4.1.x, python 3.10, postgres (allow failures)
|
||||
# - django stable/4.1.x, python 3.10, mysql (allow failures)
|
||||
# - django stable/4.1.x, python 3.11, mysql (allow failures)
|
||||
# - django main, python 3.10, postgres (allow failures)
|
||||
# - elasticsearch 5, django 3.2, python 3.7, sqlite
|
||||
# - elasticsearch 6, django 3.2, python 3.7, postgres
|
||||
|
@ -72,7 +72,7 @@ jobs:
|
|||
- python: '3.7'
|
||||
django: 'Django>=3.2,<3.3'
|
||||
experimental: false
|
||||
- python: '3.10'
|
||||
- python: '3.11'
|
||||
django: 'Django>=4.1,<4.2'
|
||||
notz: notz
|
||||
experimental: false
|
||||
|
@ -131,10 +131,10 @@ jobs:
|
|||
- python: '3.8'
|
||||
django: 'Django>=3.2,<3.3'
|
||||
experimental: false
|
||||
- python: '3.9'
|
||||
- python: '3.10'
|
||||
django: 'Django>=4.1,<4.2'
|
||||
experimental: false
|
||||
- python: '3.10'
|
||||
- python: '3.11'
|
||||
django: 'git+https://github.com/django/django.git@stable/4.1.x#egg=Django'
|
||||
experimental: true
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ _(If you are reading this on GitHub, the details here may not be indicative of t
|
|||
Wagtail supports:
|
||||
|
||||
- Django 3.2.x, 4.0.x and 4.1.x
|
||||
- Python 3.7, 3.8, 3.9 and 3.10
|
||||
- Python 3.7, 3.8, 3.9, 3.10 and 3.11
|
||||
- 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 and earlier Django versions.
|
||||
|
|
|
@ -9,7 +9,7 @@ If you'd like to add Wagtail to an existing Django project instead, see [](integ
|
|||
|
||||
### Install dependencies
|
||||
|
||||
Wagtail supports Python 3.7, 3.8, 3.9, and 3.10.
|
||||
Wagtail supports Python 3.7, 3.8, 3.9, 3.10, and 3.11.
|
||||
|
||||
To check whether you have an appropriate version of Python 3:
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ The compatible versions of Django and Python for each Wagtail release are:
|
|||
|
||||
| Wagtail release | Compatible Django versions | Compatible Python versions |
|
||||
| --------------- | -------------------------- | -------------------------- |
|
||||
| 4.2 | 3.2, 4.0, 4.1 | 3.7, 3.8, 3.9, 3.10 |
|
||||
| 4.2 | 3.2, 4.0, 4.1 | 3.7, 3.8, 3.9, 3.10, 3.11 |
|
||||
| 4.1 LTS | 3.2, 4.0, 4.1 | 3.7, 3.8, 3.9, 3.10 |
|
||||
| 4.0 | 3.2, 4.0, 4.1 | 3.7, 3.8, 3.9, 3.10 |
|
||||
| 3.0 | 3.2, 4.0 | 3.7, 3.8, 3.9, 3.10 |
|
||||
|
|
1
setup.py
1
setup.py
|
@ -111,6 +111,7 @@ https://github.com/wagtail/wagtail/.",
|
|||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Framework :: Django",
|
||||
"Framework :: Django :: 3.2",
|
||||
"Framework :: Django :: 4.0",
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -2,7 +2,7 @@
|
|||
skipsdist = True
|
||||
usedevelop = True
|
||||
|
||||
envlist = py{37,38,39,310}-dj{32,40,41,41stable,main}-{sqlite,postgres,mysql,mssql}-{elasticsearch7,elasticsearch6,elasticsearch5,noelasticsearch}-{customuser,emailuser}-{tz,notz},
|
||||
envlist = py{37,38,39,310,311}-dj{32,40,41,41stable,main}-{sqlite,postgres,mysql,mssql}-{elasticsearch7,elasticsearch6,elasticsearch5,noelasticsearch}-{customuser,emailuser}-{tz,notz},
|
||||
|
||||
[testenv]
|
||||
install_command = pip install -e ".[testing]" -U {opts} {packages}
|
||||
|
@ -17,6 +17,7 @@ basepython =
|
|||
py38: python3.8
|
||||
py39: python3.9
|
||||
py310: python3.10
|
||||
py311: python3.11
|
||||
|
||||
deps =
|
||||
django-sendfile==0.3.6
|
||||
|
|
Ładowanie…
Reference in New Issue