Skip to content

Commit 7873adb

Browse files
michael-ksigvef
authored andcommitted
Run tests against Python 3.9 (encode#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.
1 parent de6356f commit 7873adb

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ matrix:
2121
- { python: "3.8", env: DJANGO=3.1 }
2222
- { python: "3.8", env: DJANGO=master }
2323

24+
- { python: "3.9-dev", env: DJANGO=3.1 }
25+
- { python: "3.9-dev", env: DJANGO=master }
26+
2427
- { python: "3.8", env: TOXENV=base }
2528
- { python: "3.8", env: TOXENV=lint }
2629
- { python: "3.8", env: TOXENV=docs }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ There is a live example API for testing purposes, [available here][sandbox].
5252

5353
# Requirements
5454

55-
* Python (3.5, 3.6, 3.7, 3.8)
56-
* Django (2.2, 3.0)
55+
* Python (3.5, 3.6, 3.7, 3.8, 3.9)
56+
* Django (2.2, 3.0, 3.1)
5757

5858
We **highly recommend** and only officially support the latest patch release of
5959
each Python and Django series.

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ continued development by **[signing up for a paid plan][funding]**.
8383

8484
REST framework requires the following:
8585

86-
* Python (3.5, 3.6, 3.7, 3.8)
87-
* Django (2.2, 3.0)
86+
* Python (3.5, 3.6, 3.7, 3.8, 3.9)
87+
* Django (2.2, 3.0, 3.1)
8888

8989
We **highly recommend** and only officially support the latest patch release of
9090
each Python and Django series.

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def get_version(package):
101101
'Programming Language :: Python :: 3.6',
102102
'Programming Language :: Python :: 3.7',
103103
'Programming Language :: Python :: 3.8',
104+
'Programming Language :: Python :: 3.9',
104105
'Programming Language :: Python :: 3 :: Only',
105106
'Topic :: Internet :: WWW/HTTP',
106107
],

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
envlist =
33
{py35,py36,py37}-django22,
44
{py36,py37,py38}-django30,
5-
{py36,py37,py38}-django31,
6-
{py36,py37,py38}-djangomaster,
5+
{py36,py37,py38,py39}-django31,
6+
{py36,py37,py38,py39}-djangomaster,
77
base,dist,lint,docs,
88

99
[travis:env]
@@ -22,7 +22,7 @@ setenv =
2222
deps =
2323
django22: Django>=2.2,<3.0
2424
django30: Django>=3.0,<3.1
25-
django31: Django>=3.1a1,<3.2
25+
django31: Django>=3.1,<3.2
2626
djangomaster: https://github.com/django/django/archive/master.tar.gz
2727
-rrequirements/requirements-testing.txt
2828
-rrequirements/requirements-optionals.txt

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy