Skip to content
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

Unable to recreate a removed pending publisher #16888

Open
arneso-ssb opened this issue Oct 14, 2024 · 4 comments
Open

Unable to recreate a removed pending publisher #16888

arneso-ssb opened this issue Oct 14, 2024 · 4 comments
Labels
awaiting-response PRs and issues that are awaiting author response bug 🐛

Comments

@arneso-ssb
Copy link

Describe the bug

I created a pending publisher on PyPI with these values:

  • PyPI Project Name: ssb-wrapr
  • Owner: statisticsnorway
  • Repository name: ssb-wrapr
  • Workflow name: release.yml

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

@arneso-ssb arneso-ssb added bug 🐛 requires triaging maintainers need to do initial inspection of issue labels Oct 14, 2024
@woodruffw
Copy link
Member

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/.

@woodruffw woodruffw added awaiting-response PRs and issues that are awaiting author response and removed requires triaging maintainers need to do initial inspection of issue labels Oct 21, 2024
@Kss2k
Copy link

Kss2k commented Jan 9, 2025

The sequence is correct. This is the relevant part of the Security History: Image

@di
Copy link
Member

di commented Jan 10, 2025

That activity looks different than what you described, it shows removing a publisher for the ssb-wrapr project and then adding one for the rwrapr project.

@Kss2k
Copy link

Kss2k commented Jan 10, 2025

Sorry if we were unclear. We removed the ssb-wrapr pending publisher, in order to create the same pending publisher with the name wrapr. When we were unable to cerate a new one with the name wrapr we decided to switch back to ssb-wrapr, which now was unavailable as well. We then choose the name rwrapr (since neither wrapr and ssb-wraper were available)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response PRs and issues that are awaiting author response bug 🐛
Projects
None yet
Development

No branches or pull requests

4 participants