moreati / python-tai64

TAI64, TAI64N, TAI64NA implementations for Python.
MIT License
1 stars 0 forks source link

Project name not accepted by PyPI #4

Open moreati opened 2 months ago

moreati commented 2 months ago

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.
moreati commented 2 months ago

Candidate names