Summary: | dev-python/matplotlib-3.5.1 fails tests: ImportError: Cannot load backend 'QtAgg' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonathan Lovelace <kingjon3377> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-python:matplotlib-3.5.1:20220211-013850.log.gz |
Created attachment 764820 [details]
dev-python:matplotlib-3.5.1:20220211-013850.log.gz
|
Created attachment 764819 [details] emerge-info.txt =dev-python/matplotlib-3.5.1 fails its tests (with USE=test and PYTHON_TARGETS=python3_9 being the only enabled flags shown by emerge -pv) fails its test phase with the following: <string>:1: MatplotlibDeprecationWarning: The test function was deprecated in Matplotlib 3.5 and will be removed two minor releases later. Use pytest instead. Traceback (most recent call last): File "<string>", line 1, in <module> File "/var/tmp/portage/dev-python/matplotlib-3.5.1/work/matplotlib-3.5.1-python3_9/build/test-lib/matplotlib/_api/deprecatio n.py", line 205, in wrapper return func(*args, **kwargs) File "/var/tmp/portage/dev-python/matplotlib-3.5.1/work/matplotlib-3.5.1-python3_9/build/test-lib/matplotlib/__init__.py", line 1230, in test old_backend = get_backend() File "/var/tmp/portage/dev-python/matplotlib-3.5.1/work/matplotlib-3.5.1-python3_9/build/test-lib/matplotlib/__init__.py", l ine 1170, in get_backend return rcParams['backend'] File "/var/tmp/portage/dev-python/matplotlib-3.5.1/work/matplotlib-3.5.1-python3_9/build/test-lib/matplotlib/__init__.py", l ine 671, in __getitem__ from matplotlib import pyplot as plt File "/var/tmp/portage/dev-python/matplotlib-3.5.1/work/matplotlib-3.5.1-python3_9/build/test-lib/matplotlib/pyplot.py", lin e 2230, in <module> switch_backend(rcParams["backend"]) File "/var/tmp/portage/dev-python/matplotlib-3.5.1/work/matplotlib-3.5.1-python3_9/build/test-lib/matplotlib/pyplot.py", lin e 275, in switch_backend raise ImportError( ImportError: Cannot load backend 'QtAgg' which requires the 'qt' interactive framework, as 'headless' is currently running