Fedora Account System
Red Hat Associate
Red Hat Customer
python-avocado failed to build from source in Fedora rawhide/f44 https://koji.fedoraproject.org/koji/taskinfo?taskID=141191319 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild Please fix python-avocado 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-avocado will be orphaned. Before branching of Fedora 45, python-avocado 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/
Created attachment 2126600 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2126601 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2126602 [details] state.log
This is ultimately because we have setuptools 80 in Fedora 44+. avocado uses pkg_resources, which setuptools is deprecating. With a sufficiently new setuptools, using pkg_resources triggers a deprecation warning: /builddir/build/BUILD/python-avocado-112.0-build/avocado-112.0/avocado/core/__init__.py:18: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. Two of avocado's tests, test_not_found and test_empty_test_list , are broken by this, because they run an avocado command then assert the stderr output is exactly equal to an expected string. However, it actually also includes the deprecation warning, so the assertion fails.
Found and backported an upstream fix for that. Build is done: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d92a583737