mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-04 08:38:59 -05:00
fix(ci): add PYTHONIOENCODING for Windows emoji support
Windows uses cp1252 encoding by default which doesn't support emoji characters. Setting PYTHONIOENCODING=utf-8 fixes the UnicodeEncodeError when Rich prints the banner with emojis.
This commit is contained in:
1
.github/workflows/tinytorch-validate-dev.yml
vendored
1
.github/workflows/tinytorch-validate-dev.yml
vendored
@@ -91,6 +91,7 @@ concurrency:
|
||||
env:
|
||||
TITO_ALLOW_SYSTEM: "1"
|
||||
TINYTORCH_QUIET: "1"
|
||||
PYTHONIOENCODING: "utf-8" # Required for Windows emoji support in Rich
|
||||
|
||||
jobs:
|
||||
# ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user