Bug 1716521

Summary: python-pymssql fails to build with Python 3.8
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-pymssqlAssignee: Mohamed El Morabity <pikachu.2014>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: pikachu.2014
Target Milestone: ---Flags: pikachu.2014: needinfo-
pikachu.2014: needinfo-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-pymssql/
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-09 10:00:29 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    

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

Comment 1 Miro Hrončok 2019-07-10 13:44:25 UTC
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s'
/usr/lib/python3.8/site-packages/setuptools/dist.py:45: DistDeprecationWarning: Do not call this function
  warnings.warn("Do not call this function", DistDeprecationWarning)
Traceback (most recent call last):
  File "setup.py", line 160, in <module>
    print("setup.py: platform.linux_distribution() => %r" % (platform.linux_distribution(),))
AttributeError: module 'platform' has no attribute 'linux_distribution'

Indeed, platform.linux_distribution has been deprecated since version 3.5, and was removed in version 3.8: See alternative like the distro package. https://pypi.org/project/distro

Comment 2 Miro Hrončok 2019-07-30 14:14:15 UTC
Mohamed, are you responsive?

Comment 3 Miro Hrončok 2019-07-30 15:41:15 UTC
Thanks.