Bug 2142041

Summary: python-bitstring fails to build with pytest 7.2 - missing dependency on python3-setuptools
Product: [Fedora] Fedora Reporter: Lumír Balhar <lbalhar>
Component: python-bitstringAssignee: Scott K Logan <logans>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: logans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-bitstring-3.1.9-6.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-26 18:12:09 UTC Type: Bug
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: 2117176, 2137514    

Description Lumír Balhar 2022-11-11 13:03:02 UTC
I'm testing an update to pytest 7.2.0 and I've discovered a problem with this package.

This package needs python3-setuptools to build but this dependency is not specified as a BuildRequires in its specfile.

This fact didn't cause any trouble before because python3-pytest <7.2 depends on python3-setuptools so setuptools have been installed as a transitive dependency. pytest uses a different build backend now which means that when we update it to the latest version, this package will fail to build.

The plan is to update pytest in ~2 weeks.

If you want to, you can find the failed build in https://copr.fedorainfracloud.org/coprs/lbalhar/pytest/

Comment 1 Scott K Logan 2022-11-23 01:23:34 UTC
I'm planning to address this when I update the package version in the next week or so.

Comment 2 Lumír Balhar 2022-11-23 12:20:40 UTC
Our plan is to ship the updated pytest during the next week. If you need any assistance from us, feel free to say so.

Comment 3 Fedora Update System 2023-01-26 18:10:18 UTC
FEDORA-2023-559f9709d7 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-559f9709d7

Comment 4 Fedora Update System 2023-01-26 18:12:09 UTC
FEDORA-2023-559f9709d7 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.