gh-action-pypi-publish icon indicating copy to clipboard operation
gh-action-pypi-publish copied to clipboard

Tutorial improvements

Open webknjaz opened this issue 5 years ago • 3 comments

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

webknjaz avatar Apr 15 '20 23:04 webknjaz

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 avatar Jan 08 '21 15:01 pllim

@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.

webknjaz avatar Jan 08 '21 17:01 webknjaz

FTR @chrysle is working on related improvements in https://github.com/pypa/packaging.python.org/pull/1261.

webknjaz avatar Jul 13 '23 14:07 webknjaz