Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 442572

Summary: dev-python/logilab-common-0.58.1-r1 fails tests
Product: Gentoo Linux Reporter: Markus Walter <gentoo>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Markus Walter 2012-11-10 09:58:15 UTC
Created attachment 329076 [details]
emerge --info

On my hardened ~amd64 machine with gcc-4.7.2 I see the following test failures for logilab-common.

FAIL: relative_path (logilab.common.fileutils)
...
AssertionError: Failed doctest test for logilab.common.fileutils.relative_path
  File "/var/tmp/portage/dev-python/logilab-common-0.58.1-r1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/common/fileutils.py", line 180, in relative_path

FAIL: test_monkeypatch_instance_method (unittest_decorators.DecoratorsTC)
...
Traceback (most recent call last)
  File "/var/tmp/portage/dev-python/logilab-common-0.58.1-r1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/common/test/unittest_decorators.py", line 38, in test_monkeypatch_instance_method
...
AssertionError: False is not true
Comment 1 Markus Walter 2012-11-10 09:58:44 UTC
Created attachment 329078 [details]
build log
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-11-10 15:40:36 UTC
sorry, the revbump had an error allowing 3.2 to fail.

dev-python/logilab-common $ USE_PYTHON="2.7 3.2" ebuild logilab-common-0.58.1-r1.ebuild  clean install

 * Generating '/usr/bin/pytest' wrapper script
 * 
 * Python namespaces:
 *     '/usr/lib64/python2.7/site-packages/logilab_common-0.58.1-py2.7-nspkg.pth':
 *         logilab
 *     '/usr/lib64/python3.2/site-packages/logilab_common-0.58.1-py3.2-nspkg.pth':
 *         logilab
 * 
>>> Completed installing logilab-common-0.58.1-r1 into /mnt/gen2/TmpDir/portage/dev-python/logilab-common-0.58.1-r1/image/

plesae resync, retry.
Comment 3 Markus Walter 2012-11-10 22:29:33 UTC
Works fine. :)