Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447482 - dev-python/python-gflags-2.0: tests fail with python2.7
Summary: dev-python/python-gflags-2.0: tests fail with python2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 447484
  Show dependency tree
 
Reported: 2012-12-16 16:10 UTC by Michał Górny
Modified: 2014-02-03 15:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The build log (build-python2.7.log,14.11 KB, text/plain)
2012-12-16 16:10 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
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