Package: dput
Version: 0.9.6.2
Severity: important

As per Python Policy 2.6, "pure Python modules in private installation directories that are byte-compiled with the default Python version must be forcefully byte-compiled again when the default Python version changes."

I upgraded python to 2.7 a while ago, but dput Python modules weren't rebuilt:

$ find /usr/share/dput/ -name '*.pyc' | xargs file
/usr/share/dput/rsync.pyc:             python 2.6 byte-compiled
/usr/share/dput/ftp.pyc:               python 2.6 byte-compiled
/usr/share/dput/local.pyc:             python 2.6 byte-compiled
/usr/share/dput/https.pyc:             python 2.6 byte-compiled
/usr/share/dput/helper/dputhelper.pyc: python 2.6 byte-compiled
/usr/share/dput/scp.pyc:               python 2.6 byte-compiled
/usr/share/dput/http.pyc:              python 2.6 byte-compiled

Please consider using a helper, that'll correctly handle such case, rather than using hand-crafted maintainer script for byte-compilation.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

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

Versions of packages dput depends on:
ii  gnupg   1.4.11-3
ii python 2.7.2-6
--
Jakub Wilk



--
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