mu fails to build with pytest 8. ==================================== ERRORS ==================================== _______________ ERROR collecting tests/interface/test_dialogs.py _______________ tests/interface/test_dialogs.py:8: in <module> import mu.interface.dialogs mu/interface/__init__.py:1: in <module> from .main import Window mu/interface/main.py:45: in <module> from mu.interface.dialogs import ( mu/interface/dialogs.py:300: in <module> class LocaleWidget(QWidget): mu/interface/dialogs.py:306: in LocaleWidget _("Automatically detect"): "", E NameError: name '_' is not defined _______________ ERROR collecting tests/interface/test_editor.py ________________ tests/interface/test_editor.py:6: in <module> import mu.interface.editor mu/interface/__init__.py:1: in <module> from .main import Window mu/interface/main.py:45: in <module> from mu.interface.dialogs import ( mu/interface/dialogs.py:300: in <module> class LocaleWidget(QWidget): mu/interface/dialogs.py:306: in LocaleWidget _("Automatically detect"): "", E NameError: name '_' is not defined =========================== short test summary info ============================ ERROR tests/interface/test_dialogs.py - NameError: name '_' is not defined ERROR tests/interface/test_editor.py - NameError: name '_' is not defined !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ======================= 1 deselected, 2 errors in 1.57s ======================== https://docs.pytest.org/en/stable/changelog.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/thrnciar/pytest/fedora-rawhide-x86_64/07247616-mu/ For all our attempts to build mu with pytest 8, see: https://copr.fedorainfracloud.org/coprs/thrnciar/pytest/package/mu/ Let us know here if you have any questions. Pytest 8 is planned to be included in Fedora 41. And this bugzilla is a heads up before we merge new pytest into rawhide. For more info see a Fedora Change proposal https://fedoraproject.org/wiki/Changes/Pytest_8 We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
https://src.fedoraproject.org/rpms/mu/pull-request/27
FEDORA-2024-432cfbaaa4 (mu-1.2.0-14.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-432cfbaaa4
FEDORA-2024-432cfbaaa4 (mu-1.2.0-14.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.