FS#58000 - [python2-matplotlib] should depend on python2-backports.functools_lru_cache

Attached to Project: Community Packages
Opened by Erich Eckner (deepthought) - Wednesday, 28 March 2018, 08:17 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 05 April 2018, 16:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Without python2-backports.functools_lru_cache, python2-matplotlib fails as follows:

>>> import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/matplotlib/__init__.py", line 131, in <module>
from matplotlib.rcsetup import defaultParams, validate_backend, cycler
File "/usr/lib/python2.7/site-packages/matplotlib/rcsetup.py", line 29, in <module>
from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
File "/usr/lib/python2.7/site-packages/matplotlib/fontconfig_pattern.py", line 28, in <module>
from backports.functools_lru_cache import lru_cache
ImportError: No module named backports.functools_lru_cache


see https://github.com/matplotlib/matplotlib/issues/9344

Additional info:
* package version(s)
python2-matplotlib 2.2.2-1

Steps to reproduce:
# if python2-backports.functools_lru_cache is installed:
> pacman -Rs python2-backports.functools_lru_cache
# and unconditionally:
> pacman -S python2-matplotlib
> python2
>>> import matplotlib
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 05 April 2018, 16:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-matplotlib 2.2.2-2

Loading...