[SRU/edgy] python Xlib missing from path of python2.4

Bug #90522 reported by Lionel Le Folgoc
2
Affects Status Importance Assigned to Milestone
python-xlib (Ubuntu)
Won't Fix
Undecided
Lionel Le Folgoc
Nominated for Edgy by Lionel Le Folgoc

Bug Description

Binary package hint: python-xlib

(This may be related to Bug #75539)

Python-xlib modules seem not to be compiled for python2.4, even if it is the default python version on edgy.

$ python
Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Xlib
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named Xlib
>>>

$ python2.5
Python 2.5 (r25:51908, Oct 6 2006, 15:22:41)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Xlib
>>>

The egg-info file is only installed into /usr/lib/python-support/python-xlib/python2.5/python_xlib-0.12-py2.5.egg-info, and not python2.4.
This bug is fixed in feisty (maybe a bug of python-support on edgy?): it is installed to a standard python-support directory /usr/share/python-support/python-xlib/python_xlib.egg-info

The proposed debdiff moves this file to this directory, and it seems to work, since building pypanel using it produces a "full" package (which contains pypanel binary)

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

I'll provide further informations if needed (build log, correct debian/changelog), but since the motu-src process is changing, I don't know what is still needed.

Changed in python-xlib:
assignee: nobody → mrpouit
status: Unconfirmed → Needs Info
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

> since the motu-src process is changing
it was of course "motu-sru"

Revision history for this message
StefanPotyra (sistpoty) wrote :

Lionel, thanks for your work.
Can you subscribe ubuntu-universe-sponsors (same for bug #89573, once it needs an upload) and/or ping a MOTU to sponsor you? (whoever will sponsor you, should also make sure that everything is ok and eventually will ask for futher information).

Thanks,
     Stefan.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Uploaded to edgy-proposed, waiting for approval. If ACK'd, I'll also update a new revision of pypanel to fix Bug #89573.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 1 Apr 2007 17:17:41 +0200
Source: python-xlib
Binary: python-xlib python-xlib-doc
Architecture: source
Version: 0.12-5.1build1.1~prop1
Distribution: edgy-proposed
Urgency: low
Maintainer: Martin v. Loewis <martin@v.loewis.de>
Changed-By: Lionel Le Folgoc <email address hidden>
Description:
 python-xlib - Interface for Python to the X11 Protocol (dummy package)
 python-xlib-doc - Documentation for the Python interface to the X11 Protocol
Launchpad-Bugs-Fixed: 90522
Changes:
 python-xlib (0.12-5.1build1.1~prop1) edgy-proposed; urgency=low
 .
   * debian/rules: move egg-info to shared python-support directory to add Xlib
     module to python2.4 path. (LP: #90522)
Files:
 fd3d0760855a8047ace45dc64ec6ae99 714 python extra python-xlib_0.12-5.1build1.1~prop1.dsc
 bd5b29b4a762ff5c7ef9c37d1646524a 4121 python extra python-xlib_0.12-5.1build1.1~prop1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGD80iRaA1e1F5WRARAtf4AJwId742/1f7oshoDvVWMkdY00UINACfUeaL
zZ59JPvj0Sq8PgWMR/J0/VU=
=2rTQ
-----END PGP SIGNATURE-----

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

I reviewed the uploaded patch:

 - Version number must become -5.1ubuntu0.1, since it introduces Ubuntu changes
 - I don't understand why it is necessary to manually move files around. dh_pysupport should take care of that, so I suspect there is rather a packaging error (not following the python policy)? The Feisty package already seems to have this fixed, so please use that approach.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi Martin,

 - Ok, for the version number, I've changed it in last upload
 - I have already "backported" feisty changes (it was only removing dh_python, debian/pycompat and XB-Python-Version), and it still doesn't work. python-support might lack a feature in edgy; otherwise, I don't see where the problem can be.

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

Accepted into edgy-updates. This looks *very* suspicious, though, please get it tested properly.

Changed in python-xlib:
status: Needs Info → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Nobody tested the -proposed upload and gave feedback here for more than half a year, and I guess nobody cares about edgy universe any more, so I removed the edgy-proposed package.

Changed in python-xlib:
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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