gh-action-pypi-publish
gh-action-pypi-publish copied to clipboard
Tutorial improvements
There's been some confusion with the tutorial so I'm documenting a few things that I'd like to improve (not sure if they belong to the tutorial or to separate guides):
- [ ] Building OS-specific wheels under multiple VMs/OSs, publishing them as build artifacts, then testing exactly those and finally publishing the dists to PyPIs (knowing that they are good)
- [ ] Publishing each commit versions that are in between Git tags (setuptools-scm etc.) is not a widely known technique (I may even be the first one to propose it) and needs a more public explanation
I was just looking for examples to build OS-specific wheels, as my package has a C-extension in it. If you know of any good example repos already doing this, that would be a good start until this is written.
As for the second example, I know a colleague who does CD that would really find the example useful.
Thank you!
@pllim you can dig into https://github.com/ansible/pylibssh/blob/devel/.github/workflows/build-test-n-publish.yml for examples. It's rather complicated though.
FTR @chrysle is working on related improvements in https://github.com/pypa/packaging.python.org/pull/1261.