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

Adding auto build and publish in pipy #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

einar-lanfranco
Copy link

Hi Danny, this is what i use to build and publish the packager to pipy, you just need to add the api token from pipy to a Repository secrets in Settings -> Secrets and Variables -> Actions.

I use it in python-publis.yml in .github/workflows -> password: ${{ secrets.api_de_pip }}

And then: every time you push to main the python packages is built and every time you tag in github it automatically publish in pipy

Let me konw if it helps.

Note: When you are going to tag you need to update version in setup.py also to keep sync the pipy documentation.

@dannywillems
Copy link
Contributor

Hi @einar-lanfranco!

Thanks for your contribution!

I highly appreciate the time you spent. However, I have been thinking about the security aspect of publishing automatically to pypi using GH Actions, in particular following the recent security issue that happened with Ledger and connect-kit. I would prefer to not do it. We are strict on security at LeakIX, and we want to restrict the rights to publish our packages available to the community.

Regarding your changes with flake, I am in favor of adding it. However, can you add in the poetry config file instead please?

Regarding the description missing on pypi, it is because the file pyproject.toml does not reference the README and other information, see the doc.

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

Successfully merging this pull request may close these issues.

2 participants