Skip to main content

Module python_env

Module python_env 

Source
Expand description

Pinned Python environment for the sidecar (auto-provisioned venv).

First --with-notebooks start creates a venv at NotebookOptions::venv_dir and pip installs the committed REQUIREMENTS lock; a hash marker skips re-installs until the lock changes. An explicit --notebooks-python skips provisioning entirely.

Constants§

REQUIREMENTS
The committed pin list (python/requirements.lock).

Functions§

ensure
Resolve the sidecar interpreter, provisioning the venv if needed.
validate
Fast inline validation (no provisioning, no network).