-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
What's the problem this feature will solve?
Right now, uploading to Warehouse is synchronous. This is a pain when we want to implement upload gating like #5420 or other checks, and cramps our style regarding TUF (@ewdurbin can go into that further).
Describe the solution you'd like
We would change the Warehouse API (or add a new version) to make uploads asynchronous.
Additional context
From IRC today:
@dstufft: the hardest part about that issue is iguring out how we deal with the existing uploaders
dstufft: because we'd want some mechanism where twine could get an identifier back, and then poll for completion (and any errors / warnings)
dstufft: and I'm not sure we could just YOLO change the existing API to do that
dstufft: so it'd probably be some thing where we stand up a second API with the new semantics, then deprecate the old one and start pushing people to it
dstufft: etc etc