-
Notifications
You must be signed in to change notification settings - Fork 985
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
Trusted Publisher error message is confusing when project exists but user doesn't have ownership #17392
Comments
Aslo, attaching the log from the publishing job just in case:
|
Hi @unrealsolver ! Maybe the project already exists on PyPI. The reason why the project page doesn't lead to anywhere might be because the owner of that project deleted all releases for it. For example, see this project which I own and deleted all releases of: The project page also looks like the project doesn't exist: https://test.pypi.org/project/empty-test-package-99/, The link in the error message doesn't show you anything because it will only work if you're logged-in as the owner of the project, since it leads to the publishing settings for it. |
Indeed, this project already exists and has no releases. @unrealsolver, a request to acquire the package name here should be straightforward if you would like to. In the meantime, I think we can improve the error message to differentiate whether the user is actually able to create a publisher for the project or whether they are unable. I'll update the issue title accordingly. |
I'm working on this now |
PR open here: #17405 |
Thank you very much @di , @facutuesca for helping! I'll create a request and will try to claim the name. The issue could be closed (unless you want to keep it open before merging #17405) |
We can keep it open until the error message is improved, thanks! |
Describe the bug
At 'Publishing', PyPI tells that "This project already exists: use the project's publishing settings here to create a Trusted Publisher for it." However, it can not find any projects by following that link.
Expected behavior
Publishing a new (non-existent) project should not raise an error that project already exists
To Reproduce
Actual steps to reproduce are unknown, however I did following:
pyxlmapper
unrealsolver
pyxlmapper
python-pypi.yml
pypi
Add
buttonMy Platform
Additional context
TestPyPI is working very well: https://test.pypi.org/project/pyxlmapper/
The text was updated successfully, but these errors were encountered: