Closed jaraco closed 1 year ago
I wonder if this adds the metadata directories into the output of packages_distributions() as import names. After this was merged, I'm seeing entries like these returned from packages_distributions():
packages_distributions()
'black-23.1.0.dist-info': ['black'], 'filelock-3.10.0.dist-info': ['filelock'], 'iniconfig-2.0.0.dist-info': ['iniconfig'], 'more_itertools-9.1.0.dist-info': ['more-itertools'], 'typing_extensions-4.5.0.dist-info': ['typing_extensions'],
IMHO, these should never occur here, as they are not importable modules.
_Originally posted by @jherland in https://github.com/python/importlib_metadata/issues/432#issuecomment-1475088318_
I wonder if this adds the metadata directories into the output of
packages_distributions()
as import names. After this was merged, I'm seeing entries like these returned frompackages_distributions()
:IMHO, these should never occur here, as they are not importable modules.
_Originally posted by @jherland in https://github.com/python/importlib_metadata/issues/432#issuecomment-1475088318_