[maemo-developers] Autobuilder and Python package dependencies

From: tz thomas at mich.com
Date: Wed Nov 12 21:33:22 EET 2008
As far as I can tell, because there is nothing equivalent to the
build-packages (things which require things like libdbus-dev or other
-dev entries) for Python programs submitted to extras-devel.

This is a problem because I don't think the dependency list is checked
against the import lines of any python file in the package.

So a package that needs to pull in one of the other python
modules/libraries (dbus, gnome, etc.) won't do so and will simply (and
if not run from xterm silently) fail.

And I don't always know which packages I need to specify explicitly
since many pull others in automatically, or they are pulled in by
almost every python program.

Is there any way to get the autobuilder to try running any python
packages and failing the "build" if the required imports aren't there
(or should this be added to bugzilla, and if so, under which
category?)

Would it be possible or reasonable to have stubs (something like
python loader) for them all so that "import dbus" instead of failing
would fetch and install the package?

More information about the maemo-developers mailing list