-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi! Julien Cristau wrote: > Care to explain why this is needed? And what the other changes are > about? There's no bug number, and the changelog doesn't really tell > much. By way of summary of the original patch and a plan for what will happen to it: The changes to dh_python2 will be necessary for those wishing to backport wheezy packages to squeeze; they're in a "nice to have but not necessary for stable users" category and since they apply only to backporters will go via squeeze-backports at an appropriate juncture. The important change to pycompile for squeeze is the last hunk. It is necessary because Debian's py_compile carries a small patch to accept the list of files to compile over stdin. It's backported from py3.2 (http://bugs.python.org/issue8233). This change makes a local py_compile incompatible, so if an admin has a source install of python as /usr/local/bin/pythonX.Y then breakage ensues, as seen in the following snippet routinely seen on #debian with people upgrading from lenny to squeeze. Paramétrage de python2.6-minimal (2.6.6-8+b1) ... Linking and byte-compiling packages for runtime python2.6... Traceback (most recent call last): File "/usr/local/lib/python2.6/runpy.py", line 122, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/local/lib/python2.6/runpy.py", line 34, in _run_code exec code in run_globals File "/usr/local/lib/python2.6/py_compile.py", line 168, in <module> sys.exit(main()) File "/usr/local/lib/python2.6/py_compile.py", line 160, in main compile(filename, doraise=True) File "/usr/local/lib/python2.6/py_compile.py", line 115, in compile f = open(file, 'U') IOError: [Errno 2] No such file or directory: '-' dpkg : erreur de traitement de python2.6-minimal (--configure) : Piotr Ożarowski will upload the one-line fix for this to squeeze-proposed- updates as agreed on #debian-release. Thanks everyone! Stuart - -- Stuart Prescott www.nanoNANOnano.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1dDosACgkQn+i4zXHF0ahUAgCgquCsvbvJD+6sKAcwujId6X1d AyUAmgIk0CuU/927SDkg6AZ+12et3nOf =iNBM -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

