Formalise support for Django 2.2

This commit is contained in:
Matt Westcott 2019-04-01 18:56:31 +01:00
parent c447f75bd4
commit a3283dd7fb
8 changed files with 33 additions and 19 deletions

View file

@ -11,27 +11,30 @@ matrix:
python: 3.4
- env: TOXENV=py35-dj20-sqlite-noelasticsearch
python: 3.5
- env: TOXENV=py35-dj21-sqlite-noelasticsearch
python: 3.5
- env: TOXENV=py35-dj21-mysql-noelasticsearch
python: 3.5
- env: TOXENV=py36-dj20-postgres-noelasticsearch
python: 3.6
- env: TOXENV=py36-dj21-postgres-noelasticsearch
python: 3.6
- env: TOXENV=py37-dj20-mysql-noelasticsearch
python: 3.7
dist: xenial
- env: TOXENV=py37-dj21-postgres-noelasticsearch
python: 3.7
dist: xenial
- env: TOXENV=py37-dj21-sqlite-noelasticsearch
- env: TOXENV=py37-dj22-sqlite-noelasticsearch
python: 3.7
dist: xenial
- env: TOXENV=py37-dj22-mysql-noelasticsearch
python: 3.7
dist: xenial
- env: TOXENV=py37-dj22-postgres-noelasticsearch
python: 3.7
dist: xenial
- env: TOXENV=py37-dj22stable-postgres-noelasticsearch
python: 3.7
dist: xenial
- env: TOXENV=py37-djmaster-postgres-noelasticsearch
python: 3.7
dist: xenial
- env: TOXENV=py36-dj22-postgres-noelasticsearch
python: 3.6
- env: TOXENV=py36-djmaster-postgres-noelasticsearch
python: 3.6
- env: TOXENV=py36-dj20-sqlite-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
python: 3.6
- env: TOXENV=py36-dj21-sqlite-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
@ -42,7 +45,7 @@ matrix:
python: 3.6
- env: TOXENV=py36-dj21-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
python: 3.6
- env: TOXENV=py37-dj21-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
- env: TOXENV=py37-dj22-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
python: 3.7
dist: xenial
allow_failures:
@ -52,11 +55,11 @@ matrix:
- env: TOXENV=py36-dj21-postgres-elasticsearch5 INSTALL_ELASTICSEARCH5=yes
- env: TOXENV=py36-dj20-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
- env: TOXENV=py36-dj21-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
- env: TOXENV=py37-dj21-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
# allow failures against Django 2.2 while support is still being worked on
- env: TOXENV=py36-dj22-postgres-noelasticsearch
- env: TOXENV=py37-dj22-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
# allow failures against Django 2.2.x stable branch
- env: TOXENV=py37-dj22stable-postgres-noelasticsearch
# allow failures against Django master
- env: TOXENV=py36-djmaster-postgres-noelasticsearch
- env: TOXENV=py37-djmaster-postgres-noelasticsearch
# Services
services:

View file

@ -4,6 +4,7 @@ Changelog
2.5 (xx.xx.xxxx) - IN DEVELOPMENT
~~~~~~~~~~~~~~~~
* Django 2.2 support (Matt Westcott, Andy Babic)
* Added support for customising EditHandler-based forms on a per-request basis (Bertrand Bordage)
* Added more informative error message when `|richtext` filter is applied to a non-string value (mukesh5)
* Automatic search indexing can now be disabled on a per-model basis via the `search_auto_update` attribute (Karl Hobley)

View file

@ -51,7 +51,7 @@ Wagtail is used by NASA, Google, Oxfam, the NHS, Mozilla, MIT, the Red Cross, Sa
Wagtail supports:
* Django 2.0.x and 2.1.x
* Django 2.0.x, 2.1.x and 2.2.x
* Python 3.4, 3.5, 3.6 and 3.7
* PostgreSQL, MySQL and SQLite as database backends

View file

@ -5,7 +5,7 @@ Integrating Wagtail into a Django project
Wagtail provides the ``wagtail start`` command and project template to get you started with a new Wagtail project as quickly as possible, but it's easy to integrate Wagtail into an existing Django project too.
Wagtail is currently compatible with Django 2.0 and 2.1. First, install the ``wagtail`` package from PyPI:
Wagtail is currently compatible with Django 2.0, 2.1 and 2.2. First, install the ``wagtail`` package from PyPI:
.. code-block:: console

View file

@ -10,6 +10,12 @@ Wagtail 2.5 release notes - IN DEVELOPMENT
What's new
==========
Django 2.2 support
~~~~~~~~~~~~~~~~~~
This release is compatible with Django 2.1. Compatibility fixes were contributed by Matt Westcott and Andy Babic.
New Markdown shortcuts in rich text
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -141,4 +141,6 @@ The compatible versions of Django and Python for each Wagtail release are:
+-------------------+------------------------------+-----------------------------+
| 2.4 | 2.0, 2.1 | 3.4, 3.5, 3.6, 3.7 |
+-------------------+------------------------------+-----------------------------+
| 2.5 | 2.0, 2.1, 2.2 | 3.4, 3.5, 3.6, 3.7 |
+-------------------+------------------------------+-----------------------------+

View file

@ -21,7 +21,7 @@ except ImportError:
install_requires = [
"Django>=2.0,<2.2",
"Django>=2.0,<2.3",
"django-modelcluster>=4.2,<5.0",
"django-taggit>=0.23,<0.24",
"django-treebeard>=4.2.0,<5.0",
@ -95,6 +95,7 @@ https://github.com/wagtail/wagtail/.",
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Wagtail',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],

View file

@ -44,7 +44,8 @@ deps =
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj22: git+https://github.com/django/django.git@stable/2.2.x#egg=Django
dj22: Django>=2.2,<2.3
dj22stable: git+https://github.com/django/django.git@stable/2.2.x#egg=Django
djmaster: git+https://github.com/django/django.git@master#egg=Django
postgres: psycopg2>=2.6