[Python-modules-team] Bug#668427: python-urllib3: Please tighten build-dependency on python-coverage

Oxan van Leeuwen oxan at oxanvanleeuwen.nl
Wed Apr 11 19:07:51 UTC 2012


Package: python-urllib3
Version: 1.3-1
Severity: minor

python-urllib3 doesn't build in squeeze chroots, even though all
build-dependencies are satisfied. This happens because the python-coverage 
version in squeeze, 2.85-1, is too old. It builds fine with a backported 
python-coverage 3.4-1 from wheezy. Please tighten the build-dependency to 
python-coverage (>= 3.4), or another compatible version.

For reference, the build error that happens with python-coverage 2.85 is:

/usr/lib/python3.1/distutils/dist.py:259: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3.1/distutils/dist.py:259: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
make[1]: Leaving directory `/«PKGBUILDDIR»'
   debian/rules override_dh_auto_test
make[1]: Entering directory `/«PKGBUILDDIR»'
# Python3 testing is not possible at the moment because missing
# dependencies: python3-coverage.
set -ex; \
        for python in python2.6; do \
                $python /usr/bin/nosetests; \
        done
+ python2.6 /usr/bin/nosetests
...............................
Traceback (most recent call last):
  File "/usr/bin/nosetests", line 9, in <module>
    load_entry_point('nose==1.1.2', 'console_scripts', 'nosetests')()
  File "/usr/lib/python2.6/dist-packages/nose/core.py", line 118, in __init__
    **extra_args)
  File "/usr/lib/python2.6/unittest.py", line 817, in __init__
    self.runTests()
  File "/usr/lib/python2.6/dist-packages/nose/core.py", line 197, in runTests
    result = self.testRunner.run(self.test)
  File "/usr/lib/python2.6/dist-packages/nose/core.py", line 63, in run
    result.printErrors()
  File "/usr/lib/python2.6/dist-packages/nose/result.py", line 110, in printErrors
    self.config.plugins.report(self.stream)
  File "/usr/lib/python2.6/dist-packages/nose/plugins/manager.py", line 94, in __call__
    return self.call(*arg, **kw)
  File "/usr/lib/python2.6/dist-packages/nose/plugins/manager.py", line 162, in simple
    result = meth(*arg, **kw)
  File "/usr/lib/python2.6/dist-packages/nose/plugins/cover.py", line 167, in report
    self.coverInstance.save()
AttributeError: 'module' object has no attribute 'save'
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (525, 'unstable'), (515, 'experimental'), (500, 'testing-proposed-updates'), (500, 'stable-updates'), (110, 'oneiric-updates'), (110, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-urllib3 depends on:
ii  python      2.7.2-10
ii  python-six  1.1.0-2
ii  python2.6   2.6.7-4
ii  python2.7   2.7.2-8

python-urllib3 recommends no packages.

python-urllib3 suggests no packages.

-- no debconf information





More information about the Python-modules-team mailing list