Summary: | dev-python/blockcanvas fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/dev-python%3Ablockcanvas-4.0.1%3A20120622-103233.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Diego Elio Pettenò (RETIRED)
![]() This appears to be making up python modules on the fly. No module named traits.api fair enough; /usr/lib64/python2.7/site-packages/traits/api.py however from py.magic import greenlet we have a archtester blockcanvas # qlist wxpython | grep py/ | grep magic /usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/py/magic.py /usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/py/magic.py which have no greenlet. We have /usr/lib64/python2.7/site-packages/greenlet.so yielding class genlet(greenlet): TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given) Similar with from enthought.traits.api import HasTraits, Property, Float, Int from enthought.traits.ui.api import View, Item We just don't seem to have them. Beats me. # blockcanvas # USE_PYTHON=2.7 ebuild blockcanvas-4.0.1.ebuild clean test ---------------------------------------------------------------------- Ran 272 tests in 5.604s FAILED (SKIP=8, errors=8, failures=8) * ERROR: dev-python/blockcanvas-4.0.1 failed (test phase): * Testing failed with CPython 2.7 in python_test_function() function These errors include some general package e.g. IndexError: list index out of range but mostly from spurious imports of absent modules: from py.magic import greenlet ImportError: No module named magic blockcanvas # qfile magic.py dev-python/wxpython (/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/py/magic.py) dev-python/ipython (/usr/lib64/python2.7/site-packages/IPython/core/magic.py) dev-python/ipython (/usr/lib64/python3.2/site-packages/IPython/core/magic.py) But more seriously, from enthought.traits.api import HasTraits, Property, Float, Int ImportError: No module named traits.api blockcanvas # qlist enthought | grep traits /usr/lib64/python2.7/site-packages/enthought/util/traits/__init__.py /usr/lib64/python2.7/site-packages/enthought/util/traits/editor/parameter_choice_editor.py /usr/lib64/python2.7/site-packages/enthought/util/traits/editor/__init__.py enthought packages appear to have a structure and order of their own. Considering this package has very rare reverse deps, sadly this test suite is basically unworkable. Although loathed to, restricting tests. |