Skip to content

Commit df712bb

Browse files
committed
fixup! Hash checking of cached wheels
1 parent 5cfdc18 commit df712bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pip/_internal/exceptions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
from pip._vendor.rich.text import Text
1717

1818
if TYPE_CHECKING:
19-
from typing import Literal
19+
from typing import Literal, Protocol
2020

2121
from pip._internal.metadata import BaseDistribution
2222
from pip._internal.req.req_install import InstallRequirement
23+
else:
24+
Protocol = object
2325

2426

2527
#

0 commit comments

Comments
 (0)