Skip to content

nao sync doesn't work with Redshift databases #730

@florian-drouet

Description

@florian-drouet

Somewhere between nao-core v0.1.8 and nao-core v0.1.11, nao sync returns a failure when trying to sync a Redshift database.
The error indicates that the ibis-framework package is required to connect to postgres databases but I do have the ibis-framework (v12.0.0) package installed in my environment.

Reproduction scenario :

(test-naaia-agent) ☁  naaia [feature/upgrade-naaia-version] nao --version
0.1.11
(test-naaia-agent) ☁  naaia [feature/upgrade-naaia-version] nao sync -p databases:redshift-prod

🔄 nao sync

Project: naaia

🗄️  Syncing Databases
Location: /Users/floriandrouet/Documents/GitLab/naaia/naaia/databases
redshift-prod: columns, preview

✗ Failed to sync redshift-prod: The 'ibis-framework' package is required to connect to postgres databases.
Install it with:
  pip install 'nao-core'
or:
  uv pip install 'nao-core'

📝 Rendering templates


✓ Sync Complete

  Nothing to sync

(test-naaia-agent) ☁  naaia [feature/upgrade-naaia-version] uv pip freeze |grep ibis           
Using Python 3.12.12 environment at: /Users/floriandrouet/Documents/GitLab/naaia/.venv
ibis-framework==12.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions