[Debian-med-packaging] Bug#962698: python-pauvre: FTBFS if the "DISPLAY" environment variable is exported

Chris Lamb lamby at debian.org
Fri Jun 12 11:58:00 BST 2020


Package: python-pauvre
Version: 0.2.2-1
Severity: important

Hi,

python-pauvre FTBFS if the "DISPLAY" environment variable is exported:

 Traceback (most recent call last):
   File "/home/lamby/temp/cdt.20200612115324.KT7RjF0aGh.repro.python-pauvre/build-a/python-pauvre-0.2.2/.pybuild/cpython3_3.8_pauvre/build/pauvre/pauvre_main.py", line 636, in <module>
     main()
   File "/home/lamby/temp/cdt.20200612115324.KT7RjF0aGh.repro.python-pauvre/build-a/python-pauvre-0.2.2/.pybuild/cpython3_3.8_pauvre/build/pauvre/pauvre_main.py", line 630, in main
     args.func(parser, args)
   File "/home/lamby/temp/cdt.20200612115324.KT7RjF0aGh.repro.python-pauvre/build-a/python-pauvre-0.2.2/.pybuild/cpython3_3.8_pauvre/build/pauvre/pauvre_main.py", line 62, in run_subtool
     import pauvre.synplot as submodule
   File "/home/lamby/temp/cdt.20200612115324.KT7RjF0aGh.repro.python-pauvre/build-a/python-pauvre-0.2.2/.pybuild/cpython3_3.8_pauvre/build/pauvre/synplot.py", line 32, in <module>
     from pauvre.functions import GFFParse, print_images, timestamp
   File "/home/lamby/temp/cdt.20200612115324.KT7RjF0aGh.repro.python-pauvre/build-a/python-pauvre-0.2.2/.pybuild/cpython3_3.8_pauvre/build/pauvre/functions.py", line 25, in <module>
     import matplotlib.pyplot as plt
   File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 2282, in <module>
     switch_backend(rcParams["backend"])
   File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 221, in switch_backend
     backend_mod = importlib.import_module(backend_name)
   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", line 1, in <module>
     from . import _backend_tk
   File "/usr/lib/python3/dist-packages/matplotlib/backends/_backend_tk.py", line 6, in <module>
     import tkinter as tk
 ModuleNotFoundError: No module named 'tkinter'
 FAIL

 ======================================================================
 FAIL: test_normal_plotting_scenario (pauvre.tests.test_synplot.libSeq_test_case)
 This verifies that the LibSeq class is constructed with all of the
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/lamby/temp/cdt.20200612115324.KT7RjF0aGh.repro.python-pauvre/build-a/python-pauvre-0.2.2/.pybuild/cpython3_3.8_pauvre/build/pauvre/tests/test_synplot.py", line 66, in test_normal_plotting_scenario
     self.assertEqual(0, int(data.returncode))
 AssertionError: 0 != 1

 ----------------------------------------------------------------------
 Ran 1 test in 0.777


I assume it is trying to run optional GUI tests and failing.


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Debian-med-packaging mailing list