Skip to content

Update entry_points to new select-based API - [closed] #1004

@asottile

Description

@asottile

In GitLab by @jaraco on Mar 1, 2021, 11:29

Merges feature/importlib-metadata-entrypoints-select -> master

In python/importlib_metadata#278, the importlib_metadata project implemented a new, simpler API for selecting and iterating on EntryPoints. This proposal adopts that change in flake8, illustrating the preferred usage and limiting the potential for deprecation warnings in the future.

These changes have been adopted in keyring and twine.

The proposal includes two commits. The latter removing the 'compat' shim is optional. Omit that commit if you wish to keep the compatibility shim for a future in which Python 3.10+ includes this behavior (actual version not yet determined).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions