Skip to content

v1.0.1 — fix dbt import on PyPI installs

Choose a tag to compare

@KKranthi6881 KKranthi6881 released this 21 Apr 22:06
· 184 commits to main since this release
42d7072

Patch release — fixes a launch-day regression where importing any dbt project from the UI on a pip install failed with:

```
python: can't open file '/datalex': [Errno 2] No such file or directory
```

Install

```bash
pip install --upgrade datalex-cli
```

Fixed

  • dbt import / dbt sync / connector pull now work on pip-installed setups. `/api/dbt/import`, `/api/forward/dbt-sync`, and `/api/connectors/pull/stream` now use the shared `dmExec()` resolver (which correctly falls back through `datalex` → `dm` → PATH) instead of hardcoding `<REPO_ROOT>/datalex`.
  • CLI writes both `dm` and `datalex` shims next to the project directory on `datalex serve`, so older/cached api-server versions hitting the hardcoded path are also rescued.

Upgrade guidance

If you hit the error above on v1.0.0, upgrade to v1.0.1 and re-run `datalex serve`. No project-data migration needed.

See CHANGELOG.md for full details.