python-apt for python2.4 would be appreciated

Bug #354812 reported by Mark Shuttleworth
4
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Fix Released
Low
Michael Vogt

Bug Description

Binary package hint: python-apt

Is it possible for python-apt to continue to provide support for Python 2.4 in Jaunty? That would be useful for Launchpad and other older zope-based applications.

Revision history for this message
Matthias Klose (doko) wrote :

that would add 58k (i386, compressed) on the CD (but the last python2.6 upload did save 350k), patch attached.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This is unfortunately difficult. python2.4 is no longer marked as supported and that means that with our python system no python2.4/site-package files are generated anymore when installing the python-distutils-extra build depend of python-apt. The tools (dh_python) are also messing around in the buld tree and remove files that look unsupported. So including 2.4 symlinks/libs in the python-apt package itself was not possible without a lot of hacking (if at all).

I now build a python2.4-apt package that contains the 2.4 files and can be co-installed with the normal python-apt. Its in lp:~mvo/python-apt/python2.4 and I will also push it to my PPA. I can try to push it for jaunty, but its already relatively late.

Changed in python-apt (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Michael Vogt (mvo) wrote :

I stand corrected, my build chroot was wrong [1]. The files can be part of python-apt just fine, it just needs a additional check to not run sphinx for python2.4 (its not available there).

I will merge it into bzr.

Thanks,
 Michael

[1] I got hit by #353251 - python-distutils was installed before python2.4 got installed and that triggered the problem.

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 354812] Re: python-apt for python2.4 would be appreciated

Michael Vogt wrote:
> I stand corrected, my build chroot was wrong [1]. The files can be part
> of python-apt just fine, it just needs a additional check to not run
> sphinx for python2.4 (its not available there).
>
> I will merge it into bzr.
>
> Thanks,
> Michael
>
> [1] I got hit by #353251 - python-distutils was installed before
> python2.4 got installed and that triggered the problem.
>
Thanks very much guys! This will help LP and other Zope-based projects.

Mark

Revision history for this message
Michael Vogt (mvo) wrote :

I just talked to the release manager and he would rather not have it uploaded at this point of the release. I can push for it harder if needed. Or is it ok to pull it from a PPA for LP ?

Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

Michael Vogt wrote:
> I just talked to the release manager and he would rather not have it
> uploaded at this point of the release. I can push for it harder if
> needed. Or is it ok to pull it from a PPA for LP ?
>
It's OK, it can go in the LP PPA.

Kiko, I shouldn't be the one chasing this so that LP-dependencies is not
broken on Jaunty ;-).

Mark

Revision history for this message
Colin Watson (cjwatson) wrote :

I don't see an action for the Ubuntu archive admins here (as opposed to some discussion with the release team), so I'm unsubscribing ubuntu-archive. Feel free to resubscribe and clarify if I'm mistaken.

Revision history for this message
Christian Reis (kiko) wrote :

We've rebuilt all the dependencies we actually had an issue with in the
PPA (it is mildly ironic that the deprecation of python2.4 upstream
happens within a shorter timeframe than our actual LTS support periods),
but for some reason two didn't get originally picked up -- I'm not sure
if it's because some people didn't get it upgraded or uninstalled, or
something else. This was one of them. I'm copying Francis to make sure
this gets noticed by him.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-apt - 0.7.9~exp2ubuntu11

---------------
python-apt (0.7.9~exp2ubuntu11) karmic; urgency=low

  [ Matthias Klose ]
  * Build for python2.4 as well. LP: #354812.

  [ Michael vogt ]
  * setup.py:
    - only use sphinx for python2.5 or later
  * data/templates/Ubuntu.info.in:
    - updated for karmic

 -- Michael Vogt <email address hidden> Wed, 06 May 2009 14:28:56 +0200

Changed in python-apt (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.