We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3914e4 commit a22bcbfCopy full SHA for a22bcbf
src/pip/_internal/metadata/importlib/_envs.py
@@ -68,6 +68,8 @@ def _find_impl(self, location: str) -> Iterator[FoundResult]:
68
info_location = get_info_location(dist)
69
try:
70
name = get_dist_canonical_name(dist)
71
+ distribution = Distribution(dist, info_location, None)
72
+ version = distribution.version
73
except BadMetadata as e:
74
logger.warning("Skipping %s due to %s", info_location, e.reason)
75
continue
0 commit comments