-
Notifications
You must be signed in to change notification settings - Fork 963
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 publishing: pending publisher should warn about ultranormalized name collision #16226
Comments
Thanks for the report @twm! I agree this should be a form error, like the second screenshot you posted. (A variant of this error will still be possible when a project with a too-similar name is created between the pending publisher's creation and use. But that should be much less common.) |
I've asked @DarkaMaul to take a look at fixing this 🙂 |
Thanks @woodruffw! I would also be happy to give it a go myself if that'd be helpful. |
No problem with me! |
What's the problem this feature will solve?
I created a pending publisher when I named my package:
But when I tried to use it I got an error:
It's probably colliding with coverage_pth, the abandoned package I'm trying to replace.
Describe the solution you'd like
The PyPI UI should warn that the pending publisher will fail to create the package due to a name conflict. I'd expect this check to happen on page load, since the UI warns that races are possible:
Alternatively, it could be treated as a form validation error like a closer match does:
Additional context
Related issues:
The text was updated successfully, but these errors were encountered: