Paste cannot be used on python2.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paste (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
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/
command.run()
File "/var/lib/
command = commands[
File "/usr/lib/
if require: self.require(env, installer)
File "/usr/lib/
working_
File "/usr/lib/
raise DistributionNot
pkg_resources.
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.
description: | updated |
tags: | added: patch python python2.6 |
summary: |
- Does not install for all python versions + Paste cannot be used on python2.5 |
This bug was fixed in the package paste - 1.7.2-4
---------------
paste (1.7.2-4) unstable; urgency=low
* Build depend on python-support >= 1.0.1
+ remove libjs-mochikit from Build-Depends-Indep
+ remove mochikit symlink workaround from debian/rules
* Prepare for Python 2.6:
+ use py_libdir in debian/rules (LP: #361163)
+ add r7641.patch (taken from upstream repository) - fixes paste.httpserver
paste (1.7.2-3) unstable; urgency=low
* Link MochiKit before invoking dh_pysupport (Closes: #516320)
+ add libjs-mochikit to Build-Depends-Indep (pysupport's
movemodules needs it at build time)
* Standards-Version bumped to 3.8.1 (no changes needed)
paste (1.7.2-2) unstable; urgency=low
[ Sandro Tosi ]
* Switch Vcs-Browser field to viewsvn
[ Piotr Ożarowski ]
* Change Debian packaging license to MIT (to match upstream)
* Upload to unstable
paste (1.7.2-1) experimental; urgency=low
* New upstream release (upload to experimental due to Lenny freeze, to ease
testing rev. dependencies)
* Build docs using Sphinx: (Closes: #456554)
+ python-sphinx replaced python-docutils build dependency
+ new suggested packages: libjs-mochikit and libjs-jquery
-- Scott Kitterman <email address hidden> Thu, 30 Apr 2009 09:00:39 +0100