Bug 1716521 - python-pymssql fails to build with Python 3.8
Summary: python-pymssql fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pymssql
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Mohamed El Morabity
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:40 UTC by Miro Hrončok
Modified: 2019-08-09 10:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-09 10:00:29 UTC
Type: ---
Embargoed:
pikachu.2014: needinfo-
pikachu.2014: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pymssql pymssql issues 586 0 None None None 2019-07-30 15:38:14 UTC

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.


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