FS#64479 - [python-matplotlib] Broken with python 3.8

Attached to Project: Community Packages
Opened by Antonio Rojas (arojas) - Tuesday, 12 November 2019, 21:05 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 12 November 2019, 21:10 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Felix Yan (felixonmars)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

> python -c 'import matplotlib.pyplot'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2355, in <module>
switch_backend(rcParams["backend"])
File "/usr/lib/python3.8/site-packages/matplotlib/__init__.py", line 832, in __getitem__
plt.switch_backend(rcsetup._auto_backend_sentinel)
File "/usr/lib/python3.8/site-packages/matplotlib/pyplot.py", line 204, in switch_backend
switch_backend(candidate)
File "/usr/lib/python3.8/site-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.8/site-packages/matplotlib/backends/backend_qt5agg.py", line 11, in <module>
from .backend_qt5 import (
File "/usr/lib/python3.8/site-packages/matplotlib/backends/backend_qt5.py", line 15, in <module>
import matplotlib.backends.qt_editor.figureoptions as figureoptions
File "/usr/lib/python3.8/site-packages/matplotlib/backends/qt_editor/figureoptions.py", line 14, in <module>
from matplotlib.backends.qt_editor import _formlayout
File "/usr/lib/python3.8/site-packages/matplotlib/backends/qt_editor/_formlayout.py", line 103, in <module>
class ColorLayout(QtWidgets.QHBoxLayout):
TypeError: 'Shiboken.ObjectType' object is not iterable

This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 12 November 2019, 21:10 GMT
Reason for closing:  Deferred
Comment by Antonio Rojas (arojas) - Tuesday, 12 November 2019, 21:09 GMT
OK seems to be an reproducible only with Qt 5.14. Will investigate and reopen if it turns out to be a matplotlib issue.

Loading...