Diff for "LaunchpadOnKarmic"

Not logged in - Log In / Register

Differences between revisions 1 and 2
Revision 1 as of 2009-07-27 23:40:32
Size: 1374
Editor: maxb
Comment:
Revision 2 as of 2009-07-28 13:14:12
Size: 1582
Editor: maxb
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
 * Making buildmailman.py compatible with Python 2.5 sys.path_importer_cache behaviour
Line 15: Line 16:

== Known Problems ==
 * librarian twistd fails to shut down on Ctrl-C
 * Many test failures, especially in Rosetta

As mentioned on Getting, Launchpad is not currently supported on Ubuntu Karmic Koala, primarily because it currently has a hard dependency on Python 2.4, which is no longer included in Karmic.

This page is a place to collect notes written for and by people living on the bleeding edge and attempting to get Launchpad working on Karmic / Python 2.5

launchpad-dependencies

First, there is the issue that the ~launchpad PPA doesn't have any packages for Karmic. I (maxb) have tweaked the launchpad-dependencies package to have a first approximation of suitable dependencies for Python 2.5, and uploaded it to my PPA https://launchpad.net/~maxb/+archive/ppa, and copied the geoip-data-city-lite package from the ~launchpad PPA there as well for convenience.

Launchpad code itself

https://code.launchpad.net/~maxb/launchpad/python2.5 contains a few fixes:

  • Adjusting the Python version in the Makefiles
  • Adjusting import statements to handle the built-in location of cElementTree in Python 2.5
  • Making buildmailman.py compatible with Python 2.5 sys.path_importer_cache behaviour

Launchpad source dependencies - Zope

https://code.launchpad.net/~maxb/zope3/launchpad-3.4-py2.5 contains backports of some changes to zope.proxy and zope.security in post-3.4 Zope releases which are required for Python 2.5 compatibility (possibly only on 64-bit architectures). Without these, Launchpad produces perplexing MemoryErrors.

Known Problems

  • librarian twistd fails to shut down on Ctrl-C
  • Many test failures, especially in Rosetta