Bug#868616: seaborn FTBFS: ImportError: No module named pytest

Adrian Bunk bunk at debian.org
Mon Jul 17 00:07:33 UTC 2017


Source: seaborn
Version: 0.7.1-4
Severity: serious
Tags: buster sid

Some recent change in unstable makes seaborn FTBFS:

https://tests.reproducible-builds.org/debian/history/seaborn.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/seaborn.html

...
seaborn.tests.test_rcmod.TestPlottingContext.test_font_scale ... ok
seaborn.tests.test_rcmod.TestPlottingContext.test_key_usage ... ok
seaborn.tests.test_rcmod.TestPlottingContext.test_rc_override ... ok
seaborn.tests.test_rcmod.TestPlottingContext.test_set_context ... ok
Failure: ImportError (No module named pytest) ... ERROR

======================================================================
ERROR: Failure: ImportError (No module named pytest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/build/1st/seaborn-0.7.1/.pybuild/pythonX.Y_2.7/build/seaborn/tests/test_utils.py", line 349, in <module>
    @network(url="https://github.com/mwaskom/seaborn-data")
  File "/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 2194, in dec
    return decorator(f, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 2363, in network
    from pytest import skip
ImportError: No module named pytest

----------------------------------------------------------------------
Ran 394 tests in 176.699s

FAILED (SKIP=5, errors=1)
E: pybuild pybuild:283: test: plugin custom failed with: exit code=1: nosetests -s -v /build/1st/seaborn-0.7.1/.pybuild/pythonX.Y_2.7/build/
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:28: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25



More information about the debian-science-maintainers mailing list