Bug 2142038 - python-hidapi fails to build with pytest 7.2 - missing dependency on python3-setuptools
Summary: python-hidapi fails to build with pytest 7.2 - missing dependency on python3-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-hidapi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonny Heggheim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2137514
TreeView+ depends on / blocked
 
Reported: 2022-11-11 13:02 UTC by Lumír Balhar
Modified: 2022-11-14 21:49 UTC (History)
2 users (show)

Fixed In Version: python-hidapi-0.12.0.post2-4.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-14 21:47:03 UTC
Type: Bug


Attachments (Terms of Use)

Description Lumír Balhar 2022-11-11 13:02: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 Jonny Heggheim 2022-11-14 21:47:03 UTC
Fixed in rawhide

Comment 2 Fedora Update System 2022-11-14 21:47:12 UTC
FEDORA-2022-1b8fa89e79 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1b8fa89e79

Comment 3 Fedora Update System 2022-11-14 21:49:38 UTC
FEDORA-2022-1b8fa89e79 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.