Package: python-lockfile
Version: 0.9-1
Severity: normal

Python 2.4 is not supported in Squeeze, but we can expect some hosts
to still have it installed when upgrading.

The ‘lockfile’ library version 0.9 requires Python 2.5 or later, since
it makes use of the PEP 328 features. When installing on a host which
has Python 2.4, the compilation fails:

=====
Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.4/lockfile/linklockfile.py ...
  File "/usr/lib/pymodules/python2.4/lockfile/linklockfile.py", line 6
    from . import (LockBase, LockFailed, NotLocked, NotMyLock, LockTimeout,
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/pymodules/python2.4/lockfile/mkdirlockfile.py ...
  File "/usr/lib/pymodules/python2.4/lockfile/mkdirlockfile.py", line 8
    from . import (LockBase, LockFailed, NotLocked, NotMyLock, LockTimeout,
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/pymodules/python2.4/lockfile/pidlockfile.py ...
  File "/usr/lib/pymodules/python2.4/lockfile/pidlockfile.py", line 22
    from . import (LockBase, AlreadyLocked, LockFailed, NotLocked, NotMyLock,
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/pymodules/python2.4/lockfile/sqlitelockfile.py ...
  File "/usr/lib/pymodules/python2.4/lockfile/sqlitelockfile.py", line 6
    from . import LockBase, NotLocked, NotMyLock, LockTimeout, AlreadyLocked
         ^
SyntaxError: invalid syntax
=====

The package should explicitly declare its requirement for Python
version 2.5 or later, so that ‘python-support’ does not try earlier
Python versions.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.32-3-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-lockfile 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

python-lockfile recommends no packages.

python-lockfile suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to