We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6ef648 commit caafe6eCopy full SHA for caafe6e
src/pip/_internal/resolution/resolvelib/candidates.py
@@ -277,6 +277,8 @@ def __init__(
277
)
278
279
if cache_entry is not None:
280
+ assert ireq.link.is_wheel
281
+ assert ireq.link.is_file
282
if cache_entry.persistent and template.link is template.original_link:
283
ireq.is_wheel_from_cache = True
284
if cache_entry.origin is not None:
0 commit comments