summaryrefslogtreecommitdiff
path: root/src/pip/_internal/resolution/resolvelib/candidates.py
diff options
context:
space:
mode:
authorStéphane Bidoul <stephane.bidoul@gmail.com>2023-04-10 14:32:55 +0200
committerStéphane Bidoul <stephane.bidoul@gmail.com>2023-04-14 08:03:48 +0200
commita6ef6485be9512f18121298b058797c578f65d45 (patch)
tree306ca39025bc4c4b90c625f8bc9fe2f210df69b6 /src/pip/_internal/resolution/resolvelib/candidates.py
parentff8c8e38887880ad81ffd7cfc6a8373213c087b7 (diff)
downloadpip-a6ef6485be9512f18121298b058797c578f65d45.tar.gz
Rename original_link_is_in_wheel_cache to is_wheel_from_cache
This more accurately reflects that it is not necessarily related to original_link, original_link being the direct URL link, and the wheel cache can also be populated from sdists URL discovered by the finder.
Diffstat (limited to 'src/pip/_internal/resolution/resolvelib/candidates.py')
-rw-r--r--src/pip/_internal/resolution/resolvelib/candidates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pip/_internal/resolution/resolvelib/candidates.py b/src/pip/_internal/resolution/resolvelib/candidates.py
index 109fbdaf6..3429f01e1 100644
--- a/src/pip/_internal/resolution/resolvelib/candidates.py
+++ b/src/pip/_internal/resolution/resolvelib/candidates.py
@@ -278,7 +278,7 @@ class LinkCandidate(_InstallRequirementBackedCandidate):
if cache_entry is not None:
if cache_entry.persistent and template.link is template.original_link:
- ireq.original_link_is_in_wheel_cache = True
+ ireq.is_wheel_from_cache = True
if cache_entry.origin is not None:
ireq.download_info = cache_entry.origin
else: