You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Trusted publishing exchange failure:
Token request failed: the server refused the request for the following reasons:
invalid-payload: The name 'coveragepth' is too similar to an existing project. See https://pypi.org/help/#project-name for more information.
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:
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.)
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: