Skip to content

Commit

Permalink
Support Python 3.8 (#477)
Browse files Browse the repository at this point in the history
* Support Python 3.8
* Add Python 3.8 trove classifier
* Add Python 3.8 support to README
  • Loading branch information
johnthagen authored and axnsan12 committed Nov 14, 2019
1 parent 27007a9 commit 9966297
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ python:
- '3.5'
- '3.6'
- '3.7'
- '3.8-dev'
- '3.8'

dist: xenial

Expand Down Expand Up @@ -39,7 +39,6 @@ matrix:
allow_failures:
- env: TOXENV=lint
- env: TOXENV=djmaster
- python: '3.8-dev'

fast_finish: true

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Compatible with

- **Django Rest Framework**: 3.8, 3.9, 3.10
- **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.

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def read_req(req_file):
requirements = read_req('base.txt')
requirements_validation = read_req('validation.txt')

py3_supported_range = (5, 7)
py3_supported_range = (5, 8)

# convert inclusive range to exclusive range
py3_supported_range = (py3_supported_range[0], py3_supported_range[1] + 1)
Expand Down

0 comments on commit 9966297

Please sign in to comment.