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 1705262

Summary: distgen FTBFS on Python 3.8
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: distgenAssignee: Slavek Kabrda <slavek.kabrda>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: praiskup, slavek.kabrda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-01 23:35:56 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: 1686977    
Attachments:
Description Flags
Full log from Copr none

Description Miro Hrončok 2019-05-01 20:26:59 UTC
Created attachment 1561126 [details]
Full log from Copr

distgen 1.3-2.fc31 FTBFS on Python 3.8 with:

AttributeError: <module 'platform' from '/usr/lib64/python3.8/platform.py'> does not have the attribute 'dist'

Full log attached.

platform.dist has been deprecated since Python 3.5 and was removed from Python 3.8.

https://docs.python.org/3.7/library/platform.html#platform.dist

Comment 1 Pavel Raiskup 2019-05-01 23:35:56 UTC
Fixed by 8a77972f9398afff6011c497529d923e6b6c4a6c

Comment 2 Miro Hrončok 2019-05-02 00:15:08 UTC
Thanks for the swift fix.