mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 01:26:53 +03:00
Run tests against Python 3.9 (#7517)
3.9.0 final is expected on Monday, 2020-10-05 See https://www.python.org/dev/peps/pep-0596/#schedule Also mention Django 3.1 compat where missing.
This commit is contained in:
parent
410575dace
commit
ddcd8b539b
|
@ -21,6 +21,9 @@ matrix:
|
||||||
- { python: "3.8", env: DJANGO=3.1 }
|
- { python: "3.8", env: DJANGO=3.1 }
|
||||||
- { python: "3.8", env: DJANGO=master }
|
- { python: "3.8", env: DJANGO=master }
|
||||||
|
|
||||||
|
- { python: "3.9-dev", env: DJANGO=3.1 }
|
||||||
|
- { python: "3.9-dev", env: DJANGO=master }
|
||||||
|
|
||||||
- { python: "3.8", env: TOXENV=base }
|
- { python: "3.8", env: TOXENV=base }
|
||||||
- { python: "3.8", env: TOXENV=lint }
|
- { python: "3.8", env: TOXENV=lint }
|
||||||
- { python: "3.8", env: TOXENV=docs }
|
- { python: "3.8", env: TOXENV=docs }
|
||||||
|
|
|
@ -52,8 +52,8 @@ There is a live example API for testing purposes, [available here][sandbox].
|
||||||
|
|
||||||
# Requirements
|
# Requirements
|
||||||
|
|
||||||
* Python (3.5, 3.6, 3.7, 3.8)
|
* Python (3.5, 3.6, 3.7, 3.8, 3.9)
|
||||||
* Django (2.2, 3.0)
|
* Django (2.2, 3.0, 3.1)
|
||||||
|
|
||||||
We **highly recommend** and only officially support the latest patch release of
|
We **highly recommend** and only officially support the latest patch release of
|
||||||
each Python and Django series.
|
each Python and Django series.
|
||||||
|
|
|
@ -83,8 +83,8 @@ continued development by **[signing up for a paid plan][funding]**.
|
||||||
|
|
||||||
REST framework requires the following:
|
REST framework requires the following:
|
||||||
|
|
||||||
* Python (3.5, 3.6, 3.7, 3.8)
|
* Python (3.5, 3.6, 3.7, 3.8, 3.9)
|
||||||
* Django (2.2, 3.0)
|
* Django (2.2, 3.0, 3.1)
|
||||||
|
|
||||||
We **highly recommend** and only officially support the latest patch release of
|
We **highly recommend** and only officially support the latest patch release of
|
||||||
each Python and Django series.
|
each Python and Django series.
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -101,6 +101,7 @@ setup(
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
'Programming Language :: Python :: 3.8',
|
'Programming Language :: Python :: 3.8',
|
||||||
|
'Programming Language :: Python :: 3.9',
|
||||||
'Programming Language :: Python :: 3 :: Only',
|
'Programming Language :: Python :: 3 :: Only',
|
||||||
'Topic :: Internet :: WWW/HTTP',
|
'Topic :: Internet :: WWW/HTTP',
|
||||||
],
|
],
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -2,8 +2,8 @@
|
||||||
envlist =
|
envlist =
|
||||||
{py35,py36,py37}-django22,
|
{py35,py36,py37}-django22,
|
||||||
{py36,py37,py38}-django30,
|
{py36,py37,py38}-django30,
|
||||||
{py36,py37,py38}-django31,
|
{py36,py37,py38,py39}-django31,
|
||||||
{py36,py37,py38}-djangomaster,
|
{py36,py37,py38,py39}-djangomaster,
|
||||||
base,dist,lint,docs,
|
base,dist,lint,docs,
|
||||||
|
|
||||||
[travis:env]
|
[travis:env]
|
||||||
|
@ -22,7 +22,7 @@ setenv =
|
||||||
deps =
|
deps =
|
||||||
django22: Django>=2.2,<3.0
|
django22: Django>=2.2,<3.0
|
||||||
django30: Django>=3.0,<3.1
|
django30: Django>=3.0,<3.1
|
||||||
django31: Django>=3.1a1,<3.2
|
django31: Django>=3.1,<3.2
|
||||||
djangomaster: https://github.com/django/django/archive/master.tar.gz
|
djangomaster: https://github.com/django/django/archive/master.tar.gz
|
||||||
-rrequirements/requirements-testing.txt
|
-rrequirements/requirements-testing.txt
|
||||||
-rrequirements/requirements-optionals.txt
|
-rrequirements/requirements-optionals.txt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user