Bug 2097105
| Summary: | python-libdiscid fails to build with the latest setuptools version | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> |
| Component: | python-libdiscid | Assignee: | Ali Erdinc Koroglu <ali.erdinc.koroglu> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ali.erdinc.koroglu |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-libdiscid-2.0.1-3.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-27 21:03:42 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: | 2064842 | ||
|
Description
Charalampos Stratakis
2022-06-14 21:51:43 UTC
The problem is due to this sed [0] for fixing sys.path, which is hardcoded, however setuptools changed it to a different scheme as of version 62.1 [1]. I've created a PR, redeeming that and overhauling the SPEC to utilize the pyproject-rpm-macros: https://src.fedoraproject.org/rpms/python-libdiscid/pull-request/2 [0] https://src.fedoraproject.org/rpms/python-libdiscid/blob/rawhide/f/python-libdiscid.spec#_37 [1] https://github.com/pypa/setuptools/pull/3258/commits/1c23f5e1e4b18b50081cbabb2dea22bf345f5894 FEDORA-2022-3d30c5853f has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3d30c5853f FEDORA-2022-3d30c5853f has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. |