FTBFS in Hardy due to python-distutils-extra changes

Bug #208097 reported by Scott Kitterman
10
Affects Status Importance Assigned to Milestone
python-aptsources (Ubuntu)
Fix Released
Medium
Martin Pitt
Hardy
Fix Released
Medium
Emilio Pozuelo Monfort
Intrepid
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: python-aptsources

It looks like python-distutils-extra has changed a lot since this package was last built for Feisty. This should either be updated if it's still useful or removed.

Revision history for this message
Martin Pitt (pitti) wrote :

 * No reverse dependencies at all
 * Just a single upload in Feisty, not maintained
 * not in Debian

I wouldn't mind removing it if nobody wants to fix it in time for Hardy.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Milestoning for the release so we remember to remove the package if it's not fixed.

Changed in python-aptsources:
importance: Undecided → Medium
milestone: none → ubuntu-8.04
Revision history for this message
Michael Vogt (mvo) wrote :

I think its safe to remove this package, it has no rdepends and the functinality got merged into python-apt directly

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

Subscribed Sebastian Heinlein for confirmation.

Steve Langasek (vorlon)
Changed in python-aptsources:
milestone: ubuntu-8.04 → ubuntu-8.04.1
Revision history for this message
Martin Pitt (pitti) wrote :

We cannot remove the package from Hardy any more. We'll remove it in intrepid, and just ignore it in Hardy, that's the best we can do now.

Changed in python-aptsources:
assignee: nobody → pitti
milestone: ubuntu-8.04.1 → none
status: New → In Progress
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

The attached debdiff fixes the FTBFS and the clean targets. But feel free to ignore it and remove the package if that's a better solution :)

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Ah, the package is in Universe... let me know if you want me to upload this or if you prefer to leave it as is and remove the package from the archive

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 208097] Re: FTBFS in Hardy due to python-distutils-extra changes

Emilio Pozuelo Monfort [2008-05-09 18:44 -0000]:
> Ah, the package is in Universe... let me know if you want me to upload
> this or if you prefer to leave it as is and remove the package from the
> archive

Since it is obsolete, I'd still remove it from Intrepid. But thanks
for the patch for Hardy. I'm fine with fixing it in Hardy, but
~motu-sru needs to ack it first.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote : Re: [Bug 208097] Re: FTBFS in Hardy due to python-distutils-extra changes

Martin Pitt wrote:
> Since it is obsolete, I'd still remove it from Intrepid. But thanks
> for the patch for Hardy. I'm fine with fixing it in Hardy, but
> ~motu-sru needs to ack it first.

Ok, fine with me. I think there's a whitelist for FTBFS but let's see what they
have to say.

 subscribe motu-sru

Revision history for this message
Martin Pitt (pitti) wrote :

2008-05-14 08:48:14 INFO Removing candidates:
2008-05-14 08:48:14 INFO python-aptsources 0.0.1 in intrepid
2008-05-14 08:48:14 INFO python-aptsources 0.0.1 in intrepid amd64
2008-05-14 08:48:14 INFO python-aptsources 0.0.1 in intrepid hppa
2008-05-14 08:48:14 INFO python-aptsources 0.0.1 in intrepid i386
2008-05-14 08:48:14 INFO python-aptsources 0.0.1 in intrepid ia64
2008-05-14 08:48:14 INFO python-aptsources 0.0.1 in intrepid lpia
2008-05-14 08:48:14 INFO python-aptsources 0.0.1 in intrepid powerpc
2008-05-14 08:48:14 INFO python-aptsources 0.0.1 in intrepid sparc
2008-05-14 08:48:14 INFO Removed-by: Martin Pitt
2008-05-14 08:48:14 INFO Comment: unmaintained, Ubuntu-only, only one upload, FTBFS, functionality in python-apt now (LP#208097)
2008-05-14 08:48:14 INFO 8 packages successfully removed.

Changed in python-aptsources:
status: In Progress → Fix Released
Revision history for this message
Luke Yelavich (themuso) wrote :

ACK. Please get it uploaded.

Changed in python-aptsources:
status: New → Confirmed
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Uploaded to hardy-proposed

Changed in python-aptsources:
assignee: nobody → pochu
importance: Undecided → Medium
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Build and installs fine.

The package doesn't ship any tests or examples I could run.

I don't know the code at all, and I'm still too bad with this stuff, but this is what I've done. I've needed, I could poke Sebastian to have a quick look at it.

emilio@pika:~$ python
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from aptsources import distro
>>> ubuntu = distro.UbuntuDistribution('ubuntu_hardy', 'hardy', 'Ubuntu', '8.04')
>>> ubuntu.is_codename('hardy')
True
>>> distro.get_distro()
<aptsources.distro.UbuntuDistribution instance at 0xb7d3184c>
>>> ubuntu.enable_component('universe')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 293, in enable_component
    sources.extend(self.main_sources)
AttributeError: UbuntuDistribution instance has no attribute 'main_sources'
>>> ubuntu.enable_component('main')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 293, in enable_component
    sources.extend(self.main_sources)
AttributeError: UbuntuDistribution instance has no attribute 'main_sources'
>>> from aptsources import sourceslist
>>> sources = sourceslist.SourcesList()
>>> ubuntu.get_sources(sources)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 85, in get_sources
    "Error: could not find a distribution template")
aptsources.distro.NoDistroTemplateException
>>> ubuntu.enable_component('main')
>>> ubuntu.disable_component('main')
>>> ubuntu.disable_component('universe')
>>> ubuntu.disable_component('universeasdf')
>>>

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Package installs and seems working properly (I did just trial tests, I lack knowledge of this package).

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in python-aptsources:
status: Fix Committed → 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.