- Clone this repo locally.
- Install pyenv.
- Install
poetry:curl -sSL https://install.python-poetry.org | python3 -
-
Setup a virtual environment:
pyenv install 3.13 pyenv local 3.13poetrywill create a virtual environment using that Python version when it installs dependencies.NOTE: In Poetry 2.x, the
shellcommand was moved to a separate plugin: poetry-plugin-shell. Install it via Poetry'sself add:poetry self add poetry-plugin-shell
You can validate the Python version with:
poetry run python --version
which should print out
Python 3.13.x. To activate the virtual environment in your shell, runpoetry shell. -
Install dependencies and setup pre-commit hooks:
pip3 install --upgrade invoke inv setup
-
Run unit tests
poetry run pytest
- Run
./scripts/import-openapi-yaml.sh https://api.galileo.ai/clientto update the openapi.yml file with the latest client spec - Run
./scripts/auto-generate-api-client.shto generate the API client