Skip to content

Commit 9ae872e

Browse files
committed
Pin sympy to 1.13.3 to avoid 1.14.0 bug
- SymPy 1.14.0 (bundled with Anaconda 2025.12) has a regression causing OverflowError in solve() for symbolic differentiation - Bug occurs in solow.md when solving c.diff() due to factorint issue with large mpz integers trying to convert to float - Pinning to 1.13.3 which works correctly with Python 3.13 - Added TODO to check for SymPy 1.14.1+ when available
1 parent ffc8b59 commit 9ae872e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

environment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@ dependencies:
1515
- sphinxcontrib-youtube==1.4.1
1616
- sphinx-togglebutton==0.3.2
1717
- sphinx-reredirects==1.0.0
18+
# TODO: Check for SymPy 1.14.1+ when available
19+
# Pinned to 1.13.3 due to bug in 1.14.0 causing OverflowError in solve()
20+
# for symbolic differentiation in solow.md (factorint issue with large mpz)
21+
- sympy==1.13.3
1822

1923

0 commit comments

Comments
 (0)