Bug 2434951 - python-avocado: FTBFS in Fedora rawhide/f44
Summary: python-avocado: FTBFS in Fedora rawhide/f44
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-avocado
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cleber Rosa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F44FTBFS
TreeView+ depends on / blocked
 
Reported: 2026-01-29 05:32 UTC by Fedora Release Engineering
Modified: 2026-04-07 21:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-04-07 21:00:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2026-01-29 05:32 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2026-01-29 05:32 UTC, Fedora Release Engineering
no flags Details
state.log (1.67 KB, text/plain)
2026-01-29 05:33 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2026-01-29 05:32:46 UTC
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/

Comment 1 Fedora Release Engineering 2026-01-29 05:32:53 UTC
Created attachment 2126600 [details]
build.log

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

Comment 2 Fedora Release Engineering 2026-01-29 05:32:58 UTC
Created attachment 2126601 [details]
root.log

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

Comment 3 Fedora Release Engineering 2026-01-29 05:33:01 UTC
Created attachment 2126602 [details]
state.log

Comment 4 Adam Williamson 2026-04-07 20:21:35 UTC
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.

Comment 5 Adam Williamson 2026-04-07 21:00:59 UTC
Found and backported an upstream fix for that. Build is done: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d92a583737


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