The upstream has replaced html5lib with html5rdf, so the error disappeared.
I already summited another patch to update the python3-rdflib to 7.1.1
  --
Best Regards
---------------------------------------------------
Wang Mingyu
FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)
No.6 Wenzhu Road, Nanjing, 210012, China
TEL:+86+25-86630566--8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]

> -----Original Message-----
> From: Mathieu Dubois-Briand <[email protected]>
> Sent: Tuesday, October 29, 2024 5:41 PM
> To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> Cc: [email protected]
> Subject: Re: [OE-core] [PATCH 18/22] python3-rdflib: upgrade 7.0.0 -> 7.1.0
> 
> On Fri, Oct 25, 2024 at 01:39:25PM +0800, wangmy via
> lists.openembedded.org wrote:
> > From: Wang Mingyu <[email protected]>
> >
> > License-Update: Copyright year updated to 2024.
> >
> > Changelog:
> >
> >
> https://github.com/RDFLib/rdflib/blob/main/CHANGELOG.md#2024-10-17-rel
> > ease-710
> >
> > Signed-off-by: Wang Mingyu <[email protected]>
> 
> Hi,
> 
> It seems one of these python commit is triggering a build issue in the
> oe-selftest autobuilders:
> 
> 2024-10-29 07:12:37,279 - oe-selftest - INFO -
> spdx.SPDX22Check.test_spdx_base_files (subunit.RemotedTestCase)
> 2024-10-29 07:12:37,279 - oe-selftest - INFO -  ... FAIL
> 2024-10-29 07:12:37,280 - oe-selftest - INFO - 9: 14/16 170/611 (36.87s) (0
> failed) (spdx.SPDX22Check.test_spdx_base_files)
> 2024-10-29 07:12:37,280 - oe-selftest - INFO -
> testtools.testresult.real._StringException: Traceback (most recent call last):
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest
> /cases/spdx.py", line 67, in test_spdx_base_files
>     self.check_recipe_spdx("packages", "base-files.spdx.json", "base-files")
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest
> /cases/spdx.py", line 64, in check_recipe_spdx
>     result = check_spdx_json(full_file_path)
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest
> /cases/spdx.py", line 61, in check_spdx_json
>     result = runCmd("{} {} -i {}".format(python, validator, filename))
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/co
> mmands.py", line 212, in runCmd
>     raise AssertionError("Command '%s' returned non-zero exit
> status %d:\n%s" % (command, result.status, exc_output))
> AssertionError: Command
> '/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> bin/nativepython3
> /srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/w
> ork/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/bi
> n/pyspdxtools -i
> /srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/d
> eploy/spdx/2.2/qemux86_64/packages/base-files.spdx.json' returned non-zero
> exit status 1:
> Traceback (most recent call last):
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> bin/pyspdxtools", line 5, in <module>
>     from spdx_tools.spdx.clitools.pyspdxtools import main
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> lib/python3.13/site-packages/spdx_tools/spdx/clitools/pyspdxtools.py", line
> 28, in <module>
>     from spdx_tools.spdx.parser.parse_anything import parse_file
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> lib/python3.13/site-packages/spdx_tools/spdx/parser/parse_anything.py", line
> 16, in <module>
>     from spdx_tools.spdx.parser.rdf import rdf_parser
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> lib/python3.13/site-packages/spdx_tools/spdx/parser/rdf/rdf_parser.py", line 
> 5,
> in <module>
>     from rdflib import RDF, Graph
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> lib/python3.13/site-packages/rdflib/__init__.py", line 168, in <module>
>     from rdflib.graph import ConjunctiveGraph, Dataset, Graph
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> lib/python3.13/site-packages/rdflib/graph.py", line 283, in <module>
>     import rdflib.namespace as namespace  # noqa: F401 # This is here
> because it is used in a docstring.
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> lib/python3.13/site-packages/rdflib/namespace/__init__.py", line 83, in
> <module>
>     from rdflib.term import URIRef, Variable, _is_valid_uri
>   File
> "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-312849/tmp/
> work/x86_64-linux/python3-spdx-tools-native/0.8.3/recipe-sysroot-native/usr/
> lib/python3.13/site-packages/rdflib/term.py", line 68, in <module>
>     import html5lib
> ModuleNotFoundError: No module named 'html5lib'
> 
> https://valkyrie.yoctoproject.org/#/builders/54/builds/315/steps/14/logs/stdi
> o
> https://valkyrie.yoctoproject.org/#/builders/76/builds/326/steps/14/logs/stdi
> o
> 
> Can you have a look at this issue please ?
> 
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206571): 
https://lists.openembedded.org/g/openembedded-core/message/206571
Mute This Topic: https://lists.openembedded.org/mt/109203601/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to