Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Check if user-specified package name exists on PyPI already, and suggest an alternative one if it does #447

Open
webyneter opened this issue Jun 6, 2018 · 0 comments

Comments

@webyneter
Copy link

Given the user-specified project name matches the one used for PyPI deployments (which is the out-of-box setup, by the way) inadvertent name clashes are possible:

$ twine upload dist/*                                          
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: ...
Enter your password: 
Uploading ....whl
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10.7k/10.7k [00:01<00:00, 8.48kB/s]
HTTPError: 403 Client Error: The user '...' isn't allowed to upload to project '...'. See https://pypi.org/help/#project-name for more information. for url: https://upload.pypi.org/legacy/

Not sure if the proposal is relevant in terms of overall project roadmap though.

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

No branches or pull requests

1 participant