Your message dated Wed, 26 Feb 2020 09:15:20 -0500 with message-id <cab4xwxwzmqzuxzk15n1k_ziobaxus830934h36tnwkbgsne...@mail.gmail.com> and subject line Re: Bug#952588: python3-matplotlib: should depends on python3-tk ? has caused the Debian Bug report #952588, regarding python3-matplotlib: should depends on python3-tk ? to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 952588: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952588 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python3-matplotlib Version: 3.0.2-2 Severity: normal Dear Maintainer, I maintain the pyFAI package whcih use matplotlib. so during the autopkgtest it tried to run use matplotlib and the defaulkt backend seems to be tk. But I have a failure, like this INFO:matplotlib.font_manager:generated new fontManager Traceback (most recent call last): File "run_tests.py", line 543, in <module> unittest.defaultTestLoader.loadTestsFromNames(options.test_name)) File "/usr/lib/python3.8/unittest/loader.py", line 220, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib/python3.8/unittest/loader.py", line 220, in <listcomp> suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib/python3.8/unittest/loader.py", line 205, in loadTestsFromName test = obj() File "/usr/lib/python3/dist-packages/pyFAI/test/__init__.py", line 62, in suite from . import test_all File "/usr/lib/python3/dist-packages/pyFAI/test/test_all.py", line 47, in <module> from . import test_histogram File "/usr/lib/python3/dist-packages/pyFAI/test/test_histogram.py", line 51, in <module> import pylab File "/usr/lib/python3/dist-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/usr/lib/python3/dist-packages/matplotlib/pylab.py", line 235, in <module> from matplotlib import cbook, mlab, pyplot as plt File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 2349, 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' Should'nt matplotlib depends on python3-tk, in order to provide a default backend ? Idem for the -dbg package -- System Information: Debian Release: 10.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-amd64 (SMP w/24 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-matplotlib depends on: ii libc6 2.28-10 ii libfreetype6 2.9.1-3+deb10u1 ii libgcc1 1:8.3.0-6 ii libjs-jquery 3.3.1~dfsg-3 ii libjs-jquery-ui 1.12.1+dfsg-5 ii libpng16-16 1.6.36-6 ii libstdc++6 8.3.0-6 ii python-matplotlib-data 3.0.2-2 ii python3 3.7.3-1 ii python3-cycler 0.10.0-1 ii python3-dateutil 2.7.3-3 ii python3-kiwisolver 1.0.1-2+b1 ii python3-numpy [python3-numpy-abi9] 1:1.16.2-1 ii python3-pyparsing 2.2.0+dfsg1-2 ii python3-six 1.12.0-1 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages python3-matplotlib recommends: ii python3-pil 5.4.1-2 ii python3-tk 3.7.3-1 Versions of packages python3-matplotlib suggests: pn dvipng <none> pn ffmpeg <none> ii ghostscript 9.27~dfsg-2+deb10u3 ii gir1.2-gtk-3.0 3.24.5-1 ii inkscape 0.92.4-3 ii ipython3 5.8.0-1 ii librsvg2-common 2.44.10-2.1 pn python-matplotlib-doc <none> pn python3-cairocffi <none> ii python3-gi 3.30.4-1 ii python3-gi-cairo 3.30.4-1 pn python3-gobject <none> pn python3-nose <none> ii python3-pyqt4 4.12.1+dfsg-2+b1 ii python3-scipy 1.1.0-7 ii python3-sip 4.19.14+dfsg-2 ii python3-tornado 5.1.1-4 ii texlive-extra-utils 2018.20190227-2 ii texlive-latex-extra 2018.20190227-2 pn ttf-staypuft <none> -- no debconf information
--- End Message ---
--- Begin Message ---> Should'nt matplotlib depends on python3-tk, in order to provide a default > backend ? https://salsa.debian.org/python-team/modules/matplotlib/-/blob/master/debian/control#L73 it's in Recommends (which gets installed by default on users machines) so that people can decide to switch to a different backend and remove python3-tk if they decide to do so. if you need a specific backend for your test, set matplotlibrc accordingly and install the right package; if autopcktests doesnt install Recommends by default, then who writes the tests should be aware of it and explicitly add the required packages in debian/tests/control Regards, -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi
--- End Message ---

