holoviews icon indicating copy to clipboard operation
holoviews copied to clipboard

Package update

Open hoxbro opened this issue 6 months ago • 1 comments

The following updates:

  • Don't use pyctdev for the PyPI package. Instead, use the build package.
  • Splitting building and publishing up for both PyPI and Conda.
  • Add artifacts to both
  • Add pip install step to check if the wheel can be installed, and do an import.
  • Add an approval step after the build and wait for all builds.
  • As both build steps take under two minutes to finish, I have set it up so they run on PRs. I am not sure about if this is needed. I can remove it again.

Example of workflow: https://github.com/holoviz/holoviews/actions/runs/7210047765

Screenshots of workflow:  Screenshot 2023-12-14 15 13 09  Screenshot 2023-12-14 15 13 22

 Screenshot 2023-12-14 15 56 22  Screenshot 2023-12-14 15 56 44  Screenshot 2023-12-14 15 58 12

Ref:

  • https://timheuer.com/blog/add-approval-workflow-to-github-actions/
  • https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
  • https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/

hoxbro avatar Dec 14 '23 09:12 hoxbro