Installation
Install the package
Section titled “Install the package”pip install dagster-rockyOr with uv:
uv add dagster-rockyDependencies
Section titled “Dependencies”The package requires:
dagster >= 1.13.0pydantic >= 2.0pygments >= 2.20.0
These are installed automatically as package dependencies.
Install the Rocky binary
Section titled “Install the Rocky binary”The rocky binary must be installed separately. It is not bundled with the Python package. See the Installation page for instructions on installing Rocky for your platform.
The binary must be available on your PATH, or you can specify its location explicitly via the binary_path config on RockyResource.
Vendor binary for deployment
Section titled “Vendor binary for deployment”For containerized or cloud deployments where you want to pin a specific Rocky version, you can vendor the binary alongside your Dagster code:
my_dagster_project/ dagster_project/ __init__.py definitions.py vendor/ rocky # platform-specific binary rocky.tomlThen configure the resource to use 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 automate this:
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')"If this prints ok, the package is installed correctly. You can also verify the binary is accessible:
rocky --version