warehouse.forklift.legacy._is_valid_dist_file()
https://github.com/pypa/warehouse/blob/master/warehouse/forklift/legacy.py#L603

https://github.com/pypa/warehouse/blob/master/docs/api-reference/legacy.rst#upload-api
:

> The API endpoint served at upload.pypi.org/legacy/ is Warehouse’s
emulation of the legacy PyPI upload API. This is the endpoint that tools
such as twine use to upload distributions to PyPI.

https://warehouse.pypa.io/api-reference/legacy/#upload-api

^^ this page is not in the top-level warehouse TOC

https://warehouse.pypa.io/application/#file-and-directory-structure





On Fri, Aug 7, 2020, 12:34 PM Dustin Ingram <d...@python.org> wrote:

> The latter.
>
> On Fri, Aug 7, 2020 at 4:37 AM Robin Becker <ro...@reportlab.com> wrote:
>
>> Because of covid-19 I am working a lot from home so my network is likely
>> less robust.
>>
>> I was wondering about what happens if I upload with twine to pypi and
>> halfway through my network fails.
>>
>> Is the uploaded filename remembered so I cannot retry when my network
>> comes back?
>>
>> Or is the upload somehow atomic so that it has to complete(be checked)
>> before the file is entered into pypi?
>> --
>> Robin Becker
>> --
>> Distutils-SIG mailing list -- distutils-sig@python.org
>> To unsubscribe send an email to distutils-sig-le...@python.org
>> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
>> Message archived at
>> https://mail.python.org/archives/list/distutils-sig@python.org/message/SWHFPMYFVRLGXYRPOCTBQS7FKCUX3MUB/
>>
> --
> Distutils-SIG mailing list -- distutils-sig@python.org
> To unsubscribe send an email to distutils-sig-le...@python.org
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/archives/list/distutils-sig@python.org/message/T2ZIWXYADJKOX2D3OVR4EJMT6ENC5E2Y/
>
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/FTOAM5POWBMI6GDVTOK5WZCENEREYWQ6/

Reply via email to