Release 0.2.0 replaces the Optimist's storage layer with a DuckLake. This is a breaking release: projects created with 0.1.x do not work with 0.2.0 as they are (see Upgrading).

01Storage and environments

Your data no longer lives in a single .duckdb file but in a DuckLake in your project folder: the catalogue in lake/catalog.sqlite, the data as Parquet in lake/data/. dlt, dbt, the notebooks and the Crows Nest use the same lake. DATAVLOOT_LAKE_DIR sets another location.

Development and production are kept apart. A manual dbt run uses the dev target and writes to dev_* schemas. Production runs through Dagster only and writes to <project>_*. All writing assets share the Dagster pool lake, because DuckLake accepts one commit at a time.

02Lake maintenance

The lake_maintenance job runs daily at 03:00. It merges small files, expires snapshots older than seven days and deletes files nothing refers to any more. DATAVLOOT_LAKE_MAINTENANCE=off in .env starts the schedule switched off.

03Dependencies

  • The optimist dbt package lives in a repository of its own, dbt-datavloot-optimist; new projects use version 0.1.1.
  • Elementary is declared explicitly in your project's packages.yml. The Crows Nest's Data quality and Catalog panels read its tables.
  • New projects pin their versions: datavloot[optimist]~=0.2.0 (all 0.2.x patches) and the dbt package at the tested release.
  • DuckDB stays below 2.0 until a fix in dlt is available.

04Other changes

  • The demo downloads its AIS data itself on the first run.
  • datavloot new installs the DuckDB extensions up front, which helps behind a proxy.
  • A warning when your project is in a synced folder, on a network drive or in a path too long for Windows.
  • CI also tests on Windows and macOS.
  • The Crows Nest's query editor refuses EXPLAIN ANALYZE (contributed by Thijs Klumpenaar).
  • A first preview of the Falcon, the platform on one European VM, is in deploy/. It is not in the PyPI package and not yet ready for production.

05Installing with uv

From Python to a running demo, with uv. uv (built in Rust) installs packages 10 to 100 times faster than pip, Python's standard installer. Put the working folder on a local disk, outside OneDrive, iCloud or Dropbox, and keep the path short on Windows.

# Install uv (Windows, PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# macOS and Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
# then open a new terminal

# Python and a virtual environment
uv python install 3.12
uv venv --python 3.12
# once, so PowerShell may run activate
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
.venv\Scripts\activate             # macOS and Linux: source .venv/bin/activate

# datavloot and the demo
uv pip install "datavloot[optimist]"
datavloot demo
cd optimist-demo
uv pip install -e .
dbt deps
dbt parse
datavloot start

The Crows Nest is then at localhost:8080, Dagster at localhost:3000. For a project of your own, replace datavloot demo with datavloot new <name>.

06Upgrading

Update pip or uv first (pip 26.2.2+ or uv 0.13.4+). The emSign root CA has been removed from the CA bundles after a security incident, and pip and uv carry their own certificates.

Create a new project. Upgrading a 0.1.x project in place is not supported, and existing data is not migrated. Copy your models, seeds and assets into a new project and let Dagster rebuild production.

python -m pip install --upgrade pip
pip install --upgrade "datavloot[optimist]"
datavloot new
Links
datavloot 0.2.0 on PyPI
The full release notes on GitHub
The optimist dbt package on GitHub
The roadmap: what comes after the Optimist

Never miss a release

Leave your email address and we will let you know as soon as a new episode washes ashore.

Send a message in a bottle →