A Web Processing Service for PCIC's ClimDown package
A task runner that works well with Poetry to replace Makefiles.
$ python3 -m pip install --user pipx
$ python3 -m pipx ensurepath # Ensure directory where pipx stores apps is in your PATH environment variable
$ pipx install poethepoet # Install globally
Most of the documentation is static and does not need to be “built”. That being said the jupyter notebooks that serve as demos need to be built whenever they are changed. This can be done using poe.
$ poe docs
Run tests using pytest.
Install system libraries, R dependencies and package with dev dependencies:
$ poe install-apt
$ poe install-r-pkgs
$ poe develop
Run quick tests (skip slow and online):
$ poe test"
Run all tests:
poe test-all
You can also run tests on the notebooks:
$ poe test-notebooks
Check black formatting:
$ poe lint
Make a new version of chickadee in the following steps:
CHANGES.md with the next version.bumpversion --dry-run --verbose --new-version 0.8.1 patchbumpversion --new-version 0.8.1 patchbumpversion --new-version 0.9.0 minorgit pushgit push --tagsSee the bumpversion documentation for details.