The knowledge sources don’t specify exact dbt-core compatibility for Elementary dbt/CLI version
0.21.0, so I can’t state a specific dbt version requirement for that release. What
is documented: - Elementary CLI supports
Python 3.9–3.12, aligned with dbt’s supported versions, and explicitly does
not support Python 3.13 yet. [[Quickstart CLI](
https://docs.elementary-data.com/oss/quickstart/quickstart-cli#page-title); [Python compatibility issue](
https://github.com/elementary-data/elementary/issues/1845)] - Elementary requires the
dbt package version and CLI minor versions to match (e.g., 0.20.x CLI with 0.20.x dbt package) to avoid incompatibility warnings and runtime errors. [[Upgrading Elementary](
https://docs.elementary-data.com/oss/release-notes/upgrading-elementary#page-title); [Version alignment](
https://github.com/elementary-data/elementary/issues/1670)] So, for
elementary dbt 0.21.0 / CLI 0.21.0 you should: - Use
Python 3.9–3.12. - Use a
dbt-core version that is supported by those Python versions (per dbt’s own compatibility matrix). - Ensure the
Elementary dbt package and CLI are both 0.21.0 and run:
bash dbt deps dbt run --select elementary
If you need the exact dbt-core range (e.g., 1.6 vs 1.7 vs 1.8) for 0.21.0, that detail is not present in the provided sources; you’d need to check the specific 0.21.0 release notes or
dbt_project.yml
in the Elementary dbt repo for that.