Skip to content

Commit 770cb53

Browse files
committed
chore(deps): bump equinox and undo patch
1 parent 179c8c6 commit 770cb53

File tree

3 files changed

+1543
-1334
lines changed

3 files changed

+1543
-1334
lines changed

differt/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717
dependencies = [
1818
"chex>=0.1.86",
1919
"differt-core==0.0.37",
20-
"equinox>=0.11.5",
20+
"equinox>=0.12.2",
2121
"filelock>=3.15.4",
2222
"jax>=0.4.32",
2323
"jaxtyping>=0.2.24",

differt/src/differt/conftest.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from typing import Any
33

44
import chex
5-
import equinox as eqx
65
import jax
76
import jax.numpy as jnp
87
import matplotlib.pyplot as plt
@@ -34,19 +33,3 @@ def set_printoptions() -> None:
3433
# We need to do that because floats seem to vary across OSes:
3534
# https://github.com/numpy/numpy/issues/21209.
3635
jax.numpy.set_printoptions(precision=7, suppress=True)
37-
38-
39-
class _wrap_method(eqx._module._wrap_method): # noqa: N801, SLF001
40-
def __init__(self, *args: Any, **kwargs: Any) -> None:
41-
super().__init__(*args, **kwargs)
42-
try: # noqa: SIM105
43-
self.__module__ = self.method.__module__
44-
except AttributeError:
45-
pass
46-
try: # noqa: SIM105
47-
self.__doc__ = self.method.__doc__
48-
except AttributeError:
49-
pass
50-
51-
52-
eqx._module._wrap_method = _wrap_method # noqa: SLF001

0 commit comments

Comments
 (0)