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
{{ message }}
Repository navigation
Commit d4cbe62
Browse filesBrowse the repository at this point in the historyBrowse files
A package not yet in the repository is linked as
<file>?redirect=<upstream URL>, and the link announced its PEP 658
metadata. pip asks for that metadata by appending ".metadata" to the
whole URL, so it lands in the redirect parameter and the path still names
the package. Once another client has fetched the package, the content app
finds it by that path and answers the metadata request with the package
itself, and pip fails its hash check. The pull-through handler's
workaround for pip's URL is never reached in that case, because the path
lookup comes first.
Pull-through links no longer announce metadata; installers then read it
from the package they download. Once the package is in the repository, its
local link announces the metadata again, and that link has no query string.
The metadata is still served through a pull-through link for clients
holding an older page.
fixes#1453
Stopped announcing PEP 658 metadata on pull-through links, whose ?redirect= query made pip ask for the metadata at the package's own path: once the package was cached, pip got the package in place of its metadata and failed its hash check.
0 commit comments