Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project name not accepted by PyPI #4

Open
moreati opened this issue May 2, 2024 · 1 comment
Open

Project name not accepted by PyPI #4

moreati opened this issue May 2, 2024 · 1 comment

Comments

@moreati
Copy link
Owner

moreati commented May 2, 2024

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
Copy link
Owner Author

moreati commented May 13, 2024

Candidate names

  • tai64-py
  • tai-sixty-four

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant