nodejs-pypi icon indicating copy to clipboard operation
nodejs-pypi copied to clipboard

Automatically build and publish wheels on PyPI when new Node versions are released.

Open samwillis opened this issue 2 years ago • 1 comments

Thanks to the work of @jacobdr we now have CI. It's only one step further to on a schedule, check for new Node versions, build wheels and publish them automatically.

I envisage something like this once a day (I don't think we need it to be any quicker than that):

  • Scrape the list of released versions from the Node website
  • Scrape the list of our wheels from PyPI
  • Compare and check if there are any missing, ignore versions less then a minimum. (I don't think we should be packaging historical versions)
  • Build any missing wheels
  • Publish to PyPI
  • Email a nodejs-pypi mailing list to notify of the update

Schedule a GitHub Action: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule

Publishing to PyPI: https://github.com/marketplace/actions/pypi-publish

samwillis avatar Nov 10 '22 09:11 samwillis