Skip to content

Project name not accepted by PyPI #4

@moreati

Description

@moreati

A project with the name tai64 cannot be uploaded to PyPI

➜  taime git:(main) ✗ ~/.local/bin/twine upload dist/*          
Uploading distributions to https://upload.pypi.org/legacy/
Uploading tai64-0.0.1-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.3/12.3 kB • 00:00 • ?
WARNING  Error during upload. Retry with the --verbose option for more details.                                                         
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/                                                                
         The name 'tai64' isn't allowed. See https://pypi.org/help/#project-name for more information.                                  

Comparing the error text with source code https://github.com/pypi/warehouse/blob/7c93a28780ea728ac07b51d03a1c6b7db45899d9/warehouse/packaging/services.py#L492-L510 I think "tai64" is explicitly mentioned in a table called prohibited_project_names. Best guess, a spammy or other malicious package was previously uploaded with the same name.

Options

  1. Rename the project in pyproject.toml.
  2. Request a manual intervention, if such a thing is allowed.

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