From f5213545d289e271c26613cb226d019acf477b8a Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Sun, 28 Jun 2026 11:59:05 +1000 Subject: [PATCH] [house_auction] Pin prettytable<3.18 for base-Anaconda wcwidth compatibility prettytable 3.18.0 requires wcwidth>=0.3.5 (it calls wcwidth.width()), but base Anaconda 2026.06 ships wcwidth 0.2.14. The in-lecture '!pip install -U wcwidth' from #937 can't fix this: the kernel imports wcwidth at startup, so the already-cached module isn't reloaded by an in-session pip upgrade. Pin prettytable<3.18 (which works with wcwidth 0.2.14) instead. See #938. Co-Authored-By: Claude Opus 4.8 --- lectures/house_auction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/house_auction.md b/lectures/house_auction.md index 003fce2a7..6dc8eb9a7 100644 --- a/lectures/house_auction.md +++ b/lectures/house_auction.md @@ -17,7 +17,7 @@ kernelspec: --- tags: [hide-output] --- -!pip install -U prettytable wcwidth +!pip install "prettytable<3.18" ``` ## Overview