Contribute

To contribute to the development of this package, check out its Github repository and push commits there.

How do we handle pip requirements?

We mostly follow this workflow:

  1. Add packages to requirements.in. Only pin versions that need to be pinned to make the code runnable.

  2. Run the pip-compile command shown at the top of the requirements.txt to freeze requirements.

  3. Commit requirements.in and requirements.txt in a PR. Once merged to main, Cloudbuild will build the image with the new dependencies.

Tests

You can run tests by executing pytest. Prior make sure that you installed the testing extras via pip install -e '.[dev,dask,gcp,torch,zarr]'.