nodejs-pypi
nodejs-pypi copied to clipboard
Automatically build and publish wheels on PyPI when new Node versions are released.
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
In the mean time, simply updating to include some of the latest nodejs LTS versions (e.g. 22) would be appreciated