Package: gunicorn Version: 0.8.0-1 Severity: normal Tags: patch gunicorn doesn't work with Python 2.4, please set XS-Python-Version to ">= 2.5" or debian/pyversion to "2.5-"
| Compiling /usr/lib/pymodules/python2.4/gunicorn/arbiter.py ...
| File "/usr/lib/pymodules/python2.4/gunicorn/arbiter.py", line 130
| sig = self.SIG_QUEUE.pop(0) if len(self.SIG_QUEUE) else None
| ^
| SyntaxError: invalid syntax
|
| Compiling /usr/lib/pymodules/python2.4/gunicorn/pidfile.py ...
| File "/usr/lib/pymodules/python2.4/gunicorn/pidfile.py", line 47
| with open(path, "r") as f:
| ^
| SyntaxError: invalid syntax
|
| Compiling /usr/lib/pymodules/python2.4/gunicorn/workers/async.py ...
| File "/usr/lib/pymodules/python2.4/gunicorn/workers/async.py", line 50
| finally:
| ^
| SyntaxError: invalid syntax
|
| Compiling /usr/lib/pymodules/python2.4/gunicorn/workers/geventlet.py ...
| File "/usr/lib/pymodules/python2.4/gunicorn/workers/geventlet.py", line 31
| with eventlet.Timeout(self.cfg.keepalive, False):
| ^
| SyntaxError: invalid syntax
|
| Compiling /usr/lib/pymodules/python2.4/gunicorn/workers/ggevent.py ...
| File "/usr/lib/pymodules/python2.4/gunicorn/workers/ggevent.py", line 27
| with gevent.Timeout(self.cfg.keepalive, False):
| ^
| SyntaxError: invalid syntax
|
| Compiling /usr/lib/pymodules/python2.4/gunicorn/workers/sync.py ...
| File "/usr/lib/pymodules/python2.4/gunicorn/workers/sync.py", line 88
| finally:
| ^
| SyntaxError: invalid syntax
PS why gunicorn_paster is not shipped in the binary package? Is it because
you'd have to add python-pastedeploy to Recommends or Suggests? What about
gunicorn_django then (python-django is missing in Suggests/Enhances)?
PPS python-pkg-resources is missing in Depends (both scripts use it),
python-gevent (currently in NEW) and python-tornado in Suggests
(I'd commit above changes myself, but package is not in Debian Python Modules
Team
;-P)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gunicorn depends on:
ii python 2.5.4-9 An interactive high-level object-o
ii python-support 1.0.8 automated rebuilding support for P
gunicorn recommends no packages.
gunicorn suggests no packages.
-- no debconf information
signature.asc
Description: Digital signature

