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:
parent
ead43d674d
commit
c7774141d8
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue