Skip to content

meta-python: bs4 & soupsieve circular dependency #622

@niziak

Description

@niziak

Hi,
after upgrade to Kirkstone my project stops building with error:

ERROR: Task virtual:native:/...l/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.11.1.bb:do_populate_sysroot has circular dependency on virtual:native:/.../meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.3.1.bb:do_populate_sysroot
ERROR: Command execution failed: 1

I have one recipe where I build additional python libraries and part of my .bb file looks like:

inherit python3native
DEPENDS += "python3-lxml-native python3-markdown-native python3-beautifulsoup4-native python3-soupsieve-native"

I found that:

Beautiful Soup is a Python library for pulling data out of HTML and XML files.

And:

As of version 4.7.0, Beautiful Soup supports most CSS4 selectors via the SoupSieve project. If you installed Beautiful Soup through pip, SoupSieve was installed at the same time, so you don’t have to do anything extra.

And:

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4.

So as I understand:

  • bs4 is separate library and shouldn't depend on SoupSieve
  • SoupSieve is a "additiona feature" which extends bs4, so it should have defined dependency to python3-beautifulsoup4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions