diff --git a/CHANGELOG.md b/CHANGELOG.md index 26ef50c..007b2b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- Scaffold a committed `.python-version` (pinned to `3.13`) into the minimal workspace so a new workspace gets a self-contained, reproducible venv — uv auto-provisions the interpreter on `uv sync`. Removed the matching `.gitignore` entry so the pin is tracked; existing `.python-version` files are left untouched. + ## [0.2.0] - 2026-06-30 ### Added diff --git a/src/dlthub_init/scaffolds/minimal_workspace/.gitignore b/src/dlthub_init/scaffolds/minimal_workspace/.gitignore index a6a0125..eafeef7 100644 --- a/src/dlthub_init/scaffolds/minimal_workspace/.gitignore +++ b/src/dlthub_init/scaffolds/minimal_workspace/.gitignore @@ -99,9 +99,6 @@ target/ profile_default/ ipython_config.py -# pyenv -.python-version - # pipenv Pipfile.lock diff --git a/src/dlthub_init/scaffolds/minimal_workspace/.python-version b/src/dlthub_init/scaffolds/minimal_workspace/.python-version new file mode 100644 index 0000000..24ee5b1 --- /dev/null +++ b/src/dlthub_init/scaffolds/minimal_workspace/.python-version @@ -0,0 +1 @@ +3.13 diff --git a/tests/test_scaffold.py b/tests/test_scaffold.py index 42a1717..f0aa5b3 100644 --- a/tests/test_scaffold.py +++ b/tests/test_scaffold.py @@ -11,6 +11,7 @@ Path("pyproject.toml"), Path(".gitignore"), Path("uv.lock"), + Path(".python-version"), Path("__deployment__.py"), Path(".dlt/.workspace"), Path(".dlt/config.toml"),