You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With pypa/pip#11143, pip uses $CACHE/http-v2 instead of $CACHE/http. This new directory uses a separated body format, rather than collecting the cached responses into a single serialized file each (both header and body).
As a result, pip-audit is currently only pulling from the older http cache, which will slowly go away in user installs over time. We should switch _cache.py to mimic and reuse the new http-v2 cache.
With pypa/pip#11143,
pip
uses$CACHE/http-v2
instead of$CACHE/http
. This new directory uses a separated body format, rather than collecting the cached responses into a single serialized file each (both header and body).As a result,
pip-audit
is currently only pulling from the olderhttp
cache, which will slowly go away in user installs over time. We should switch_cache.py
to mimic and reuse the newhttp-v2
cache.More context: here is the current
SafeFileCache
implementation withinpip
: https://github.com/pypa/pip/blob/34e70ba5964824ac8c52773c76c658923ee36194/src/pip/_internal/network/cache.py#L32The text was updated successfully, but these errors were encountered: