Bug 1716485
Summary: | pystatgrab fails to build with Python 3.8 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||
Component: | pystatgrab | Assignee: | Tim Orling <TicoTimo> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | abdel.g.martinez.l, debarshir, helio, madko, mail, sven, TicoTimo | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/pystatgrab/ | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-06-05 07:43:30 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: | 1686977 | ||||||
Attachments: |
|
Description
Miro Hrončok
2019-06-03 14:37:20 UTC
Created attachment 1577380 [details]
0001-Fix-build-for-python-3.8.patch
The issue is with how __pycache__ is handled in python 3.8. I have attached a patch which built cleanly in mock.
Actually, rawhide is also FTBFS and requires the same fix, so I have pushed the change to master. I don't particularly like this fix, as what you did is discouraged in the guidelines, but it works. Thanks. https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_files_to_include |