python-twill missing a dependency

Bug #176435 reported by morgajel
8
Affects Status Importance Assigned to Milestone
twill (Ubuntu)
Fix Released
Medium
Unassigned
Gutsy
Fix Released
Medium
Luca Falavigna
Hardy
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: python-twill

python twill is dependent on python-setuptools, which is not listed as a dependency:

Without python-setuptools, you see the following:

zeeble:~$ twill-sh
Traceback (most recent call last):
  File "/usr/bin/twill-sh", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Installing it resolves the error

TEST CASE:
1) Install python-twill
2) Launch twill-sh
3) Above traceback is showed

ASPECTED RESULT:
$ twill-sh

 -= Welcome to twill! =-

Revision history for this message
Andrea Colangelo (warp10) wrote :

Thank you for your bug report.
Confirming this bug under Gutsy.

Changed in twill:
status: New → Confirmed
Changed in twill:
assignee: nobody → schwitzd
Revision history for this message
Daniel Schwitzgebel (schwitzd) wrote :

Confirmed on hardy

Revision history for this message
Daniel Schwitzgebel (schwitzd) wrote :

The bugfix for hardy

Revision history for this message
Daniel Schwitzgebel (schwitzd) wrote :

Little corrections

Changed in twill:
assignee: schwitzd → dktrkranz
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Uploaded. Please, report your changes back to Debian.
Also, you may want to test if Gutsy is affected too and eventually prepare a debdiff for gutsy-proposed.

Changed in twill:
status: In Progress → Fix Committed
Revision history for this message
Daniel Schwitzgebel (schwitzd) wrote :

twill (0.9~b1-1ubuntu1) hardy; urgency=low

  * debian/control and control.in:
    - Add depends python-setuptools (LP: #176435)
    - Ubuntu maintainer switch
    - Switch to new Homepage field

 -- Daniel Schwitzgebel <email address hidden> Sat, 15 Dec 2007 10:47:17 +0100

Changed in twill:
status: Fix Committed → Fix Released
assignee: nobody → schwitzd
Revision history for this message
Daniel Schwitzgebel (schwitzd) wrote :

This is for gutsy-proposed

Changed in twill:
assignee: schwitzd → nobody
status: New → Confirmed
Changed in twill:
importance: Undecided → Medium
status: Confirmed → Triaged
assignee: dktrkranz → nobody
Revision history for this message
John Dong (jdong) wrote :

Hi Daniel,

Thanks for your work on this bug. I have reviewed your debdiff for gutsy-proposed and it looks good. Please edit the description of this bug report with the information and format described in https://wiki.ubuntu.com/StableReleaseUpdates, section 1. "Propose".

Revision history for this message
Michele Angrisano (darksun88-deactivatedaccount) wrote :

In new version of Debian, the 0.9~b1-2 version, this dependency seems to be unless.
Here is the entry:

* Drop useless dependency on python-setuptools, use distutils instead.
     + Add debian/patches/03_no_setuptools.patch.

I believe that's a sync.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

I think implementing distutils is not appropriate in this SRU proposal, since it will introduce additional complexity and there is a higher risk of introducing regressions than simply add a dependency. In Hardy, it seems it can be synced, though.

description: updated
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Uploaded to gutsy-proposed, now waiting for an archive-admin to accept it.

Changed in twill:
assignee: nobody → dktrkranz
Revision history for this message
Jonathan Riddell (jr) wrote :

Accepted into gutsy-proposed, please test.

Changed in twill:
status: Triaged → Fix Committed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

GUTSY VERIFICATION

Using version 0.9~b1-1:
# twill-sh
Traceback (most recent call last):
  File "/usr/bin/twill-sh", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
#

Using version 0.9~b1-1ubuntu0.1:
# twill-sh

 -= Welcome to twill! =-

current page: *empty page*
>>

Package works as expected.

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

Copied to gutsy-updates.

Changed in twill:
status: Fix Committed → 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.