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

Publish to PyPi workflow broken #1483

Closed
pbiering opened this issue May 3, 2024 · 11 comments
Closed

Publish to PyPi workflow broken #1483

pbiering opened this issue May 3, 2024 · 11 comments

Comments

@pbiering
Copy link
Collaborator

pbiering commented May 3, 2024

This happened after the release of 3.2.0:

https://github.com/Kozea/Radicale/actions/runs/8943158465/job/24567264820

I have no experiences here, can one support me please? Looks like several things must be fixed...

@ZingyAwesome
Copy link

Apologies if I am just stating the obvious, but there is this error in the log:

User 'unrud' does not have a verified primary email address. Please add
         a verified primary email before attempting to upload to PyPI. See      
         https://pypi.org/help/#verified-email for more information.

So it looks like there's something wrong with the PyPi user account? I believe the other warnings can be ignored for now.

@pbiering
Copy link
Collaborator Author

pbiering commented May 6, 2024

Apologies if I am just stating the obvious, but there is this error in the log:

User 'unrud' does not have a verified primary email address. Please add
         a verified primary email before attempting to upload to PyPI. See      
         https://pypi.org/help/#verified-email for more information.

So it looks like there's something wrong with the PyPi user account? I believe the other warnings can be ignored for now.

@Unrud has stepped back from this project, other maintainers are @gentooboontoo @liZe : can one of these please dig into?

Related file: .github/workflows/pypi-publish.yml

@liZe
Copy link
Member

liZe commented May 6, 2024

We could add a repository admin in the list of PyPI maintainers. Anyone interested?

@pbiering
Copy link
Collaborator Author

pbiering commented May 6, 2024

We could add a repository admin in the list of PyPI maintainers. Anyone interested?

Add at least me, thank you very much, I have created now an account here: pbiering

@liZe
Copy link
Member

liZe commented May 7, 2024

Add at least me, thank you very much, I have created now an account here: pbiering

Done!

@pbiering pbiering self-assigned this May 8, 2024
@pbiering
Copy link
Collaborator Author

pbiering commented May 8, 2024

@liZe : thank you for the invitation, but my current permissions on "Radicale" prevent me entering the "Settings" page and configure the required secret.

According to https://github.com/marketplace/actions/pypi-publish an API token

${{ secrets.PYPI_API_TOKEN }}

must be configured, as it is a personal one it should be not disclosed here...so either you enrich my permissions or I send it to you by e-mail.

@liZe
Copy link
Member

liZe commented May 8, 2024

@pbiering I’m not admin on GitHub. Maybe you can write a mail to @gentooboontoo 😄.

@pbiering
Copy link
Collaborator Author

pbiering commented May 8, 2024

@gentooboontoo : can you support here, a value must be set in Settings -> Security -> Secrets and variables -> Actions

@pbiering
Copy link
Collaborator Author

@gentooboontoo / @Unrud : any change to fix this?

@pbiering
Copy link
Collaborator Author

@gentooboontoo : thank you, received

PyPI user gentooboontoo has added a new trusted publisher to a project (Radicale) that you manage. Trusted publishers act as trusted users and can create project releases automatically.

Publisher information:

Publisher name: GitHub
Workflow: pypi-publish.yml
Owner: Kozea
Repository: Radicale

and re-triggered the workflow, now 3.2.0 is visible here: https://pypi.org/project/Radicale/#history

@gentooboontoo
Copy link
Member

 @gentooboontoo : thank you, received

Sorry @pbiering, I missed the notification for the previous messages, hence the delay…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants