A smaller patch, the needed lines taken directly from the karmic version
** Attachment added: "paste-jaunty-packaging-2.patch"
http://launchpadlibrarian.net/27458490/paste-jaunty-packaging-2.patch
** Description changed:
The packaging of python-paste was not updated for jaunty, so it installs
only for python2.6, even if python2.5 is still officially supported.
Impact:
This is a severe regression for webapps that use paster to run and still
depend on python2.5. Example is SchoolTool that is built on top of Zope 3.4,
which has several incompatibilities with python2.6 and thus requires 2.4 or 2.5
to run. Because of this bug after the server is upgraded to jaunty the
schooltool server fails to start.
Steps to reproduce:
$ sudo apt-get install python-pastescript
+ TEST CASE:
$ paster2.5 help
Traceback (most recent call last):
File "/usr/bin/paster2.5", line 18, in <module>
command.run()
File "/var/lib/python-support/python2.5/paste/script/command.py", line 83,
in run
command = commands[command_name].load()
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1912, in load
if require: self.require(env, installer)
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1925, in
require
working_set.resolve(self.dist.requires(self.extras),env,installer))
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in
resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: Paste>=1.3
The patch attached to this bug was applied to a newer version of paste
in debian and karmic. The changes are similar to other packages updated
for python2.6 transition.
--
Paste cannot be used on python2.5
https://bugs.launchpad.net/bugs/361163
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs