Package: python-dulwich
Version: 0.9.7-1+jordigh
Severity: minor

Hey there.

While attempting to backport python-dulwich into Debian 7.5, the
resulting deb failed to install when running setup scripts. There was
a syntax error because it's using Python 2.6 by default:

    $ sudo dpkg -i python-dulwich_0.9.7-1+jordigh_amd64.deb
    [sudo] password for jordi: 
    (Reading database ... 396784 files and directories currently installed.)
    Preparing to replace python-dulwich 0.9.7-1+jordigh (using 
python-dulwich_0.9.7-1+jordigh_amd64.deb) ...
    Unpacking replacement python-dulwich ...
    Setting up python-dulwich (0.9.7-1+jordigh) ...
    SyntaxError: ('invalid syntax', 
('/usr/lib/python2.6/dist-packages/dulwich/contrib/test_swift.py', 556, 36, '   
             lambda *args: None), \\\n'))

    dpkg: error processing python-dulwich (--install):
     subprocess installed post-installation script returned error exit status 
101
    Errors were encountered while processing:
     python-dulwich

I didn't investigate deeper, but it looks like in debian/control, you
should have X-Python-Version: >= 2.7

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-dulwich depends on:
ii  libc6   2.13-38+deb7u1
ii  python  2.7.3-4+deb7u1

Versions of packages python-dulwich recommends:
ii  python-fastimport  0.9.2-1

Versions of packages python-dulwich suggests:
ii  python-dulwich-dbg  0.9.7-1+jordigh

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to