Skip to content
Merged
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
1 change: 1 addition & 0 deletions .python-version
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
3.12
12 changes: 12 additions & 0 deletions README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -25,6 +25,18 @@ create-python-app/ # virtual workspace root (no [project] table)
uv sync
```


## Python version

- **Pin file:** `.python-version` → `3.12`
- **Constraint:** every workspace member sets `requires-python = ">=3.12"`
- **CI:** workflows (Epic 6 / #45) must install Python 3.12+ matching this pin

```bash
uv python install # respects .python-version when needed
uv sync
```

### Reference

- [uv workspaces handbook](https://pydevtools.com/handbook/how-to/how-to-set-up-a-python-monorepo-with-uv-workspaces/)
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# Virtual workspace root — not a publishable package.
# See: https://pydevtools.com/handbook/how-to/how-to-set-up-a-python-monorepo-with-uv-workspaces/
#
# Python pin: .python-version + requires-python on every member (>=3.12).
# CI must use the same minor (document when workflows land — Epic 6).

[tool.uv.workspace]
members = ["packages/*"]

[tool.uv]
# Prefer the pinned interpreter from .python-version when creating the venv.
python-preference = "managed"