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
AttributeError: 'PathDistribution' object has no attribute '_normalized_name' #396
When importlib_metadata introduced the name normalization in PathDistributions starting in v4.3, it introduced a subtle incompatibility in select environments.
In particular, if a provider uses an older importlib metadata (importlib_metadata < 4.3 or importlib.metadata on Python < 3.10), and in that provider they supply PathDistributions, calls to resolve entry points will fail when any distribution doesn't have a _normalized_name attribute.
This issue was reported in several issues including:
Activity
jaraco commentedon Oct 1, 2022
Fixed in #397 and scheduled for release in 4.13.0.
devel/py-setuptools: backport python/importlib_metadata@6bee315
devel/py-setuptools: backport python/importlib_metadata@6bee315
devel/py-setuptools: backport python/importlib_metadata@6bee315
devel/py-setuptools: backport python/importlib_metadata@6bee315
devel/py-setuptools: backport python/importlib_metadata@6bee315
devel/py-setuptools: backport python/importlib_metadata@6bee315
devel/py-setuptools: backport python/importlib_metadata@6bee315 and p…