MacOS Setup Guide
This guide will help you set up a macOS workstation to work with the code and develop Opteryx.
Both Intel/x86 and ARM environments are supported, but some parts of the guide may require additional steps for ARM.
Setting Up
1. Install Python
Python 3.11 recommended
We recommend using pyenv to install and manage Python environments. Follow the pyenv installation instructions for macOS.
2. Install pip
3. Install Git
First, update Homebrew:
Then, install Git:
4. Install Rust
5. Clone the Repository
6. Install Dependencies
7. Build Binaries
Running Tests
To run the regression and unit tests:
First, install the optional dependencies, on intel-based Macs:
On M-series (ARM) CPU Macs:
Then run the regression tests.
Note
Some tests require external services like GCS and Memcached and may fail if these have not been configured.