[Python-modules-team] Bug#902761: SyntaxError: Generator expression must be parenthesized with python3.7
James Valleroy
jvalleroy at mailbox.org
Sat Jun 30 15:40:02 BST 2018
Package: python3-django
Version: 1:1.11.13-1
Severity: important
Tags: upstream
python3-django fails to configure when python3.7 is used.
I found this error when a CI build on Salsa failed:
https://salsa.debian.org/freedombox-team/plinth/-/jobs/28397
Setting up python3-django (1:1.11.13-1) ...
File "/usr/lib/python3/dist-packages/django/contrib/admin/widgets.py", line 152
'%s=%s' % (k, v) for k, v in params.items(),
^
SyntaxError: Generator expression must be parenthesized
dpkg: error processing package python3-django (--configure):
installed python3-django package post-installation script subprocess returned error exit status 1
The error has been fixed in Django 2.1:
https://github.com/django/django/commit/931c60c5216bd71bc11f489e00e063331cf21f40
More information about the Python-modules-team
mailing list