should depend-on or recommend python-junitxml

Bug #525886 reported by Zooko Wilcox-O'Hearn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subunit (Ubuntu)
Fix Released
Undecided
Jelmer Vernooij

Bug Description

Binary package hint: subunit

I'm configuring Hudson to produce pretty explorable unit test results. Installing subunit is one step in doing that. Once I've installed subunit, if I invoke "subunit2junitxml" then I get an ImportError:

hudson@ip-10-162-17-140:~/jobs/SG/workspace$ SG_CONFIG_FILE=$PWD/test.cfg PYTHONPATH=~/repos/site-packages:~/repos/lazyboy python setup.py trial --reporter=subunit | subunit2junitxml
python-junitxml (https://launchpad.net/pyjunitxml or http://pypi.python.org/pypi/junitxml) is required for this filter.Traceback (most recent call last):
  File "/usr/bin/subunit2junitxml", line 28, in <module>
    from junitxml import JUnitXmlResult
ImportError: No module named junitxml
error: Broken pipe

Installing python-junitxml made this ImportError stop happening.

Perhaps "subunit" should depend-on or recommend python-junitxml.

ProblemType: Bug
Architecture: amd64
Date: Mon Feb 22 17:07:45 2010
DistroRelease: Ubuntu 9.10
Ec2AMI: ami-cb2e7f8e
Ec2AMIManifest: ubuntu-images-us-west-1/ubuntu-karmic-9.10-amd64-server-20100121.manifest.xml
Ec2AvailabilityZone: us-west-1a
Ec2InstanceType: m1.large
Ec2Kernel: aki-7f3c6d3a
Ec2Ramdisk: ari-cf2e7f8a
Package: python-subunit 0.0.2-1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-302.7-ec2
SourcePackage: subunit
Tags: ec2-images
Uname: Linux 2.6.31-302-ec2 x86_64

Revision history for this message
Zooko Wilcox-O'Hearn (zooko) wrote :
Scott Moser (smoser)
tags: removed: ec2-images
Jelmer Vernooij (jelmer)
Changed in subunit (Ubuntu):
status: New → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in subunit (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package subunit - 0.0.6-3

---------------
subunit (0.0.6-3) unstable; urgency=low

  * Add recommends for python-junitxml (used by subunit2junitxml). LP: #525886
  * Add missing python dependency for 'subunit' binary package.
  * python-subunit: No longer ship .pyo files.
  * Bump standards version to 3.9.2 (no changes).
 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 20 Jun 2011 08:42:27 +0000

Changed in subunit (Ubuntu):
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.