From 96e374f4b6ba7b4f857341184b200a6a4ed3c925 Mon Sep 17 00:00:00 2001 From: Christian Wirth Date: Fri, 14 Jun 2024 12:57:54 +0200 Subject: [PATCH 1/3] typeguard 4.3.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0fa7de65..d587e1a2 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ install_requires += [ "scipy", "jaxtyping>=0.2.9", - "typeguard~=2.13.3", + "typeguard~=4.3.0", "mpmath>=0.19,<=1.3", # avoid incompatibiltiy with torch+sympy with mpmath 1.4 ] From be20796d118aa8245b3aebe37d139481367062dc Mon Sep 17 00:00:00 2001 From: Geoff Pleiss <824157+gpleiss@users.noreply.github.com> Date: Tue, 13 Aug 2024 09:47:16 -0700 Subject: [PATCH 2/3] Remove fixed version of typeguard --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 8ed649db..49a6daf3 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,6 @@ install_requires += [ "scipy", "jaxtyping==0.2.19", - "typeguard~=4.3.0", "mpmath>=0.19,<=1.3", # avoid incompatibiltiy with torch+sympy with mpmath 1.4 ] From 9931ec092bceef72575af4b9519be9cd4bd44a38 Mon Sep 17 00:00:00 2001 From: Geoff Pleiss <824157+gpleiss@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:00:15 -0700 Subject: [PATCH 3/3] Lock typeguard version only in test requires --- setup.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 49a6daf3..f3313a47 100644 --- a/setup.py +++ b/setup.py @@ -90,7 +90,13 @@ def find_version(*file_paths): "sphinx-autodoc-typehints", "uncompyle6<=3.9.0", ], - "test": ["flake8==5.0.4", "flake8-print==5.0.0", "pytest"], + "test": [ + "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", )