Bug 2319723

Summary: python-ssdeep fails to build with setuptools 74+
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-ssdeepAssignee: Artur Frenszek-Iwicki <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ssdeep-3.4-21.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-30 07:36:21 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:14:33 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-ssdeep/

While it succeeded with setuptools 69.2.0 and wheel 0.43 in

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

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 Artur Frenszek-Iwicki 2024-10-29 15:33:09 UTC
I have the fix ready, I will push it once the setuptools update lands in Rawhide.

Comment 3 Miro Hrončok 2024-10-29 15:54:07 UTC
Thanks. If the fix is compatible with the current version of setuptools, you can push it right away.

Comment 4 Artur Frenszek-Iwicki 2024-11-09 08:52:40 UTC
Pushed to dist-git. Should I rebuild the package?

Comment 5 Miro Hrončok 2024-11-09 12:31:58 UTC
If you want https://koschei.fedoraproject.org/package/python-ssdeep to be green, please do.

Comment 6 Fedora Update System 2024-11-30 07:33:19 UTC
FEDORA-2024-63dfbb9a62 (python-ssdeep-3.4-21.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-63dfbb9a62

Comment 7 Fedora Update System 2024-11-30 07:36:21 UTC
FEDORA-2024-63dfbb9a62 (python-ssdeep-3.4-21.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.