Skip to content

Commit

Permalink
mark mujoco-py environments as explicity deprecated (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Feb 16, 2024
1 parent f77dc6c commit e2329b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/environments/mujoco.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ Gymnasium includes the following versions of the environments:
| ------- | --------------- | ------------------------------------------------ |
| `v5` | `mujoco=>2.3.3` | Recommended (most features, the least bugs) |
| `v4` | `mujoco=>2.1.3` | Maintained for reproducibility |
| `v3` | `mujoco-py` | Maintained for reproducibility (limited support) |
| `v2` | `mujoco-py` | Maintained for reproducibility (limited support) |
| `v3` | `mujoco-py` | Deprecated, Kept for reproducibility (limited support) |
| `v2` | `mujoco-py` | Deprecated, Kept for reproducibility (limited support) |

For more information, see the section "Version History" for each environment.

Expand Down
6 changes: 3 additions & 3 deletions gymnasium/envs/mujoco/mujoco_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,10 @@ def __init__(
)

logger.deprecation(
"This version of the mujoco environments depends "
"on the mujoco-py bindings, which are no longer maintained "
"This version of the mujoco environments is deprecated and depends "
"on the old mujoco-py bindings, which are no longer maintained "
"and may stop working. Please upgrade to the v5 or v4 versions of "
"the environments (which depend on the mujoco python bindings instead), unless "
"the environments (which depend on the new mujoco python bindings instead), unless "
"you are trying to precisely replicate previous works)."
)

Expand Down

0 comments on commit e2329b8

Please sign in to comment.