Source: python-networkx
Version: 1.5-1
Severity: serious
Justification: fails to build from source

python-networkx FTBFS in unstable, i386:
| running nosetests
| running egg_info
| writing requirements to networkx.egg-info/requires.txt
| writing networkx.egg-info/PKG-INFO
| writing top-level names to networkx.egg-info/top_level.txt
| writing dependency_links to networkx.egg-info/dependency_links.txt
| reading manifest file 'networkx.egg-info/SOURCES.txt'
| reading manifest template 'MANIFEST.in'
| warning: no files found matching 'networkx/tests/*.txt'
| warning: no files found matching 'networkx/*/tests/*.txt'
| warning: no files found matching 'networkx/*/*/tests/*.txt'
| warning: no previously-included files matching '*~' found anywhere in 
distribution
| warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
| warning: no previously-included files matching '.svn' found anywhere in 
distribution
| no previously-included directories found matching 'doc/build'
| no previously-included directories found matching 
'doc/source/reference/generated'
| no previously-included directories found matching 'doc/source/examples'
| no previously-included directories found matching 'doc/source/static/examples'
| no previously-included directories found matching 
'doc/source/templates/gallery.html'
| writing manifest file 'networkx.egg-info/SOURCES.txt'
| running build_ext
| 
..............S.............................S......................................................................................................................................................................................................SS...S./build/python-networkx-OcC1SK/python-networkx-1.5/networkx/algorithms/link_analysis/pagerank_alg.py:269:
 ComplexWarning: Casting complex values to real discards the imaginary part
|   largest=np.array(eigenvectors[:,ind[-1]]).flatten().astype(np.float)
| 
...S.S....................................F..F............................................................................................................................................................................................S..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SS.....S...........S..S.......................................................................................................S...........................S..............................................................S......S........................S......................
| ======================================================================
| FAIL: test_astar.TestAStar.test_astar_undirected
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/pymodules/python2.6/nose/case.py", line 187, in runTest
|     self.test(*self.arg)
|   File 
"/build/python-networkx-OcC1SK/python-networkx-1.5/networkx/algorithms/shortest_paths/tests/test_astar.py",
 line 58, in test_astar_undirected
|     assert nx.astar_path(GG,'s','v')==['s', 'x', 'u', 'v']
| AssertionError:
|     <networkx.classes.graph.Graph object at 0x918cf6c>=<test_astar.TestAStar 
instance at 0x918c06c>.XG.to_undirected()
| >>  assert <module 'networkx' from 
'/build/python-networkx-OcC1SK/python-networkx-1.5/networkx/__init__.py'>.astar_path(<networkx.classes.graph.Graph
 object at 0x918cf6c>,'s','v')==['s', 'x', 'u', 'v']
|     assert <module 'networkx' from 
'/build/python-networkx-OcC1SK/python-networkx-1.5/networkx/__init__.py'>.astar_path_length(<networkx.classes.graph.Graph
 object at 0x918cf6c>,'s','v')==8
|
|
| ======================================================================
| FAIL: test_astar.TestAStar.test_astar_w1
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/pymodules/python2.6/nose/case.py", line 187, in runTest
|     self.test(*self.arg)
|   File 
"/build/python-networkx-OcC1SK/python-networkx-1.5/networkx/algorithms/shortest_paths/tests/test_astar.py",
 line 106, in test_astar_w1
|     assert nx.astar_path(G,'s','v')==['s', 'u', 'v']
| AssertionError:
|     <networkx.classes.digraph.DiGraph object at 0x918cbec>=<module 'networkx' 
from '/build/python-networkx-OcC1SK/python-networkx-1.5/networkx/__init__.py'>.DiGraph()
|     <networkx.classes.digraph.DiGraph object at 
0x918cbec>.add_edges_from([('s','u'), ('s','x'), ('u','v'), ('u','x'), ('v','y'), 
('x','u'), ('x','v'), ('x','y'), ('y','s'), ('y','v')])
| >>  assert <module 'networkx' from 
'/build/python-networkx-OcC1SK/python-networkx-1.5/networkx/__init__.py'>.astar_path(<networkx.classes.digraph.DiGraph
 object at 0x918cbec>,'s','v')==['s', 'u', 'v']
|     assert <module 'networkx' from 
'/build/python-networkx-OcC1SK/python-networkx-1.5/networkx/__init__.py'>.astar_path_length(<networkx.classes.digraph.DiGraph
 object at 0x918cbec>,'s','v')== 2
|
|
| ----------------------------------------------------------------------
| Ran 1348 tests in 28.853s
|
| FAILED (SKIP=18, failures=2)

I can't reproduce the failure on amd64.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to