File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 2020import functools as ft
2121import importlib .metadata
2222import typing
23- import warnings
2423from typing import TypeAlias , Union
2524
2625from ._array_types import (
@@ -218,20 +217,4 @@ def __getattr__(item):
218217 raise AttributeError (f"module jaxtyping has no attribute { item !r} " )
219218
220219
221- check_equinox_version = True # easy-to-replace line with copybara
222- if check_equinox_version :
223- try :
224- eqx_version = importlib .metadata .version ("equinox" )
225- except importlib .metadata .PackageNotFoundError :
226- pass
227- else :
228- major , minor , patch = eqx_version .split ("." )
229- equinox_version = (int (major ), int (minor ), int (patch ))
230- if equinox_version < (0 , 11 , 0 ):
231- warnings .warn (
232- "jaxtyping version >=0.2.23 should be used with Equinox version "
233- ">=0.11.1"
234- )
235-
236-
237220__version__ = importlib .metadata .version ("jaxtyping" )
You can’t perform that action at this time.
0 commit comments