mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-16 23:24:55 -05:00
[PR #1086] [MERGED] Fix: Update installer to require Python 3.10+ and detect Homebrew version #3736
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1086
Author: @KarthikDani
Created: 12/25/2025
Status: ✅ Merged
Merged: 12/30/2025
Merged by: @profvjreddi
Base:
dev← Head:fix-installer-python-version📝 Commits (2)
9537da1Fix: Update installer to require Python 3.10+ and detect Homebrew versions8d846f4Retained removal of files and folders not required by students📊 Changes
1 file changed (+41 additions, -26 deletions)
View changed files
📝
tinytorch/site/extra/install.sh(+41 -26)📄 Description
The
titoCLI tool uses Python 3.10 syntax (Union types|), but the installer was allowing Python 3.9 (default on macOS), causing aTypeErrorcrash immediately after installation.Changes
install.shto explicitly check for Python 3.10+.get_python_cmdto search for specific Homebrew versions (python3.11, etc.) before falling back to the systempython3.Installer scripts works perfectly fine now.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.