enthought / enthought/pyface

Remove "importlib_metadata" compatibility layer

Open
#999 1 comment 0 reactions 0 assignees View on GitHub
type: cleanup
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

At the moment, the codebase relies on the external package `importlib_metadata` but starting Python 3.10, we will be able to rely on `importlib.metadata` in the standard library. When we can drop support for Python < 3.10, we can remove the compatibility layer which tries to import the external `importlib_metadata` and falls back to standard library `importlib.metadata` if it doesn't exist.

Additionally, compatibility code around the presence of the `select` interface on entry point objects can also be removed when we drop support for Python < 3.10.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.