1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Correctly canonicalize skipped package names

This commit is contained in:
Tzu-ping Chung 2021-07-13 15:35:05 +08:00
parent ead43d674d
commit c7774141d8

View file

@ -152,7 +152,7 @@ class ListCommand(IndexGroupCommand):
skip = set(stdlib_pkgs)
if options.excludes:
skip.update(options.excludes)
skip.update(canonicalize_name(n) for n in options.excludes)
packages: "_ProcessedDists" = [
cast("_DistWithLatestInfo", d)