DEBUG: Executing shell function do_compile
TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/sources/html5lib-1.1/setup.py:9: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
from pkg_resources import parse_version
TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/sources/html5lib-1.1/setup.py:80: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
with codecs.open(join(here, 'README.rst'), 'r', 'utf8') as readme_file:
TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/sources/html5lib-1.1/setup.py:81: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
with codecs.open(join(here, 'CHANGES.rst'), 'r', 'utf8') as changes_file:
Traceback (most recent call last):
File "TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/sources/html5lib-1.1/setup.py", line 93, in <module>
isinstance(a.value, ast.Str)):
^^^^^^^
AttributeError: module 'ast' has no attribute 'Str'
WARNING: TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/temp/run.do_compile.3148716:171 exit 1 from 'nativepython3 setup.py --verbose build -j 10 bdist_wheel --dist-dir TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/dist'
WARNING: Backtrace (BB generated script):
#1: setuptools3_do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/temp/run.do_compile.3148716, line 171
#2: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/temp/run.do_compile.3148716, line 153
#3: main, TMPDIR/work/riscv64imafdc-yoe-linux/python3-html5lib/1.1/temp/run.do_compile.3148716, line 178