Skip to content

Commit 24a5518

Browse files
Update to Jumpy 1.0 (#345)
1 parent 2ac4d40 commit 24a5518

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gymnasium/experimental/wrappers/lambda_action.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
try:
13-
import jumpy as jp
13+
import jumpy.numpy as jp
1414
except ImportError as e:
1515
raise ImportError("Jumpy is not installed, run `pip install jax-jumpy`") from e
1616
import numpy as np

gymnasium/experimental/wrappers/lambda_observations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
try:
21-
import jumpy as jp
21+
import jumpy.numpy as jp
2222
except ImportError as e:
2323
raise ImportError("Jumpy is not installed, run `pip install jax-jumpy`") from e
2424
import numpy as np

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626
]
2727
dependencies = [
2828
"numpy >=1.21.0",
29-
"jax-jumpy >=0.2.0",
29+
"jax-jumpy>=1.0.0",
3030
"cloudpickle >=1.2.0",
3131
"importlib-metadata >=4.8.0; python_version < '3.10'",
3232
"typing-extensions >=4.3.0",

0 commit comments

Comments
 (0)