Bug 2434951
| Summary: | python-avocado: FTBFS in Fedora rawhide/f44 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
| Component: | python-avocado | Assignee: | Cleber Rosa <crosa> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | rawhide | CC: | awilliam, crosa | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | --- | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2026-04-07 21:00:59 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 2384424 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fedora Release Engineering
2026-01-29 05:32:46 UTC
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 |