quodlibet fails to build with Python 3.13.03. + /usr/bin/pytest -m 'not network' ============================= test session starts ============================== platform linux -- Python 3.13.0a3, pytest-7.4.3, pluggy-1.3.0 rootdir: /builddir/build/BUILD/quodlibet-4.6.0 configfile: setup.cfg collected 4561 items / 5 errors / 9 deselected / 1 skipped / 4552 selected ==================================== ERRORS ==================================== _______________ ERROR collecting tests/test_browsers_podcasts.py _______________ ImportError while importing test module '/builddir/build/BUILD/quodlibet-4.6.0/tests/test_browsers_podcasts.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_browsers_podcasts.py:9: in <module> from quodlibet.browsers.podcasts import Podcasts, AddFeedDialog, Feed quodlibet/browsers/podcasts.py:17: in <module> import feedparser /usr/lib/python3.13/site-packages/feedparser/__init__.py:28: in <module> from .api import parse /usr/lib/python3.13/site-packages/feedparser/api.py:35: in <module> from .encodings import convert_to_utf8 /usr/lib/python3.13/site-packages/feedparser/encodings.py:29: in <module> import cgi E ModuleNotFoundError: No module named 'cgi' _________________ ERROR collecting tests/test_qltk_exfalso.py __________________ ImportError while importing test module '/builddir/build/BUILD/quodlibet-4.6.0/tests/test_qltk_exfalso.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_qltk_exfalso.py:6: in <module> from quodlibet.qltk import exfalsowindow quodlibet/qltk/exfalsowindow.py:41: in <module> from quodlibet.update import UpdateDialog quodlibet/update.py:22: in <module> import feedparser /usr/lib/python3.13/site-packages/feedparser/__init__.py:28: in <module> from .api import parse /usr/lib/python3.13/site-packages/feedparser/api.py:35: in <module> from .encodings import convert_to_utf8 /usr/lib/python3.13/site-packages/feedparser/encodings.py:29: in <module> import cgi E ModuleNotFoundError: No module named 'cgi' _____________ ERROR collecting tests/test_qltk_quodlibetwindow.py ______________ ImportError while importing test module '/builddir/build/BUILD/quodlibet-4.6.0/tests/test_qltk_quodlibetwindow.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_qltk_quodlibetwindow.py:11: in <module> from quodlibet.qltk.quodlibetwindow import QuodLibetWindow, PlaybackErrorDialog quodlibet/qltk/quodlibetwindow.py:30: in <module> from quodlibet.update import UpdateDialog quodlibet/update.py:22: in <module> import feedparser /usr/lib/python3.13/site-packages/feedparser/__init__.py:28: in <module> from .api import parse /usr/lib/python3.13/site-packages/feedparser/api.py:35: in <module> from .encodings import convert_to_utf8 /usr/lib/python3.13/site-packages/feedparser/encodings.py:29: in <module> import cgi E ModuleNotFoundError: No module named 'cgi' ____________________ ERROR collecting tests/test_update.py _____________________ ImportError while importing test module '/builddir/build/BUILD/quodlibet-4.6.0/tests/test_update.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_update.py:8: in <module> from quodlibet.update import UpdateDialog quodlibet/update.py:22: in <module> import feedparser /usr/lib/python3.13/site-packages/feedparser/__init__.py:28: in <module> from .api import parse /usr/lib/python3.13/site-packages/feedparser/api.py:35: in <module> from .encodings import convert_to_utf8 /usr/lib/python3.13/site-packages/feedparser/encodings.py:29: in <module> import cgi E ModuleNotFoundError: No module named 'cgi' _________________ ERROR collecting tests/plugin/test_prefs.py __________________ ImportError while importing test module '/builddir/build/BUILD/quodlibet-4.6.0/tests/plugin/test_prefs.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/plugin/test_prefs.py:13: in <module> from quodlibet.ext._shared.squeezebox.server import SqueezeboxException quodlibet/ext/_shared/squeezebox/server.py:10: in <module> from telnetlib import Telnet E ModuleNotFoundError: No module named 'telnetlib' According to https://docs.python.org/3.13/whatsnew/3.13.html: PEP 594: Remove the telnetlib module, deprecated in Python 3.11: use the projects telnetlib3 or Exscript instead. (Contributed by Victor Stinner in gh-104773.) https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06939269-quodlibet/ For all our attempts to build quodlibet with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/quodlibet/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. 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.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
I should have been able to get it fixed. How can I easily test the builds against this? Is there a guide somewhere?
Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/
*** Bug 2291995 has been marked as a duplicate of this bug. ***
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.
This is basically fixed, only some testing and a new upstream release is missing. I updated the dependency python-feedparser and got in touch with upstream.
This package has failed to build with Python 3.13 so far. Fedora 41 is already in the Beta Freeze phase. What's your plan going forward? Will the package be fixed in time for the Final Freeze of Fedora 41 (planned on Oct 15th 2024)? If you don't plan or can't fix the package before Fedora 41 goes into the Final Freeze phase, please retire the package. You can unretire it anytime during the Fedora 41 lifecycle - doing this now will simply ensure that we don't release Fedora with a broken package. Thank you!
It will be fixed in time for the freeze. 3.13 was released 1 day ago and I am doing all that in my spare time.
FEDORA-2024-4ddc2592ea (quodlibet-4.6.0-7.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-4ddc2592ea
FEDORA-2024-4ddc2592ea has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4ddc2592ea` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4ddc2592ea See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ All subpackages of a package against which this bug was filled are now installable or removed from Fedora 42. Thanks for taking care of it!
FEDORA-2024-4ddc2592ea (quodlibet-4.6.0-7.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.