Repository navigation
Make the course work on Windows, and test it there - #38
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Windows defaults to cp1252, so any non-English character in a learner's file could break the check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In Git Bash, Python before 3.15 writes to a pipe in the system code page and stops with UnicodeEncodeError on ✔. tools/doctor.py is the first thing a Windows learner runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
which_setup.py prints py and .venv/Scripts/activate on Windows; lessons 07 and A now give the Windows commands next to the macOS/Linux ones, like lesson 05 does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
git's object files are read-only, and Windows refuses to delete read-only files, so setting up the lab crashed with 'Access is denied' (Lesson 11). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On Windows a bare 'bash' resolves to System32\bash.exe (WSL) before anything on PATH. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lesson 03 tells Windows learners to type py wherever a lesson says python3; python.org's installer doesn't provide python3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
thejesh23
marked this pull request as ready for review
November 22, 2026 11:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows learners follow the course in Git Bash (Lesson 03). Until now nothing had run there: CI ran only on Linux. This adds a Windows CI job and fixes what it found.
New: Windows CI job (
windows-latest, Git Bash, the setup Windows learners have)pywherever a lesson sayspython3, exactly as Lesson 03 tells Windows learners (python.org's installer has nopython3)Bugs found and fixed
✘raisedUnicodeEncodeError. Reproduced locally, then fixed: learner-run tools now print UTF-8.find_issues.py(★) had the same problem. A test runs the tools with a cp1252 pipe.which_setup.pynow printspy -m venv .venvandsource .venv/Scripts/activateon Windows.bash(which Windows finds first), skip the macOS-onlysaylock test, write test files as UTF-8.Result: 241 tests pass on Linux, Windows and macOS (local), and the lesson commands pass in Git Bash on Windows. No video changes: the videos say
python3, and Lesson 03 already tells Windows learners to typepy.🤖 Generated with Claude Code