Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1716485 - pystatgrab fails to build with Python 3.8
Summary: pystatgrab fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pystatgrab
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Tim Orling
QA Contact: Fedora Extras Quality Assurance
URL: https://copr.fedorainfracloud.org/cop...
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-06-03 14:37 UTC by Miro Hrončok
Modified: 2019-06-05 07:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-05 07:43:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
0001-Fix-build-for-python-3.8.patch (1.00 KB, patch)
2019-06-05 01:28 UTC, Tim Orling
no flags Details | Diff

Description Miro Hrončok 2019-06-03 14:37:20 UTC
See https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/pystatgrab/ for actual logs. This report is automated and not very verbose, but feel free to ping me for help.

Comment 1 Tim Orling 2019-06-05 01:28:01 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.

Comment 2 Tim Orling 2019-06-05 01:48:38 UTC
Actually, rawhide is also FTBFS and requires the same fix, so I have pushed the change to master.

Comment 3 Miro Hrončok 2019-06-05 07:43:30 UTC
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


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