dbt-autofix
CLI to autofix deprecations in dbt projects
What it is and what it does
dbt-autofix is a CLI tool that automatically detects and fixes deprecated configurations in dbt projects. It handles a wide range of deprecation types across YAML, SQL, and Python files—including property migrations, custom key handling, duplicate key removal, and Jinja block cleanup—making it easier to resolve deprecation warnings introduced in dbt v1.10 and prepare projects for dbt Fusion. The tool runs in dry-run mode by default and outputs results in human-readable or JSON format, allowing you to review changes before applying them.
The package depends on common utilities like click, typer, httpx, jinja2, pyyaml, and yamllint, plus dbt-specific tools (dbt-extractor, dbt-fusion-package-tools). It can also check and upgrade package dependencies for Fusion compatibility. For deprecations that cannot be automatically resolved, the documentation references an AGENTS.md guide for manual intervention strategies.
Use it for:
- Automatically fix deprecation warnings when upgrading a dbt project to dbt v1.10 or later.
- Prepare a dbt project for migration to the dbt Fusion engine by scanning and updating incompatible configurations.
- Batch-update YAML files across a large dbt project to move custom configs under the correct meta or config blocks.
- Check installed dbt packages for Fusion compatibility and automatically upgrade them to compatible versions.
- Run in dry-run mode to audit deprecations in a project before committing any changes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
dbt-autofix scans dbt projects for deprecated configurations and automatically updates them to align with current best practices and dbt Fusion compatibility.
Yes. The tool is actively maintained, has low install friction, carries no known security vulnerabilities, and directly solves a real problem for dbt users managing deprecation warnings and Fusion migration. The dry-run mode and JSON output make it safe to evaluate before applying changes. License status is unclear, so verify licensing terms before use in commercial projects.
Install
dbt-autofix on PyPI
pip
pip install dbt-autofixuv
uv add dbt-autofixpoetry
poetry add dbt-autofixInstalling dbt-autofix
Before you install
Low install friction with a pure Python wheel and straightforward dependencies. Active maintenance with a recent release within the last two weeks.
Quickstart
# Install with uv (recommended)
uvx dbt-autofix
# Or with pip in a virtual environment
pip install dbt-autofix
dbt-autofix deprecations --path . --dry-run
Requires Python 3.10 or later (and below 3.14). dbt project must be present at the specified path.
Verify before relying
- Whether all deprecations listed in the coverage tables are actually implemented in version 0.21.6 or if coverage has evolved since the description was written.
- Whether the package dependency upgrade feature (mentioned as new in 0.17.0) remains functional and well-maintained in current releases.
- Performance characteristics when running against large dbt projects with many files.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<3.14,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — click, dbt-extractor, dbt-fusion-package-tools, httpx, jinja2, pyyaml, rich, ruamel-yaml, typer, yamllint |
| Maintenance | actively maintained — 14 days since the last release |
| First released | |
| Downloads | 181,587/month — #10,119 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dbt_autofix-0.21.6-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
dbt-fusion-package-toolsUpgrades dbt package dependencies to versions…
unclear · top 15,000 on PyPI
dbt-osmosisdbt-osmosis is a CLI tool and Python package…
permissive · top 15,000 on PyPI
dbt-coverageMeasures documentation and test coverage of dbt…
permissive · top 15,000 on PyPI
dbt-metabaseSyncs dbt project metadata (table…
permissive · top 15,000 on PyPI
dbt-core-experimental-parserExperimental parser for dbt Core v2.0 (alpha),…
permissive · top 5,000 on PyPI
dbt-sqlserverA dbt adapter that enables data transformation…
permissive · top 15,000 on PyPI
sqlfluff-templater-dbtEnables SQLFluff to lint and auto-fix dbt…
permissive · top 5,000 on PyPI
deprecationProvides decorators to automate deprecation…
permissive · top 1,000 on PyPI
dbt-loomdbt-loom is a dbt Core plugin that fetches…
unclear · top 15,000 on PyPI
dbt-coredbt-core transforms raw data in a warehouse…
permissive · top 1,000 on PyPI