[2.0.x] Refs #28814 -- Documented Python 3.7 compatibility.

Backport of 2f7cd7f8ec from master
This commit is contained in:
Asif Saifuddin Auvi 2018-06-28 21:02:29 +06:00 committed by Tim Graham
parent cba51003de
commit a684819193
4 changed files with 6 additions and 7 deletions

View File

@ -46,11 +46,9 @@ What Python version can I use with Django?
============== =============== ============== ===============
Django version Python versions Django version Python versions
============== =============== ============== ===============
1.8 2.7, 3.2 (until the end of 2016), 3.3, 3.4, 3.5
1.9, 1.10 2.7, 3.4, 3.5
1.11 2.7, 3.4, 3.5, 3.6 1.11 2.7, 3.4, 3.5, 3.6
2.0 3.4, 3.5, 3.6 2.0 3.4, 3.5, 3.6, 3.7
2.1 3.5, 3.6, 3.7 2.1, 2.2 3.5, 3.6, 3.7
============== =============== ============== ===============
For each version of Python, only the latest micro release (A.B.C) is officially For each version of Python, only the latest micro release (A.B.C) is officially

View File

@ -24,8 +24,8 @@ project.
Python compatibility Python compatibility
==================== ====================
Django 2.0 supports Python 3.4, 3.5, and 3.6. We **highly recommend** and only Django 2.0 supports Python 3.4, 3.5, 3.6, and 3.7. We **highly recommend** and
officially support the latest release of each series. only officially support the latest release of each series.
The Django 1.11.x series is the last to support Python 2.7. The Django 1.11.x series is the last to support Python 2.7.

View File

@ -101,6 +101,7 @@ setup(
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',

View File

@ -21,7 +21,7 @@ passenv = DJANGO_SETTINGS_MODULE PYTHONPATH HOME DISPLAY
setenv = setenv =
PYTHONDONTWRITEBYTECODE=1 PYTHONDONTWRITEBYTECODE=1
deps = deps =
py{3,34,35,36}: -rtests/requirements/py3.txt py{3,34,35,36,37}: -rtests/requirements/py3.txt
postgres: -rtests/requirements/postgres.txt postgres: -rtests/requirements/postgres.txt
mysql: -rtests/requirements/mysql.txt mysql: -rtests/requirements/mysql.txt
oracle: -rtests/requirements/oracle.txt oracle: -rtests/requirements/oracle.txt