You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Opt-in Python starter as a flake template (nix flake init -t ...#python) #930
Ship an opt-in Python project starter as a flake template, so a consumer who does want a Python package can restore one with nix flake init -t github:vig-os/devcontainer#python.
Problem Statement
Companion to the language-neutral scaffold change (the copied scaffold no longer
ships pyproject.toml/src//tests/). Python consumers — still the majority —
need a first-class, single-sourced way to get the Python package layout back
without hand-writing pyproject.toml/src//tests/ or running bare uv init.
templates/python/pyproject.toml — minimal: hatchling build, requires-python = ">=3.14,<3.15", dev = [pytest, pytest-cov] pinned to the
image versions. Drops the heavy science/jupyter extras of the old scaffold.
templates/python/README.md — usage + the rename step.
Uses a concrete package name (example_pkg) the user renames, because nix flake init -t performs no token substitution (unlike the init-workspace.sh scaffold path). Register in flake.nix next to templates.personal:
Done — merged into dev via #933 (merge bcb08633). nix flake init -t github:vig-os/devcontainer#python restores an opt-in Python package layout (pyproject + src/ + pytest) onto the now language-neutral scaffold (#929). Ships in 0.5.
Activity
c-vigo commentedon Jul 8, 2026
Companion: #929 (language-neutral scaffold — removes the shipped Python starter). Both should land in the same release.
feat(workspace): make the copied scaffold language-neutral
feat(flake): opt-in Python starter template (nix flake init -t ...#py…
feat(workspace): language-neutral scaffold + opt-in Python flake temp…
c-vigo commentedon Jul 8, 2026
Done — merged into
devvia #933 (mergebcb08633).nix flake init -t github:vig-os/devcontainer#pythonrestores an opt-in Python package layout (pyproject + src/ + pytest) onto the now language-neutral scaffold (#929). Ships in 0.5.chore: release 0.5.0 (#938)