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

Bug 447482

Summary: dev-python/python-gflags-2.0: tests fail with python2.7
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mike
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 447484    
Attachments: The build log

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-12-16 16:10:16 UTC
Created attachment 332488 [details]
The build log

It mostly falls down to:

    TypeError: assertListEqual() got an unexpected keyword argument 'msg'

and a single:

    AssertionError: 'flag --m_float2=abc: invalid literal for float\(\): abc' does not match 'flag --m_float2=abc: could not convert string to float: abc'
Comment 1 mike@marineau.org 2013-06-28 18:44:43 UTC
The fix for this bug has been available upstream for some time now but not released. The commit is:

http://code.google.com/p/python-gflags/source/detail?r=41

I've included this in an overlay of my own:

https://github.com/marineam/misc-overlay/tree/master/dev-python/python-gflags
Comment 2 SpanKY gentoo-dev 2014-02-03 15:21:26 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add fix from upstream for running tests w/python-2.7
http://sources.gentoo.org/dev-python/python-gflags/files/python-gflags-2.0-tests-python-2.7.patch?rev=1.1
http://sources.gentoo.org/dev-python/python-gflags/python-gflags-2.0.ebuild?r1=1.9&r2=1.10