Bug 2319674

Summary: python-klusta fails to build with setuptools 74+
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-klustaAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, neuro-sig, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-klusta-3.0.16-32.fc42 python-klusta-3.0.16-33.fc41 python-klusta-3.0.16-33.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-17 12:34:48 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: 2300528, 2322407, 2319387    

Description Miro Hrončok 2024-10-18 10:11:19 UTC
Dear package maintainer,

this bugzilla is automated becasue the number of impacted packages it too high to go trough manually.

It appears that your package failed to build with setuptools 74.1.3 and wheel 0.44 in

  https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-74/package/python-klusta/

While it succeeded with setuptools 69.2.0 and wheel 0.43 in

  https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-control/package/python-klusta/

This usually means this package fails to build with setuptools 74+

We plan to update setuptools to version 74 or newer in Fedora 42. This is an approved Fedora 42 Change:

  https://fedoraproject.org/wiki/Changes/Setuptools_74+



Please analyze the failure and fix it in rawhide. Thanks.


You can use the builds from the churchyard/setuptools-74 copr for local testing.

  mock -r fedora-rawhide-x86_64 --addrepo 'https://download.copr.fedorainfracloud.org/results/churchyard/setuptools-74/fedora-rawhide-$basearch/'


One of the most common problems is that the setup.py test command cannot be used. If that is the case here, run the tests in %check differently, e.g. via %pytest, %tox, %{python3} -m unittest, etc.


If you need help, reach out to me in this bugzilla.

Comment 1 Miro Hrončok 2024-10-29 10:58:39 UTC
I plan to update setuptools to 74.x in rawhide this week.

At that point, this package will fail to build from source if not fixed.

Comment 2 Ankur Sinha (FranciscoD) 2024-10-29 11:18:18 UTC
Thanks, we'll fix the FTBFS once it's filed.

Comment 3 Miro Hrončok 2024-12-10 14:51:52 UTC
The failure is:

+ /usr/bin/python3 setup.py test
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'test'


You assigned this bugzilla ~1 month ago. Could you please replace the usage of python setup.py test with python -m unittest, etc.?

Comment 4 Ben Beasley 2024-12-11 16:29:50 UTC
Ankur, it looks straightforward to fix the issue and modernize the spec file. I would be happy to help out, but before I put any effort into it, I want to point out that upstream looks dead, with no activity since 2019 (https://github.com/kwikteam/klusta/commits/master/). What do you think – fix, or orphan/retire?

Comment 6 Fedora Update System 2024-12-17 12:32:34 UTC
FEDORA-2024-c1c0ee4ba3 (python-klusta-3.0.16-32.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c1c0ee4ba3

Comment 7 Fedora Update System 2024-12-17 12:34:48 UTC
FEDORA-2024-c1c0ee4ba3 (python-klusta-3.0.16-32.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2024-12-17 13:30:59 UTC
FEDORA-2024-6e8b79c36d (python-klusta-3.0.16-33.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e8b79c36d

Comment 9 Fedora Update System 2024-12-17 13:51:13 UTC
FEDORA-2024-7aa0870022 (python-klusta-3.0.16-33.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7aa0870022

Comment 10 Fedora Update System 2024-12-19 03:56:54 UTC
FEDORA-2024-6e8b79c36d 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-6e8b79c36d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e8b79c36d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2024-12-19 05:30:55 UTC
FEDORA-2024-7aa0870022 has been pushed to the Fedora 40 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-7aa0870022`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7aa0870022

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2024-12-27 01:21:17 UTC
FEDORA-2024-6e8b79c36d (python-klusta-3.0.16-33.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2024-12-27 01:24:56 UTC
FEDORA-2024-7aa0870022 (python-klusta-3.0.16-33.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.