Installation
Install dagster-rocky into the same environment as your Dagster code location, then install the rocky binary it calls. Rocky is a Rust program. The Python package only builds the commands and reads the JSON that comes back.
┌──────────────────┐ Python call ┌────────────────────┐│ your Dagster │──────────────►│ dagster-rocky ││ code location │ │ (+ rocky-sdk) │└──────────────────┘ └─────────┬──────────┘ │ subprocess ▼ ┌────────────────────┐ SQL │ rocky binary │───────► warehouse │ (Rust, installed │ │ separately) │ └────────────────────┘Install the package
Section titled “Install the package”uv add dagster-rockyDependencies
Section titled “Dependencies”The package requires:
rocky-sdk >= 0.18.0(the typed result models andRockyClientlive here;dagster-rockyis a thin adapter over it)dagster >= 1.13.8pydantic >= 2.0pygments >= 2.20.0
Install the Rocky binary
Section titled “Install the Rocky binary”Install the rocky binary separately. The Python package does not bundle it.
The Installation page has the steps for each
platform.
Put the binary on your PATH. If you would rather keep it somewhere else, set
the binary_path config on RockyResource to its location.
The binary must be engine 1.35.0 or newer (MIN_ROCKY_VERSION). The resource
checks the version on the first call and raises dagster.Failure when it is
older.
Vendor binary for deployment
Section titled “Vendor binary for deployment”Vendor the binary next to your Dagster code to pin one Rocky version, for example in containers.
my_dagster_project/ dagster_project/ __init__.py definitions.py vendor/ rocky # platform-specific binary rocky.tomlThen point the resource at the vendored path:
rocky = RockyResource( binary_path="vendor/rocky", config_path="rocky.toml",)Download the binary for your target platform from GitHub Releases. Filter by the engine-v* tag prefix. The engine/install.sh script can do this for you:
curl -fsSL https://raw.githubusercontent.com/rocky-data/rocky/main/engine/install.sh | ROCKY_INSTALL_DIR=vendor bashVerify the installation
Section titled “Verify the installation”python -c "from dagster_rocky import RockyResource; print('ok')"The package is installed correctly if this prints ok. Check the binary
separately:
rocky --version