Skip to content

dbt.dbtIntegration: "fusion" fails detection when dbt Fusion is installed as pip package (no Python module) #2018

Description

Environment

  • Extension version: 0.61.7
  • dbt Fusion: 2.0.0-preview.190
  • OS: macOS

Steps to reproduce

  1. Install dbt Fusion via pip into a venv (pip install)
  2. Set "dbt.dbtIntegration": "fusion" in .vscode/settings.json
  3. Open the project in VS Code
  4. Detect from terminal results in
python3 -c 'import sys; __import__("dbt"); print("__DBT_DETECT_START__"); print(
sys.executable); print("__DBT_DETECT_END__")'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys; __import__("dbt"); print("__DBT_DETECT_START__"); print(sys.executable); print("__DBT_DETECT_END__")
                ~~~~~~~~~~^^^^^^^
ModuleNotFoundError: No module named 'dbt'
Image

Expected: Extension detects dbt Fusion binary and initializes successfully

Actual: Extension shows "dbt fusion is not installed" because it runs python3 -c 'import dbt' — which fails since the Fusion pip package installs a binary only, with no importable Python module

Root cause: In fusion mode, the extension should detect the dbt binary directly (e.g. dbt --version) rather than attempting a Python import

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions