Skip to content

Commit 5e61987

Browse files
authored
Add Python 3.8 and Django 3.0/3.1 support (#341)
1 parent a6fc693 commit 5e61987

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
language: python
2-
dist: xenial
2+
dist: bionic
33

44
python:
55
- "3.5"
66
- "3.6"
77
- "3.7"
8+
- "3.8"
89

910
install:
1011
- travis_retry pip install -U six setuptools pip wheel
@@ -17,15 +18,15 @@ after_success:
1718

1819
matrix:
1920
include:
20-
- python: "3.7"
21+
- python: "3.8"
2122
env: TOXENV="performance"
2223
script: tox -- -v 2
23-
- python: "3.7"
24+
- python: "3.8"
2425
env: TOXENV="warnings"
25-
- python: "3.7"
26+
- python: "3.8"
2627
env: TOXENV="isort,lint"
2728

28-
- python: "3.7"
29+
- python: "3.8"
2930
env: TOXENV="dist"
3031
script:
3132
- python setup.py bdist_wheel

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ Features
5555
Requirements
5656
------------
5757

58-
* **Python**: 3.4, 3.5, 3.6, 3.7
59-
* **Django**: 1.11, 2.0, 2.1, 2.2
58+
* **Python**: 3.4, 3.5, 3.6, 3.7, 3.8
59+
* **Django**: 1.11, 2.0, 2.1, 2.2, 3.0, 3.1
6060
* **DRF**: 3.10
61-
* **django-filter**: 2.0
61+
* **django-filter**: 2.1, 2.2 (Django 2.0+)
6262

6363

6464
Installation

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[coverage:run]
22
branch = True
33
source = .
4+
omit = .venv/*,.tox/*
45

56
[coverage:report]
67
include = rest_framework_filters/*

tox.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ envlist =
44
py{35,36,37}-django20,
55
py{35,36,37}-django21,
66
py{35,36,37}-django22,
7+
py{36,37,38}-django30,
8+
py{36,37,38}-django31,
79
performance, warnings, isort, lint, dist,
810

911
[travis]
@@ -15,13 +17,16 @@ envdir = {toxworkdir}/venvs/{envname}
1517
setenv =
1618
PYTHONDONTWRITEBYTECODE=1
1719
deps =
18-
coverage>=4.0
20+
coverage>=5.0
1921
django-crispy-forms~=1.0
20-
djangorestframework~=3.10.0
22+
djangorestframework~=3.11.0
23+
django111: django-filter~=2.1.0
2124
django111: django~=1.11.0
2225
django20: django~=2.0.0
2326
django21: django~=2.1.0
2427
django22: django~=2.2.0
28+
django30: django~=3.0.0
29+
django31: django~=3.1.0
2530

2631

2732
[testenv:performance]

0 commit comments

Comments
 (0)