Skip to content

Commit

Permalink
Pin mpmath to <=1.3.0
Browse files Browse the repository at this point in the history
Without this, this can cause breakages with pytorch nightlies, see pytorch/pytorch#120995
  • Loading branch information
Balandat committed Mar 18, 2024
1 parent a00c08e commit a0aa9dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@
pass

# Other requirements
install_requires += ["scipy", "jaxtyping>=0.2.9", "typeguard~=2.13.3"]
install_requires += [
"scipy",
"jaxtyping>=0.2.9",
"typeguard~=2.13.3",
"mpmath>=0.19,<=1.3", # avoid incompatibiltiy with torch+sympy with mpmath 1.4
]


# Get version
Expand Down

0 comments on commit a0aa9dd

Please sign in to comment.