[Python-modules-team] Bug#922957: python-igraph's tests fail with Python 3.7 on Windows10 (version python-igraph/0.7.1.post6-6)

ensieh.davoodijam at uzh.ch ensieh.davoodijam at uzh.ch
Fri Feb 22 09:53:41 GMT 2019


Package: src:python-igraph
Version: 0.7.1.post6-6
Severity: serious

python-igraph's tests fail with Python 3.7, RC severity for the upcoming Python
3.7 transition.
..............................................E.....................E......................................................................................................................................................................E.......................................................................
======================================================================
ERROR: testFormula (igraph.test.generators.GeneratorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\Nczjam\AppData\Local\Programs\Python\Python37\lib\site-packages\igraph\test\generators.py", line 72, in testFormula
    g = Graph.Formula(formula)
  File "C:\Users\Nczjam\AppData\Local\Programs\Python\Python37\lib\site-packages\igraph\formula.py", line 209, in construct_graph_from_formula
    for start_names, end_names, arrowheads in generate_edges(part):
  File "C:\Users\Nczjam\AppData\Local\Programs\Python\Python37\lib\site-packages\igraph\formula.py", line 90, in generate_edges
    raise SyntaxError(msg)
  File "<string>", line None
SyntaxError: invalid token found in edge specification: A

======================================================================
ERROR: testPickle (igraph.test.foreign.ForeignTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\Nczjam\AppData\Local\Programs\Python\Python37\lib\site-packages\igraph\test\foreign.py", line 207, in testPickle
    g = Graph.Read_Pickle(pickle)
  File "C:\Users\Nczjam\AppData\Local\Programs\Python\Python37\lib\site-packages\igraph\__init__.py", line 1829, in Read_Pickle
    fp = open(fname, "rb")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte

======================================================================
ERROR: testCohesiveBlocks2 (igraph.test.decomposition.CohesiveBlocksTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\Nczjam\AppData\Local\Programs\Python\Python37\lib\site-packages\igraph\test\decomposition.py", line 329, 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 "C:\Users\Nczjam\AppData\Local\Programs\Python\Python37\lib\site-packages\igraph\formula.py", line 209, in construct_graph_from_formula
    for start_names, end_names, arrowheads in generate_edges(part):
  File "C:\Users\Nczjam\AppData\Local\Programs\Python\Python37\lib\site-packages\igraph\formula.py", line 90, in generate_edges
    raise SyntaxError(msg)
  File "<string>", line None
SyntaxError: invalid token found in edge specification: 1-2:3:4:5:6

----------------------------------------------------------------------
Ran 307 tests in 2.798s

FAILED (errors=3)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190222/864a441d/attachment.html>


More information about the Python-modules-team mailing list