-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Following ricochet PR #477 we now have Python script support. We need to document this. Some notes are
- Requirements for Python content
- Must have .python-version file (specifies target Python version, e.g., 3.12 or 3.12.7)
- Must have uv.lock file (generated by uv lock)
- .python-version must satisfy requires-python constraint in uv.lock - uv binary resolution
- Vendored: $RICOCHET_HOME/vendor/py/uv (preferred)
- Fallback: uv on system PATH - Python version discovery
- Only uv-managed Python installations are used
- Command: uv python list --only-installed --managed-python --no-python-downloads - uv cache location
- $RICOCHET_HOME/.cache/uv
- Created automatically during first Python deployment - Environment restoration command
-uv sync --python <path> --cache-dir <cache> --no-python-downloads --frozen --color always - Content types supported
- Python (invokable scripts) - Limitations
- K8s/Docker exec-env support not yet implemented (local execution only)
- Python versions must be pre-installed via uv
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels