Skip to content

Commit

Permalink
Formalise Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Oct 15, 2019
1 parent 34b3f0c commit ddbbaea
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Expand Up @@ -28,7 +28,7 @@ matrix:
- env: TOXENV=py37-djmaster-postgres-noelasticsearch
python: 3.7
- env: TOXENV=py38-dj22-postgres-noelasticsearch
python: 3.8-dev
python: 3.8
- env: TOXENV=py36-dj20-sqlite-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
python: 3.6
- env: TOXENV=py36-dj21-sqlite-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
Expand All @@ -42,7 +42,9 @@ matrix:
- env: TOXENV=py37-dj22-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
python: 3.7
- env: TOXENV=py37-dj22-postgres-elasticsearch7 INSTALL_ELASTICSEARCH7=yes
python: 3.7
python: 3.7
- env: TOXENV=py38-dj22-postgres-elasticsearch7 INSTALL_ELASTICSEARCH7=yes
python: 3.8
allow_failures:
# Ignore failures on Elasticsearch tests because ES on Travis is intermittently flaky
- env: TOXENV=py36-dj20-sqlite-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
Expand All @@ -52,12 +54,11 @@ matrix:
- env: TOXENV=py36-dj21-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
- env: TOXENV=py37-dj22-postgres-elasticsearch6 INSTALL_ELASTICSEARCH6=yes
- env: TOXENV=py37-dj22-postgres-elasticsearch7 INSTALL_ELASTICSEARCH7=yes
- env: TOXENV=py38-dj22-postgres-elasticsearch7 INSTALL_ELASTICSEARCH7=yes
# allow failures against Django 2.2.x stable branch
- env: TOXENV=py37-dj22stable-postgres-noelasticsearch
# allow failures against Django master
- env: TOXENV=py37-djmaster-postgres-noelasticsearch
# allow failures against Python 3.8-dev
- env: TOXENV=py38-dj22-postgres-noelasticsearch

# Services
services:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.txt
Expand Up @@ -6,6 +6,7 @@ Changelog

* Improved StreamField design (Bertrand Bordage)
* Added Elasticsearch 7 support (pySilver)
* Added Python 3.8 support (John Carter, Matt Westcott)
* Added `construct_page_listing_buttons` hook (Michael van Tellingen)
* Added more detailed documentation and troubleshooting for installing OpenCV for feature detection (Daniele Procida)
* Added Table Block caption for accessibility (Rahmi Pruitt)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -55,7 +55,7 @@ Wagtail is used by NASA, Google, Oxfam, the NHS, Mozilla, MIT, the Red Cross, Sa
Wagtail supports:

* Django 2.0.x, 2.1.x and 2.2.x
* Python 3.5, 3.6 and 3.7
* Python 3.5, 3.6, 3.7 and 3.8
* PostgreSQL, MySQL and SQLite as database backends

Previous versions of Wagtail (1.13 and earlier) additionally supported Python 2.7 and Django 1.x.
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started/tutorial.rst
Expand Up @@ -11,7 +11,7 @@ Install and run Wagtail
Install dependencies
~~~~~~~~~~~~~~~~~~~~

Wagtail supports Python 3.5, 3.6, and 3.7.
Wagtail supports Python 3.5, 3.6, 3.7 and 3.8.

To check whether you have an appropriate version of Python 3:

Expand Down
1 change: 1 addition & 0 deletions docs/releases/2.7.rst
Expand Up @@ -25,6 +25,7 @@ Other features
~~~~~~~~~~~~~~

* Added Elasticsearch 7 support (pySilver)
* Added Python 3.8 support (John Carter, Matt Westcott)
* Added ``construct_page_listing_buttons`` hook (Michael van Tellingen)
* Added more detailed documentation and troubleshooting for installing OpenCV for feature detection (Daniele Procida)
* Move and refactor upgrade notification JS (Jonny Scholes)
Expand Down
2 changes: 1 addition & 1 deletion docs/releases/upgrading.rst
Expand Up @@ -129,6 +129,6 @@ The compatible versions of Django and Python for each Wagtail release are:
+-------------------+------------------------------+-----------------------------+
| 2.6 | 2.0, 2.1, 2.2 | 3.5, 3.6, 3.7 |
+-------------------+------------------------------+-----------------------------+
| 2.7 LTS | 2.0, 2.1, 2.2 | 3.5, 3.6, 3.7 |
| 2.7 LTS | 2.0, 2.1, 2.2 | 3.5, 3.6, 3.7, 3.8 |
+-------------------+------------------------------+-----------------------------+

1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -97,6 +97,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
Expand Down

0 comments on commit ddbbaea

Please sign in to comment.