Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936266

Summary: dev-python/matplotlib-3.9.0-r1 fails test tests/test_texmanager.py::test_openin_any_paranoid
Product: Gentoo Linux Reporter: Dustin Polke <DuPol>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: UNCONFIRMED ---    
Severity: normal CC: DuPol, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Full build.log

Description Dustin Polke 2024-07-18 20:04:03 UTC
Created attachment 897944 [details]
emerge --info

====================================================================================== FAILURES ======================================================================================
______________________________________________________________________________ test_openin_any_paranoid ______________________________________________________________________________
[gw8] linux -- Python 3.12.3 /var/tmp/portage/dev-python/matplotlib-3.9.0-r1/work/matplotlib-3.9.0-python3_12/test/usr/bin/python3.12

    @needs_usetex
    def test_openin_any_paranoid():
        completed = subprocess_run_for_testing(
            [sys.executable, "-c",
             'import matplotlib.pyplot as plt;'
             'plt.rcParams.update({"text.usetex": True});'
             'plt.title("paranoid");'
             'plt.show(block=False);'],
            env={**os.environ, 'openin_any': 'p'}, check=True, capture_output=True)
>       assert completed.stderr == ""
E       AssertionError

completed  = CompletedProcess(args=['/var/tmp/portage/dev-python/matplotlib-3.9.0-r1/work/matplotlib-3.9.0-python3_12/test/usr/bin/python3.12', '-c', 'import matplotlib.pyplot as plt;plt.rcParams.update({"text.usetex": True});plt.title("paranoid");plt.show(block=False);'], returncode=0, stdout='', stderr='libEGL warning: MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)\n\n')

../matplotlib-3.9.0-python3_12/test/usr/lib/python3.12/site-packages/matplotlib/tests/test_texmanager.py:75: AssertionError
Comment 1 Dustin Polke 2024-07-18 20:05:55 UTC
Created attachment 897946 [details]
Full build.log
Comment 2 Dustin Polke 2024-07-21 09:42:43 UTC
This turns out to be a failure due to a misconfiguration on my system. Sorry about the noise. Can be closed as invalid.