Closed
Description
Currently if you use --require-hashes
, pip will ignore the wheel cache because it doesn't know that the wheel was built from an sdist with that hash.
pip should record the hash of the sdist used to build wheels in the wheel cache, and then check that and use the wheel if it matches the pinned hash.