pypi / warehouse

The Python Package Index
https://pypi.org
Apache License 2.0
3.58k stars 964 forks source link

Unable to recreate a removed pending publisher #16888

Open arneso-ssb opened 5 days ago

arneso-ssb commented 5 days ago

Describe the bug

I created a pending publisher on PyPI with these values:

Then I removed the pending publisher, since I wanted to change the package name to wrapr, but that didn't work since the wrapr-name was already taken. Then I tried to recreate the pending publisher with same values as above, but then I get the error: "This trusted publisher has already been registered. Please contact PYPI's admins if this wasn't intentional"

We are two users working on this repo, usernames kss2k and arneso-ssb on PyPI. kss2k is the one with the issue.

Expected behavior

To be able to recreate the same pending publisher that was removed.

To Reproduce

See description above.

My Platform

Using Firefox version 130.0.1 on on Windows 11. Additional context

woodruffw commented 4 days ago

Thanks for the report @arneso-ssb. Just to confirm:

  1. You created a pending publisher for ssb-wrapr
  2. Your deleted that pending publisher
  3. You tried to create a publisher for wrapr, but that failed because wrapr is already taken
  4. You tried to recreate the pending publisher for ssb-wrapr, and it failed with the message you've provided

Did I get that sequence correct?

Also, could you share your account event log for the relevant events? You can take a screenshot of them under "Security history" on https://pypi.org/manage/account/.