Skip to content

TestInvalidEntryPoint failing following release of importlib_metadata 8.7 #4961

@jaraco

Description

@jaraco

In python/importlib_metadata#518, importlib_metadata started adding some validation for invalid entry points. Now they're no longer allowed to be constructed and will raise a ValueError if invalid input is presented.

This new behavior clashes with Setuptools' own expectation that the entry points will fail lazily when relevant attributes are accessed and what exception is thrown.

This change seems to have blocked the Setuptools 80 release because somehow importlib_metadata is getting used at head, presumably because some other package is pulling it in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions