Skip to content

PyPI upload filename has to match project name #230

@rsnyman

Description

@rsnyman

I encountered this while attempting to release 1.0.1/1.0.2. Currently, if you build a package and upload it to PyPI via twine, you get the following error:

HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/        
         Start filename for 'widgetastic.core' with 'widgetastic.core'.

Digging into the warehouse code, I discovered that the legacy upload requires the filename to match the project name.

In order to upload the release, I had to build it on my local machine, rename the files, and then upload them. We need to figure out how to get around this issue. I'm not sure why we didn't run into it before.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions