From f40cb3fb21f4f27b3ff7889c42c52fa26af200bf Mon Sep 17 00:00:00 2001 From: Max Balandat Date: Tue, 30 Sep 2025 15:56:38 -0700 Subject: [PATCH] Remove version pins for mpmath and typeguard These are old pins that are unnecssary at this point: - `typeguard` is not a dependency of `jaxtyping` since https://github.com/patrick-kidger/jaxtyping/releases/tag/v0.2.35 - the `mpmath` version incompatibility has been resolved in newer sympy versions: https://github.com/sympy/sympy/issues/26273#issuecomment-2149464292 --- setup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.py b/setup.py index 1c318a2f..8a55955d 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,6 @@ install_requires += [ "scipy", "jaxtyping", - "mpmath>=0.19,<=1.3", # avoid incompatibiltiy with torch+sympy with mpmath 1.4 ] @@ -93,8 +92,6 @@ def find_version(*file_paths): "flake8==5.0.4", "flake8-print==5.0.0", "pytest", - "typeguard~=2.13.3" # jaxtyping seems to only be compatible with older typeguard versions - # https://github.com/patrick-kidger/jaxtyping/commit/77c263c3def8ea3bcb7d7642c5a8402c16cf76fb ], }, test_suite="test",