Bug 2034357

Summary: pyp2rpm: FTBFS in Fedora Rawhide: error in simpleeval setup command: use_2to3 is invalid
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: pyp2rpmAssignee: Gordon Messmer <gordon.messmer>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: gordon.messmer, kevin, m.cyprian, python-sig, rkuska, slavek.kabrda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/pyp2rpm
Whiteboard:
Fixed In Version: 3.3.8-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-22 16:25:30 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: 1992484, 2016048, 2016051, 2045102    

Description Miro Hrončok 2021-12-20 18:51:06 UTC
Description of problem:
Package pyp2rpm fails to build from source in Fedora Rawhide with errors like:

ERROR    pyp2rpm.module_runners:module_runners.py:69 Subprocess failed, stdout: , stderr: error in simpleeval setup command: use_2to3 is invalid.

This is due to a recent change in setuptools:

https://fedoraproject.org/wiki/Changes/Setuptools_58%2B


Version-Release number of selected component (if applicable):
3.3.7-2.fc35

Steps to Reproduce:
fedpkg mockbuild

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/pyp2rpm

Comment 1 Gordon Messmer 2021-12-22 02:50:24 UTC
This should be resolve upstream when https://github.com/fedora-python/pyp2rpm/pull/277 is merged.

Comment 2 Ben Cotton 2022-02-08 21:19:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.