Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#557914: ooo-thumbnailer: uses pythonX.Y/site-packages for Python >= 2.6

0 views
Skip to first unread message

Jakub Wilk

unread,
Nov 25, 2009, 4:20:02 AM11/25/09
to
Source: ooo-thumbnailer
Version: 0.1~alpha2-1
Severity: minor
User: debian...@lists.debian.org
Usertags: python2.6 dist-packages

Hello,

When rebuilt against python-all{,-dev,-dbg} (and thus python2.6) from
Debian experimental (and with python2.6 as the default one), your binary
package contained these files:

[ooo-thumbnailer_0.1~alpha2-1_all.deb]
/usr/lib/python2.6/site-packages/ooo_thumbnailer-0.1-py2.6.egg-info


This is an indication of a broken package: Python >= 2.6 does not
look for modules into /usr/lib/pythonX.Y/site-packages/ anymore, but
uses /usr/lib/pythonX.Y/dist-packages/ instead.

How to fix it?
==============
* if your package is using python-central:
- add "XB-Python-Version: ${python:Versions}" to all binary packages
that ship Python modules (.py files) or extensions (.so, including
_d.so) in debian/control, check if it's enough,
- try to convert to python-support[1], check if it's enough,
* add --install-layout=deb to setup.py call and bump minimum required
python{,-all,all-dev} build dependency to 2.5.4-1~, check if it's enough
* ask for help on #debian-python or debian...@lists.debian.org

[1] http://wiki.debian.org/DebianPython/central2support

--
Jakub Wilk

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Jakub Wilk

unread,
Jan 16, 2010, 9:50:01 AM1/16/10
to
tags 557914 + patch
thanks

* Jakub Wilk <uba...@users.sf.net>, 2009-11-25, 10:06:


>When rebuilt against python-all{,-dev,-dbg} (and thus python2.6) from
>Debian experimental (and with python2.6 as the default one), your binary
>package contained these files:
>
>[ooo-thumbnailer_0.1~alpha2-1_all.deb]
>/usr/lib/python2.6/site-packages/ooo_thumbnailer-0.1-py2.6.egg-info

The attached patch (against 0.2-1) gets rid of spurious python
build-dependency at all.

If you need a sponsor, feel free to ask at
debian...@lists.debian.org or #debian-python at OFTC.

--
Jakub Wilk

557914.diff
signature.asc

David D Lowe

unread,
Jan 16, 2010, 3:50:01 PM1/16/10
to
ooo-thumbnailer 0.2-1, which is still waiting for sponsorship, fixes
this bug. However, it doesn't do it in the same way you did it, Jakub
Wilk. Could your review it for me? I've already posted a RFS at the
debian-python mailing list.
signature.asc

Jakub Wilk

unread,
Jan 18, 2010, 7:50:03 AM1/18/10
to
retitle 557914 ooo-thumbnailer: spurious use of python-central
thanks

First of all, apologies for the original bug report: it was sent after
automatically building your package, without event looking at the
source; thus the general advice I gave you (to switch from pycentral to
pysupport) didn't have much sense for this particular package.

* David D Lowe <daviddlo...@googlemail.com>, 2010-01-16, 20:33:

I didn't see any your mail at debian-python mailing list, but did see
your RFS at debian-...@lists.debian.org, and the same concern was
raised that worries me: build dependency on python helpers is spurious
and should be dropped.

--
Jakub Wilk

signature.asc

David D Lowe

unread,
Jan 19, 2010, 3:30:02 PM1/19/10
to
I've removed all python build dependencies from the package, in
ooo-thumbnailer_0.2-2. It's waiting for sponsorship.

> I didn't see any your mail at debian-python mailing list, but did see
> your RFS at debian-...@lists.debian.org, and the same concern was
> raised that worries me: build dependency on python helpers is spurious
> and should be dropped.
>

Sorry, my mistake, I meant debian-mentors' mailing list.

signature.asc
0 new messages