Bug 2142040

Summary: python-poetry-core fails to build with pytest 7.2 - missing dependency on python3-setuptools
Product: [Fedora] Fedora Reporter: Lumír Balhar <lbalhar>
Component: python-poetry-coreAssignee: Tomáš Hrnčiar <thrnciar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, python-packagers-sig, thrnciar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-22 13:05:38 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: 2137514    

Description Lumír Balhar 2022-11-11 13:02:55 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 Miro Hrončok 2022-11-11 13:15:40 UTC
Upstream PR: https://github.com/python-poetry/poetry-core/pull/519

(Needs to be BuildRequired downstream anyway.)

Comment 2 Lumír Balhar 2022-11-16 07:19:03 UTC
Downstream PR https://src.fedoraproject.org/rpms/python-poetry-core/pull-request/16