reassign 590138 python-central 0.6.14+nmu2 severity 590138 serious clone 594012 -1 reassign -1 python-central 0.6.14+nmu2 forcemerge 590138 -1 retitle 590138 python-central: rtupdate must be forgiving for syntax errors thanks
* Michael Deegan <[email protected]>, 2010-07-24, 12:16:
During a partial upgrade (installing squeeze's GIMP on lenny, which pulls
in python 2.6, among other things), I discovered that lenny's pitivi does
not coexist happily with python-2.6:
Setting up python (2.6.5-5) ...
running python rtupdate hooks for python2.6...
Compiling /usr/lib/pitivi/python/pitivi/objectfactory.py ...
SyntaxError: ('invalid syntax',
('/usr/lib/pitivi/python/pitivi/objectfactory.py', 297, 14, ' as =
self.audio_info_stream\n'))
pycentral: pycentral updatedefault: error byte-compiling files (47)
pycentral updatedefault: error byte-compiling files (47)
error running python rtupdate hook pycentral
[snip the sound of many, many packages failing to be configured due to python
configuration failing]
There are a few packages in lenny that are using constructs no longer allowed in python2.6. python-central must not break upgrade just because it failed to bytecompile them.
(Another possible solution to fix this issue would be to identify all the affected modules/versions and make python2.6-minimal break them.)
-- Jakub Wilk
signature.asc
Description: Digital signature

