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
{{ message }}
Repository navigation
Replace setuptools/pkg_resources with importlib(.|_)metadata #384
Warnings about pkg_resources are getting increasingly loud downstream (e.g. in tests). It's likely time to consider moving to the stdlib importlib.resources, or the backport on not-broken-by-default systems, and removing the setuptools runtime dependency.
# pylsp/config/config.py# ...# See compatibility note on `group` keyword in https://docs.python.org/3/library/importlib.metadata.html#entry-pointsifsys.version_info< (3, 10): # pragma: no coverfromimportlib_metadataimportentry_pointselse: # pragma: no coverfromimportlib.metadataimportentry_points# ...# - for entry_point in pkg_resources.iter_entry_points(PYLSP):forentry_pointinentry_points(group=PYLSP):
Activity
ccordoba12 commentedon May 22, 2023
Looks good to me @bollwyvl. Please go ahead with a PR for it.
bollwyvl commentedon May 22, 2023
#385 is up 🚀 ... sheepishly haven't tested locally 😊