Regression discovered for focal-proposed due to type annotations not being parsed on python 3.8. this resulted in tracebacks from python when importing cloud-init's apport/general-hooks module:
......ERROR: hook /usr/share/apport/general-hooks/cloud-init.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 226, in _run_hook
exec(compile(fd.read(), hook, 'exec'), symb)
File "/usr/share/apport/general-hooks/cloud-init.py", line 7, in <module>
def _get_azure_data(ds_data) -> dict[str, str]:
TypeError: 'type' object is not subscriptable
Regression discovered for focal-proposed due to type annotations not being parsed on python 3.8. this resulted in tracebacks from python when importing cloud-init's apport/ general- hooks module:
......ERROR: hook /usr/share/ apport/ general- hooks/cloud- init.py crashed: python3/ dist-packages/ apport/ report. py", line 226, in _run_hook compile( fd.read( ), hook, 'exec'), symb) apport/ general- hooks/cloud- init.py" , line 7, in <module> data(ds_ data) -> dict[str, str]:
Traceback (most recent call last):
File "/usr/lib/
exec(
File "/usr/share/
def _get_azure_
TypeError: 'type' object is not subscriptable