Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"image": "mcr.microsoft.com/devcontainers/python:3-3.12-trixie",
"features": {
"ghcr.io/va-h/devcontainers-features/uv:1": {},
"ghcr.io/eitsupi/devcontainer-features/duckdb-cli:1": {
"version": "latest",
"extensions": "spatial",
"communityExtensions": "h3"
}
},
"containerEnv": {
"UV_LINK_MODE": "copy"
},
"remoteEnv": {
"PATH": "${containerWorkspaceFolder}/.venv/bin:${containerEnv:PATH}"
},
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "${containerWorkspaceFolder}/.venv/bin/python"
},
"extensions": [
"ms-toolsai.jupyter",
"ms-toolsai.vscode-jupyter-cell-tags",
Expand All @@ -21,5 +31,5 @@
]
}
},
"postCreateCommand": "pip install --user -r requirements.txt"
"postCreateCommand": "uv sync --frozen"
}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ jupyter lab

The `requirements.txt` is generated from `pyproject.toml` and `uv.lock`, so versions match the uv setup.

> **Note:** GitHub Codespaces support is being updated for the new setup. For now, please use one of the local setup paths above.
### Alternative: GitHub Codespaces

If you'd rather not install anything locally: **Code → Codespaces → Create codespace on `main`**. The devcontainer runs `uv sync --frozen` automatically, so the same locked environment as the local setup is ready once the codespace finishes building — no separate install path to debug. Open a notebook and select the `.venv` interpreter when the kernel picker prompts you.

---

Expand Down
Loading