[Python-modules-team] Bug#912410: python-igraph's tests fail with Python 3.7

Matthias Klose doko at debian.org
Wed Oct 31 09:16:58 GMT 2018


Package: src:python-igraph
Version: 0.7.1.post6-5
Severity: serious
Tags: sid buster

python-igraph's tests fail with Python 3.7, RC severity for the upcoming Python
3.7 transition.

testMSTofGRG (igraph.test.homepage.HomepageExampleTests) ... ok

======================================================================
ERROR: testFormula (igraph.test.generators.GeneratorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/generators.py", line 72, in testFormula
    g = Graph.Formula(formula)
  File "/<<PKGBUILDDIR>>/igraph/formula.py", line 209, in
construct_graph_from_formula
    for start_names, end_names, arrowheads in generate_edges(part):
  File "/<<PKGBUILDDIR>>/igraph/formula.py", line 90, in generate_edges
    raise SyntaxError(msg)
SyntaxError: invalid token found in edge specification: A

======================================================================
ERROR: testEigenvectorCentrality (igraph.test.structural.CentralityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/structural.py", line 301, in
testEigenvectorCentrality
    cent = g.evcent()
InternalError: Error at arpack.c:944: ARPACK error, Could not build an Arnoldi
factorization

======================================================================
ERROR: testCohesiveBlocks2 (igraph.test.decomposition.CohesiveBlocksTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/decomposition.py", line 339, in
testCohesiveBlocks2
    g = Graph.Formula("1-2:3:4:5:6, 2-3:4:5:7, 3-4:6:7, 4-5:6:7, "
  File "/<<PKGBUILDDIR>>/igraph/formula.py", line 209, in
construct_graph_from_formula
    for start_names, end_names, arrowheads in generate_edges(part):
  File "/<<PKGBUILDDIR>>/igraph/formula.py", line 90, in generate_edges
    raise SyntaxError(msg)
SyntaxError: invalid token found in edge specification: 1-2:3:4:5:6

======================================================================
ERROR: testAuthorityScore (igraph.test.atlas.GraphAtlasTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/atlas.py", line 83, in testAuthorityScore
    sc = g.authority_score()
InternalError: Error at arpack.c:944: ARPACK error, Could not build an Arnoldi
factorization

======================================================================
ERROR: testHubScore (igraph.test.atlas.GraphAtlasTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/atlas.py", line 71, in testHubScore
    sc = g.hub_score()
InternalError: Error at arpack.c:944: ARPACK error, Could not build an Arnoldi
factorization

======================================================================
ERROR: testAuthorityScore (igraph.test.atlas.IsoclassTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/atlas.py", line 83, in testAuthorityScore
    sc = g.authority_score()
InternalError: Error at arpack.c:944: ARPACK error, Could not build an Arnoldi
factorization

======================================================================
ERROR: testHubScore (igraph.test.atlas.IsoclassTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/atlas.py", line 71, in testHubScore
    sc = g.hub_score()
InternalError: Error at arpack.c:944: ARPACK error, Could not build an Arnoldi
factorization

======================================================================
FAIL: testEigenvectorCentrality (igraph.test.atlas.GraphAtlasTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/atlas.py", line 35, in
testEigenvectorCentrality
    self.assertTrue(False, msg="Eigenvector centrality threw exception for graph
#%d: %s" % (idx, ex))
AssertionError: Eigenvector centrality threw exception for graph #5: Error at
arpack.c:944: ARPACK error, Could not build an Arnoldi factorization

======================================================================
FAIL: testEigenvectorCentrality (igraph.test.atlas.IsoclassTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/igraph/test/atlas.py", line 35, in
testEigenvectorCentrality
    self.assertTrue(False, msg="Eigenvector centrality threw exception for graph
#%d: %s" % (idx, ex))
AssertionError: Eigenvector centrality threw exception for graph #3: Error at
arpack.c:1174: ARPACK error, Could not build an Arnoldi factorization

----------------------------------------------------------------------
Ran 307 tests in 20.550s

FAILED (failures=2, errors=7, skipped=3)
Test failed: <unittest.runner.TextTestResult run=307 errors=7 failures=2>



More information about the Python-modules-team mailing list