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

PyPI publisher #227

Open
fnattino opened this issue May 24, 2024 · 3 comments
Open

PyPI publisher #227

fnattino opened this issue May 24, 2024 · 3 comments

Comments

@fnattino
Copy link
Contributor

fnattino commented May 24, 2024

The PyPI publisher has failed. @Peter9192 I realised that one also needs to add the trusted publisher information in the project settings on PyPI - have you already done this by any chance?

https://docs.pypi.org/trusted-publishers/adding-a-publisher/

@Peter9192
Copy link
Collaborator

Hmm, strange. It has been added as trusted publisher:
image

I also tried adding you as an owner/maintainer on PyPI, but I get
User 'fnattino' does not have a verified primary email address and cannot be added as a Owner for project

Could it be this line that causes the issue? Not sure why it's there.

url: https://pypi.org/p/springtime

@fnattino
Copy link
Contributor Author

I also tried adding you as an owner/maintainer on PyPI, but I get User 'fnattino' does not have a verified primary email address and cannot be added as a Owner for project

Oh, very weird, I have just logged in into PyPI and indeed it asked me to (re-)verify my email address..

Could it be this line that causes the issue? Not sure why it's there.

From the documentation, it seems that the URL should only appear on the deployments page for the repository - so it shouldn't really do much..

https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#using-an-environment

@Peter9192
Copy link
Collaborator

You should now have an invite for PyPI. I don't have time to look into this any further until after next week. Feel free to tinker with it or create the release manually e.g. with twine

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

No branches or pull requests

2 participants