Skip to content
This repository was archived by the owner on May 30, 2020. It is now read-only.
This repository was archived by the owner on May 30, 2020. It is now read-only.

Should be able to retry failed file uploads #306

Closed
@ewdurbin

Description

@ewdurbin

Originally reported by: Toby Roseman (Bitbucket: tobyroseman, GitHub: tobyroseman)


Here is the sequence of events:

  • I tried to upload a wheel to PyPI using twine
  • The upload failed. I got the following error: "HTTPError: 503 Server Error: backend read error"
  • I tried it again. I got the following error: "HTTPError: 400 Client Error: A file named "GraphLab_Create-1.5-cp27-none-macosx_10_5_x86_64.macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl" already exists for GraphLab-Create-1.5. To fix problems with that file you should create a new release."
  • At this point I decided to delete the release from PyPI
  • After trying to upload again, I get the following error: HTTPError: 400 Client Error: This filename has previously been used, you should use a different version.

I think there are two problem here:
#1 - If an upload fails because of a server error, you should be able to try it again.
#2 - If you delete a release, you should be able to create it again.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions