[PATCH 1/3] Force sqlparse < 0.2 for django-debug-toolbar

Daniel Axtens dja at axtens.net
Tue Aug 9 14:38:43 AEST 2016


sqlparse 0.2 breaks django-debug-toolbar 1.4.

Sadly, django-debug-toolbar has an unversioned dependency, so
sqlparse 0.2 gets pulled in and django-debug-toolbar breaks.

django-debug-toolbar 1.5 unbreaks that, but breaks Django 1.7,
so we can't upgrade yet.

Force sqlparse to be < 0.2 in requirements-test.txt

We'll need to revisit this eventually, but it should hold for a
while.

Signed-off-by: Daniel Axtens <dja at axtens.net>
---
 requirements-test.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/requirements-test.txt b/requirements-test.txt
index cfc242f647f8..b4e8e85688fb 100644
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -4,3 +4,4 @@ python-dateutil>2.0,<3.0
 selenium>2.0,<3.0
 djangorestframework>=3.3,<3.4
 drf-nested-routers>=0.11.1,<0.12
+sqlparse<0.2
-- 
2.7.4



More information about the Patchwork mailing list