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

Daniel Axtens dja at axtens.net
Wed Aug 24 11:54:41 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.

So it seems like sqlparse 0.2.1 has been released, which fixes this
breakage.

We probably do still need to add sqlparse to the production
requirements, but we can now include a more recent version.

Regards,
Daniel

>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20160824/502d829d/attachment.sig>


More information about the Patchwork mailing list