Support Python 3.8 (#477)

* Support Python 3.8
* Add Python 3.8 trove classifier
* Add Python 3.8 support to README
master
johnthagen 2019-11-14 07:01:55 -05:00 committed by Cristi Vîjdea
parent 27007a9cf4
commit 9966297f87
3 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,7 @@ python:
- '3.5' - '3.5'
- '3.6' - '3.6'
- '3.7' - '3.7'
- '3.8-dev' - '3.8'
dist: xenial dist: xenial
@ -39,7 +39,6 @@ matrix:
allow_failures: allow_failures:
- env: TOXENV=lint - env: TOXENV=lint
- env: TOXENV=djmaster - env: TOXENV=djmaster
- python: '3.8-dev'
fast_finish: true fast_finish: true

View File

@ -15,7 +15,7 @@ Compatible with
- **Django Rest Framework**: 3.8, 3.9, 3.10 - **Django Rest Framework**: 3.8, 3.9, 3.10
- **Django**: 1.11, 2.1, 2.2 - **Django**: 1.11, 2.1, 2.2
- **Python**: 2.7, 3.5, 3.6, 3.7 - **Python**: 2.7, 3.5, 3.6, 3.7, 3.8
Only the latest patch version of each ``major.minor`` series of Python, Django and Django REST Framework is supported. Only the latest patch version of each ``major.minor`` series of Python, Django and Django REST Framework is supported.

View File

@ -19,7 +19,7 @@ with io.open('README.rst', encoding='utf-8') as readme:
requirements = read_req('base.txt') requirements = read_req('base.txt')
requirements_validation = read_req('validation.txt') requirements_validation = read_req('validation.txt')
py3_supported_range = (5, 7) py3_supported_range = (5, 8)
# convert inclusive range to exclusive range # convert inclusive range to exclusive range
py3_supported_range = (py3_supported_range[0], py3_supported_range[1] + 1) py3_supported_range = (py3_supported_range[0], py3_supported_range[1] + 1)