[Debian-astro-maintainers] Bug#947109: sunpy: FTBFS with Python 3.8
Graham Inggs
ginggs at debian.org
Sat Dec 21 07:01:02 GMT 2019
Source: sunpy
Version: 1.0.3-2
Severity: serious
Tags: ftbfs patch
Hi Maintainer
A recent rebuild of sunpy with Python 3.8 failed [1].
I've copied what I hope is the relevant part of the log below.
A patch is available from Ubuntu [2].
Regards
Graham
[1] https://buildd.debian.org/status/package.php?p=sunpy
[2] https://launchpadlibrarian.net/448213313/sunpy_1.0.3-2_1.0.3-2ubuntu2.diff.gz
_________________________________ test_sysinfo _________________________________
def test_sysinfo():
output = sunpy.util.get_sys_dict()
assert isinstance(output, dict)
> sunpy.system_info()
sunpy/util/tests/test_sysinfo.py:7:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def system_info():
"""
Takes dictionary from sys_info() and prints the contents in an
attractive
fashion.
"""
sys_prop = get_sys_dict()
# title
print("==============================")
print("SunPy Installation Information")
print("==============================\n")
# general properties
print("#######")
print("General")
print("#######")
# OS and architecture information
for sys_info in ['Time', 'System', 'Processor', 'Arch', 'SunPy']:
print('{} : {}'.format(sys_info, sys_prop[sys_info]))
if sys_prop['System'] == "Linux":
> distro = " ".join(platform.linux_distribution())
E AttributeError: module 'platform' has no attribute
'linux_distribution'
sunpy/util/sysinfo.py:121: AttributeError
More information about the Debian-astro-maintainers
mailing list