a ubuntu-project should depend on python-desktopcouch-records

Bug #421689 reported by Rick Spencer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly
Invalid
High
Unassigned
python-distutils-extra
Fix Released
Medium
Unassigned
python-distutils-extra (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I used $quickly release to create a ppa:
https://edge.launchpad.net/~rick-rickspencer3/+archive/ppa/+sourcepub/711916/+listing-archive-extra

When I installed the ppa, it did not install python-desktopcouch-records. As a result, the application did not run.

I add some additional infos:
In one of the project file, we have:
from desktopcouch.records.server import CouchDatabase
from desktopcouch.records.record import Record

but when calling python-mkdebian, we get a depend on python-desktopcouch and not python-desktopcouch-records

After some analyses, when we are at desktopcouch.records.record module:
- iit first fail with python-desktopcouch
- then, look at dpkg -S */desktopcouch/__init__.py
   -> found python-desktopcouch: /usr/share/pyshared/desktopcouch/__init__.py
and so, adding it.

$ locate server | grep records
/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py
/usr/lib/python2.6/dist-packages/desktopcouch/records/server.pyc
/usr/lib/python2.6/dist-packages/desktopcouch/records/tests/test_server.py
/usr/lib/python2.6/dist-packages/desktopcouch/records/tests/test_server.pyc
/usr/share/pyshared/desktopcouch/records/server.py
/usr/share/pyshared/desktopcouch/records/tests/test_server.py
$ dpkg -S /usr/share/pyshared/desktopcouch/records/server.py
python-desktopcouch-records: /usr/share/pyshared/desktopcouch/records/server.py

but
$ dpkg -S /usr/lib/python2.6/dist-packages/desktopcouch/records/server.py
dpkg: /usr/lib/python2.6/dist-packages/desktopcouch/records/server.py not found.

-> maybe it try to import this later instead of the one in pyshared and doesn't find the corresponding package?

Changed in quickly:
importance: Undecided → High
Changed in quickly:
status: New → In Progress
milestone: none → 0.2.1
description: updated
Changed in quickly:
status: In Progress → Invalid
description: updated
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

The attached branch fix this case

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

Merged Didier's branch to p-d-e trunk, thanks!

Changed in python-distutils-extra:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Released 2.10 with this fix: https://launchpad.net/python-distutils-extra/trunk/2.10

I'll also upload to Sid and Karmic.

Changed in python-distutils-extra:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-distutils-extra - 2.10

---------------
python-distutils-extra (2.10) unstable; urgency=low

  * python-mkdebian: Handle complex cases where submodules of a Python module
    can be in different packages. (LP: #421689)

 -- Martin Pitt <email address hidden> Fri, 11 Sep 2009 12:37:05 +0200

Changed in python-distutils-extra (Ubuntu):
status: New → 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.