diff options
author | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2023-03-25 14:18:44 +0100 |
---|---|---|
committer | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2023-04-14 08:03:48 +0200 |
commit | 40cd79d6e54d53bccfcad0b855cd87116de896b9 (patch) | |
tree | 585aabdf24e238a91bbc295aea1f977dd00ecabf /src/pip/_internal/resolution/resolvelib/factory.py | |
parent | 8e2205d8495474df088d773b4658aa4a40aefcac (diff) | |
download | pip-40cd79d6e54d53bccfcad0b855cd87116de896b9.tar.gz |
Check hashes of cached built wheels agains origin source archive
Diffstat (limited to 'src/pip/_internal/resolution/resolvelib/factory.py')
-rw-r--r-- | src/pip/_internal/resolution/resolvelib/factory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pip/_internal/resolution/resolvelib/factory.py b/src/pip/_internal/resolution/resolvelib/factory.py index 0ad4641b1..0331297b8 100644 --- a/src/pip/_internal/resolution/resolvelib/factory.py +++ b/src/pip/_internal/resolution/resolvelib/factory.py @@ -535,7 +535,7 @@ class Factory: hash mismatches. Furthermore, cached wheels at present have nondeterministic contents due to file modification times. """ - if self._wheel_cache is None or self.preparer.require_hashes: + if self._wheel_cache is None: return None return self._wheel_cache.get_cache_entry( link=link, |