Skip to content

Possible breakage against beartype? #871

Description

@LecrisUT

We recently got an issue reported on scikit-build-core that our editable install Finder is breaking tools like beartype that add sys.path_hooks 1. The issue on our side seems to be that we should be running find_spec before trying to create our own spec 2. Fwict mesonpy would have the same issue

def find_spec(fullname: str, tree: Node) -> Optional[importlib.machinery.ModuleSpec]:

Have you had similar issues reported? Or if it is not a problem for you, any guidance on what black magic is done here?

Footnotes

  1. https://github.com/beartype/beartype/issues/556

  2. https://github.com/scikit-build/scikit-build-core/pull/1493

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