On Thu, 2010-01-28 at 18:27 +0000, Francesco Fumanti wrote:
> Thanks TJ for the explanation of the problem and the instruction about
> how to fix it.
>
> However, I wonder whether the patches are really necessary for karmic
> and lucid: are they not shipping by default python 2.6 that knows the
> "with" keyword?
They are, but Python 2.5 is still an optional installation and for some
packages is still a dependency that gets installed.
That was how I met the issue - tried to install some other package
("rpm" which depends on "python-rpm" which depends on "python2.5") which
caused this issue when the python2.5 installation process tried to
byte-compile the packages from "/usr/share/pyshared/" into its
"site-packages/" directory.
On Thu, 2010-01-28 at 18:27 +0000, Francesco Fumanti wrote:
> Thanks TJ for the explanation of the problem and the instruction about
> how to fix it.
>
> However, I wonder whether the patches are really necessary for karmic
> and lucid: are they not shipping by default python 2.6 that knows the
> "with" keyword?
They are, but Python 2.5 is still an optional installation and for some
packages is still a dependency that gets installed.
That was how I met the issue - tried to install some other package pyshared/ " into its
("rpm" which depends on "python-rpm" which depends on "python2.5") which
caused this issue when the python2.5 installation process tried to
byte-compile the packages from "/usr/share/
"site-packages/" directory.