-
-
Notifications
You must be signed in to change notification settings - Fork 471
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
Release to PyPI via Github Action #389
Comments
I love this setup!! Apparently one needs enough permissions to setup the token. |
No. Neither in github nor on pypi. I could prepare a pr for it though :-) |
The Camelot-dev organisation lists @dimitern and @vinayak-mehta as people part of the organisation. @vinayak-mehta Shows up as recovering. |
@MartinThoma I can add you to the PyPI project, what's your username? |
I'll follow up on some of these issues in the coming days to make sure everything is set up for the project to not be blocked without me |
I found it! https://pypi.org/user/Martin.Thoma/ |
Thank you ❤️ I've just accepted it. That means I can take care of releases now for camelot. It makes me very happy that we now have the chance to revive camelot again 🎉 🤗 |
The current release process is documented here: https://cookiecutter-hypermodern-python.readthedocs.io/en/2022.6.3.post1/guide.html#how-to-make-a-release It triggers when the version in pyproject.toml gets changed and merged into master. |
That doesn't work because the secrets are not set:
|
As the maintainer of pypdf I've recently decided to add a Github Action that can make releases of pypdf to PyPI. See https://github.com/py-pdf/pypdf/blob/main/.github/workflows/release.yaml . Maybe that is interesting for camelot as well?
Reasons for adding a
workflows/release.yaml
Github Actionflit publish
in my case. But still an extra step.How it works
Requirements
FLIT_PASSWORD
Triggering Workflows
I chose to use new git tags as the triggering mechanism:
See https://docs.github.com/en/actions/using-workflows/triggering-a-workflow for alternatives
The action
That would require a
pyproject.toml
.You could for sure also use twine. You would just need to call the environment variables a bit different: https://twine.readthedocs.io/en/stable/
Discussion
Let me know what you think about it :-)
The text was updated successfully, but these errors were encountered: