We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1789cf commit 1e4aa42Copy full SHA for 1e4aa42
piptools/repositories/pypi.py
@@ -389,9 +389,10 @@ def _get_matching_candidates(
389
return candidates_by_version[matching_versions[0]]
390
391
def _get_file_hash(self, link: Link) -> str:
392
- log.debug(f"Hashing {link.show_url}")
393
if link.hash_name == FAVORITE_HASH:
+ log.debug(f"Getting hash from link {link.show_url}")
394
return ":".join([FAVORITE_HASH, link.hash])
395
+ log.debug(f"Hashing {link.show_url}")
396
h = hashlib.new(FAVORITE_HASH)
397
with open_local_or_remote_file(link, self.session) as f:
398
# Chunks to iterate
0 commit comments