Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.08 KB

File metadata and controls

39 lines (26 loc) · 1.08 KB

Contributing to spicepy

Developing

The development branch is trunk. This is the branch that all pull requests should be made against.

To develop locally:

  1. Fork this repository to your own GitHub account and then clone it to your local device.

  2. Create a new branch:

    git checkout -b MY_BRANCH_NAME
  3. Install a recent version of Python (3.8+)

  4. Install the dependencies with:

    # Run this command in the root of the repository
    pip install -e .

    ℹ️: Apple M1 Macs require an arm64 compatible version of pyarrow which can be installed using miniforge.

    • Install miniforge using Homebrew with brew install --cask miniforge
    • Initialize the conda environment with conda init "$(basename "${SHELL}")"
    • Run make apple-silicon-requirements to install the packages.
  5. Run the tests with:

    API_KEY="<Spice.ai API Key>" make test