[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Quick analysis of the Python dist-packages transition



Hi,

starting from Python 2.6, the Debian packages look for modules in a
different directory: /usr/lib/python2.6/dist-packages instead
of /usr/lib/python2.X/site-packages. This is handled transparently by
python-central and python-support, but at install time, distutils (the
thingy behind “python setup.py”) installs modules in another directory
by default, and the packaging has to cope with it.

Therefore, a number of packages have to be fixed before they can work
with python2.6. Practically speaking, this is the only thing that
prevents python2.6 from entering unstable. This is a first attempt at
listing packages needing to be fixed.

There are 1396 source packages using python-central or python-support in
Debian. (The analysis excludes packages not using them since they are
already broken.)

      * 505 of these packages do not use distutils and should not be
        affected, still shipping files to site-packages/. However,
        according to Scott Kimmermann (who handled parts of this
        transition in Ubuntu), python-central does not look for modules
        in /usr/lib/python2.6/site-packages, so most modules using it
        are broken. If this is the case, python-central needs to be
        NMUed to handle such packages. 
      * 73 packages don’t use the shipped setup.py and use a
        Debian-specific installation system (e.g. to install modules in
        a private directory). 
      * 818 packages use distutils/setuptools for installation.


I - CDBS: 310 packages

CDBS needs updating to work with python2.6. A patch was proposed by
Martin Pitt in #537373 and the maintainers have already agreed for a
NMU, so it’s just a matter of uploading it. In the meantime, Piotr
Ożarowski proposed another idea (setting --install-lib instead of
--install-layout) which looks much cleaner, so we’ll probably use that
approach instead. In all cases this will be done soon.

      * 269 CDBS packages should not be affected. 
      * 41 packages fiddle with site-packages. If either Martin’s or
        Piotr’s approach is used, they won’t need updating.


II - DH: 143 packages

Debhelper has already been updated so that dh uses --install-layout=deb.

      * 141 DH packages should already work. 
      * 2 packages fiddle with site-packages and need updating.


III - Debhelper: 438 packages

      * 52 packages already use --install-layout=deb and don’t play with
        site-packages. 
      * 246 packages don’t, but should work as well provided that we
        ensure python-central is fixed. 
      * 73 packages fiddle with site-packages and need updating.


Overall summary:

      * CDBS needs to be updated (should be done in a week at most). 
      * python-central needs a NMU to
        handle /usr/lib/python2.6/site-packages as a source directory. 
      * 75 Python packages need to be updated, the dd-list is attached.

If there are no objections, I will submit a MBF for those 75 packages in
a few days.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
Daniel Leidert (dale) <daniel.leidert@wgdd.de>
   pymol (U)

Adam Cécile (Le_Vert) <gandalf@le-vert.net>
   hellanzb

Nicolas FRANCOIS (Nekral) <nicolas.francois@centraliens.net>
   translate-toolkit

Marco Presi (Zufus) <zufus@debian.org>
   matplotlib (U)

Francesc Altet <faltet@carabos.com>
   pytables

Kumar Appaiah <akumar@debian.org>
   harvestman (U)
   python-goopy (U)

Nacho Barrientos Arias <nacho@debian.org>
   rdflib

Ernesto Nadir Crespo Avila <ecrespo@debianvenezuela.org>
   pythoncard
   pyx

Michael Banck <mbanck@debian.org>
   pymol (U)

Julien BLACHE <jblache@debian.org>
   eikazo

Jérémy Bobbio <lunar@debian.org>
   python-clientform (U)
   python-mechanize (U)

W. Martin Borgert <debacle@debian.org>
   trac (U)

A. Maitland Bottoms <bottoms@debian.org>
   mayavi

Giacomo Catenazzi <cate@debian.org>
   bauble

Ondrej Certik <ondrej@certik.cz>
   matplotlib (U)

Jesus Climent <jesus.climent@hispalinux.es>
   trac (U)

Kevin Coyner <kcoyner@debian.org>
   kodos

LI Daobing <lidaobing@gmail.com>
   pymol (U)

Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>
   bzr-builddeb

Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
   libtpclient-py

Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
   constraint
   ctypes (U)
   inotifyx (U)
   logilab-constraint
   matplotlib
   pastedeploy (U)
   pastewebkit (U)
   pyscard (U)
   python-docutils
   python-goopy
   python-kinterbasdb
   python-memcache (U)
   python-pyglew
   python-pytils (U)
   python-reportlab (U)
   sqlobject (U)
   webhelpers (U)

Debian X Strike Force <debian-x@lists.debian.org>
   ccsm

Debian/Ubuntu Zope Team <pkg-zope-developers@lists.alioth.debian.org>
   python-clientform
   python-mechanize
   python-tz
   zope.interface

Debichem Team <debichem-devel@lists.alioth.debian.org>
   pymol

Barry deFreese <bdefreese@debian.org>
   libtpclient-py (U)

Cédric Delfosse <cedric@debian.org>
   gaphor

Benjamin Drung <bdrung@ubuntu.com>
   matplotlib (U)

Alexandre Fayolle <afayolle@debian.org>
   constraint (U)
   logilab-constraint (U)
   matplotlib (U)
   pyqonsole
   xmldiff

Sean Finney <seanius@debian.org>
   ccsm (U)

Gustavo Franco <stratus@debian.org>
   gdebi
   gdebi (U)

John Goerzen <jgoerzen@complete.org>
   pygopherd

Debian QA Group <packages@qa.debian.org>
   kphotobymail
   synopsis

Mikhail Gusarov <dottedmag@dottedmag.net>
   python-pytils

Anders Hammarquist <iko@debian.org>
   python-meld3
   supervisor

Magnus Holmgren <holmgren@debian.org>
   pyscrabble

Adam C. Powell, IV <hazelsct@debian.org>
   pysparse

Michael Janssen <jamuraa@debian.org>
   bittorrent

Matthias Klose <doko@debian.org>
   gadfly
   lxml
   python-gnuplot
   python-imaging
   python-reportlab
   python-scientific
   python-setuptools
   slides
   translate-toolkit (U)

martin f. krafft <madduck@debian.org>
   python-docutils (U)

Jonny Lamb <jonny@debian.org>
   synce-kpm
   synce-sync-engine

Chris Lawrence <lawrencc@debian.org>
   foomatic-gui

lirc Maintainer Team <pkg-lirc-maint@lists.alioth.debian.org>
   pylirc

Luis Matos <gass@otiliamatos.ath.cx>
   trac (U)

Simon McVittie <smcv@debian.org>
   python-docutils (U)

Ricardo Javier Cardenes Medina <rcardenes@debian.org>
   fnorb

Loic Minier <lool@dooz.org>
   pylirc (U)

Oleksandr Moskalenko <malex@debian.org>
   webhelpers

Piotr OÅŒarowski <piotr@debian.org>
   emma (U)
   pastedeploy
   pastewebkit

Anand Pillai <abpillai@gmail.com>
   harvestman (U)

Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
   emma
   harvestman
   trac

Arnaud Quette <aquette@debian.org>
   pylirc (U)

Ganesan Rajagopal <rganesan@debian.org>
   clientcookie
   ctypes

Marco Rodrigues <gothicx@sapo.pt>
   emma (U)

Joel Rosdahl <joel@debian.org>
   egenix-mx-base
   python-pysqlite2

Alexandre Rossi <alexandre.rossi@gmail.com>
   deejayd

Ludovic Rousseau <rousseau@debian.org>
   pyscard

Andres Salomon <dilinger@debian.org>
   trac (U)

Otavio Salvador <otavio@debian.org>
   trac (U)

Ritesh Raj Sarraf <rrs@researchut.com>
   inotifyx

Christopher Schmidt <crschmidt@metacarta.com>
   python-memcache
   tilecache

Tristan Seligmann <mithrandi@mithrandi.net>
   quodlibet

Gustavo Noronha Silva <kov@debian.org>
   sqlobject (U)

Christine Spang <christine@debian.org>
   quodlibet (U)

Igor Stroh <jenner@debian.org>
   python-reportlab (U)

Brian Sutherland <jinty@web.de>
   python-clientform (U)
   python-mechanize (U)
   python-pullparser
   python-tz (U)
   smart-notifier

Brian Sutherland <brian@vanguardistas.net>
   zope.interface (U)

Reinhard Tartler <siretart@tauware.de>
   bzr-builddeb (U)

Sandro Tosi <morph@debian.org>
   logilab-constraint (U)
   matplotlib (U)
   python-kinterbasdb (U)
   python-pyglew (U)

Fabio Tranchitella <kobold@debian.org>
   python-clientform (U)
   python-mechanize (U)
   python-tz (U)
   sqlobject
   zope.interface (U)

Matthias Urlichs <smurf@debian.org>
   yapps2

Matej Vela <vela@debian.org>
   python-ldap

Michael Vogt <mvo@debian.org>
   gdebi (U)

David Watson <dwatson@debian.org>
   pybridge

James Westby <jw+debian@jameswestby.net>
   bzr-builddeb (U)

Paul Wise <pabs@debian.org>
   fonttools

Alexander Zangerl <az@debian.org>
   duplicity

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: