Skip to content

🐛 fix(seed): time out PyPI metadata requests - #3595

Merged
gaborbernat merged 1 commit into
pypa:mainfrom
gaborbernat:fix/pypi-metadata-timeout
Nov 19, 2026
Merged

gaborbernat merged 1 commit into
pypa:mainfrom
gaborbernat:fix/pypi-metadata-timeout

Conversation

@gaborbernat

Copy link
Copy Markdown
Contributor

Seed wheel downloads and periodic updates could wait indefinitely if a PyPI metadata request stalled. The metadata lookup now uses the same 15-second socket timeout as seed index requests. Metadata lookup Seed index request

The timeout applies to each socket operation. If PyPI's verification digest stays unavailable after retries, virtualenv rejects the downloaded wheel. Requests for the bundled version fall back to the local copy. A request for a pinned version fails.

Fixes #3593. Report identifier ANT-2026-0TU90V3W.

@gaborbernat
gaborbernat enabled auto-merge (squash) November 19, 2026 22:26
@gaborbernat
gaborbernat merged commit 48aa9c9 into pypa:main Nov 19, 2026
82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PyPI metadata requests have no socket timeout

1 participant