You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a fallback to pkg_resources.iter_entry_points is used in can/interfaces/__init__.py. However, the setuptools docs state:
Use of pkg_resources is discouraged in favor of importlib.resources, importlib.metadata, and their backports (resources, metadata). Please consider using those libraries instead of pkg_resources.
On Python 3.8+, importlib.metadata is part of the standard library, so there should be no need to keep pkg_resources.iter_entry_points around, right?
Currently, a fallback to
pkg_resources.iter_entry_points
is used incan/interfaces/__init__.py
. However, the setuptools docs state:On Python 3.8+,
importlib.metadata
is part of the standard library, so there should be no need to keeppkg_resources.iter_entry_points
around, right?The PR #1110 is related.
The text was updated successfully, but these errors were encountered: