Package: python-gunicorn
Version: 19.3-1
Severity: important

Dear Maintainer,

When installing python-gunicorn, the postinst step fails because
pycompile cannot compile _gaiohttp.py:


$ pycompile -p python-gunicorn
  File "/usr/lib/python2.7/dist-packages/gunicorn/workers/_gaiohttp.py", line 68
    yield from self.wsgi.close()
             ^
SyntaxError: invalid syntax


This file is only imported from gaiohttp.py if the Python version is >= 3.3,
where "yield from" is available. Thus, one possible solution is to remove the
_gaiohttp.py file from the python-gunicorn package, only leaving it in
python3-gunicorn.

--
Stein Magnus Jodal

Attachment: signature.asc
Description: Digital signature

Reply via email to