Bug 2341338 - python-matplotlib: FTBFS in Fedora rawhide/f42
Summary: python-matplotlib: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-matplotlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 21:56 UTC by Fedora Release Engineering
Modified: 2025-01-25 03:38 UTC (History)
6 users (show)

Fixed In Version: python-matplotlib-3.10.0-3.fc42
Clone Of:
Environment:
Last Closed: 2025-01-25 03:38:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 21:56 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 21:56 UTC, Fedora Release Engineering
no flags Details
state.log (1.69 KB, text/plain)
2025-01-22 21:56 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2025-01-22 21:56:09 UTC
python-matplotlib failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=128145943


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix python-matplotlib at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
python-matplotlib will be orphaned. Before branching of Fedora 43,
python-matplotlib will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 21:56:12 UTC
Created attachment 2072534 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 21:56:14 UTC
Created attachment 2072535 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 21:56:15 UTC
Created attachment 2072536 [details]
state.log

Comment 4 Ben Beasley 2025-01-22 22:39:01 UTC
=================================== FAILURES ===================================
___________________________ test_save_figure_return ____________________________
[gw3] linux -- Python 3.13.1 /usr/bin/python3
    @pytest.mark.backend('QtAgg', skip_on_importerror=True)
    def test_save_figure_return():
        fig, ax = plt.subplots()
        ax.imshow([[1]])
        prop = "matplotlib.backends.qt_compat.QtWidgets.QFileDialog.getSaveFileName"
        with mock.patch(prop, return_value=("foobar.png", None)):
            fname = fig.canvas.manager.toolbar.save_figure()
>           os.remove("foobar.png")
E           FileNotFoundError: [Errno 2] No such file or directory: 'foobar.png'
../BUILDROOT/usr/lib64/python3.13/site-packages/matplotlib/tests/test_backend_qt.py:236: FileNotFoundError

Comment 5 Elliott Sales de Andrade 2025-01-23 01:31:45 UTC
Only on x86_64 though; it's all tolerance issues on other arches (and this one didn't fail.)

Comment 6 Fedora Update System 2025-01-25 02:41:01 UTC
FEDORA-2025-7473b5c3bf (python-matplotlib-3.10.0-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7473b5c3bf

Comment 7 Fedora Update System 2025-01-25 03:38:20 UTC
FEDORA-2025-7473b5c3bf (python-matplotlib-3.10.0-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.