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
Commit 103f694
Browse filesBrowse the repository at this point in the historyBrowse files
README claimed 104 examples; the catalog has 109. `make test` ran bare
python3, which fails on any system where python3 is not 3.13 (the
example loader executes 3.12+ `type` statements). Route it through
`uv run --python 3.13` and point the README at `make test`.
https://claude.ai/code/session_012cj8czQW6Cd1Gw2PPgapED
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Production: <https://www.pythonbyexample.dev> (`workers.dev` remains enabled as
6
6
7
7
## Features
8
8
9
-
-104 curated Python 3.13 examples in learning order
9
+
-109 curated Python 3.13 examples in learning order
10
10
- Literate source/output cells for each example walkthrough
11
11
- Editable complete examples powered by CodeMirror
12
12
- Read-only syntax highlighting powered by Shiki
@@ -60,9 +60,11 @@ This project is developed with red-green-refactor TDD:
60
60
Install dependencies with `uv`, then run:
61
61
62
62
```bash
63
-
python3 -m unittest discover -s tests -v
63
+
make test
64
64
```
65
65
66
+
The test suite (and the example loader it imports) requires Python 3.13; `make test` runs it through `uv run --python 3.13` so a system `python3` on another version still works.
67
+
66
68
After cloning, install the local git hooks once so merges and rebases regenerate `src/asset_manifest.py` instead of producing conflicts:
0 commit comments