Bug 2255345

Summary: python-can: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-canAssignee: Peter Robinson <pbrobinson>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-10 23:40: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: 2231791, 2244836    

Description Karolina Surma 2023-12-20 09:11:54 UTC
Description of problem:
Package python-can fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
4.3.1-1.fc40

Steps to Reproduce:
koji build --scratch f40 python-can-4.3.1-1.fc40.src.rpm

Additional info:

+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
/usr/bin/python3: can't open file '/builddir/build/BUILD/python-can-4.3.1/setup.py': [Errno 2] No such file or directory

It looks like upstream moved from setup.py-based project to pyproject.toml-based project. The old macros can't handle that, the package needs to migrate to pyproject-rpm-macros.

Reproducible: Always