Install and upgrade¶
Use Python 3.11 or newer on macOS, Linux, or Windows. The package installs DuckDB 2.0 or newer as a dependency. Real collection requires access to the configured upstream sources. The offline sample verifies installation and querying. On a machine with little memory or disk, read Machines with little memory or disk first.
python -m pip install cnequity
cne --version
To develop the software, install from the source repository with python -m pip install -e .. Published packages include the dashboard bundle.
Choose the upgrade instructions¶
Check the installed version with cne --version. Read the target version's release notes and dataset migrations. The software, dataset schemas, and published data revisions are versioned independently.
| Target | Lake upgrade entry point |
|---|---|
| 0.24.0 | See the 0.24.0 release notes. This release added no required routine data migrations. Use cne migrate to preview any migrations the lake still owes from older releases. |
| 0.25.0 | See Upgrade to 0.25.0 and use cne upgrade. An existing lake may refuse write commands until it is upgraded. New production lakes use the lake catalog from the start. The 0.25.x series is the last that upgrades lakes built by 0.24.0 or earlier. |
| 0.26.0 | A lake that finished the 0.25 upgrade has no new required migration. A lake built before 0.25.0 that never finished that upgrade cannot be upgraded by this release: install 0.25.x, run cne upgrade --apply, then upgrade to 0.26.0. |
| Other versions | Use the matching release notes. When skipping releases, check each intervening version for compatibility changes. |
Upgrade to 0.25.0¶
0.25.0 changes how data is stored; an existing lake needs one run of cne upgrade --apply. The 0.25.x series is the last that upgrades lakes built by 0.24.0 or earlier. Preparation, steps, what the migrations do and what changes afterwards are in Upgrade to 0.25.0.