Skip to content

Commit 995db40

Browse files
committed
Add Python 3.7 and Django 1.11 to the build matrix
Fixes #1125. Requires pinning mysqlclient<1.4 because of mysqlclient's failure to interpolate named params into an SQL query (it converts strings to bytes and afterwards complains that it cannot find b"first_name", e.g. in test_raw_query_param_conversion: ... File "/home/travis/build/jazzband/django-debug-toolbar/.tox/mariadb/lib/python3.7/site-packages/MySQLdb/cursors.py", line 188, in execute query = query % args KeyError: b'first_name'
1 parent c201ce3 commit 995db40

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ matrix:
1313
env: TOXENV=py35-dj111
1414
- python: 3.6
1515
env: TOXENV=py36-dj111
16+
- python: 3.7
17+
env: TOXENV=py37-dj111
1618
- python: 3.4
1719
env: TOXENV=py34-dj20
1820
- python: 3.5

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36}-dj111
3+
py{27,34,35,36,37}-dj111
44
py{34,35,36,37}-dj20
55
py{35,36,37}-dj21
66
py{35,36,37}-djmaster
@@ -49,7 +49,7 @@ deps =
4949
coverage
5050
django_jinja
5151
html5lib
52-
mysqlclient
52+
mysqlclient<1.4
5353
selenium<4.0
5454
sqlparse
5555
setenv =

0 commit comments

Comments
 (0)