I’m not really that fond of my email at work. It effortlessly mixes important (and urgent!) requests with junk mail, unimportant (or, at least, non-time sensitive) organizational material. One of my co-workers nearly missed a request to ‘revise and resubmit’ a paper to an important journal as it vanished into the foggy mists of his…
Adding PyPI Update Github Action to Existing Project
I’ve now been updating a few projects to also automatically update PyPI with each new release (see https://foggyprogrammer.com/github-actions-updates-pypi-package for context), but have run into a couple snags: TestPyPI submission fails when the version is not updated. I mostly work on the master branch and each new commit tries to push a new build with the…
GitHub release updates PyPI Package
I had wanted to follow the guide for automated PyPI releases here (https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/), but ended up getting carried away with the PyPI packaging process. Now, I can turn to updating my three repositories to automatically deploy new releases to PyPI. Begin by creating new tokens for the PyPI package on both testpypi and pypi proper…
Add Python package to pypi
I’ve uploaded a couple pypi packages in the past, but have never really kept them updated. Apparently, the updating process can be automated using Github Actions: https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/. (I’ll look at the next time.) For now, I’m going to use this tutorial (and revisit pypi-setup doco) to add a new package, regexify, and update it so…
hypothesis for strings
I’ve never tried hypothesis. I recall watching a talk several years ago and thought how great an idea it is…but like with too many great ideas I witness, my lack of follow-up is disturbing. The goal of a library like hypothesis is to do ‘property-based testing’. Random data is provided as input (random data which…