Skip to content

[Proposal] Remove mujoco-py based environments at May 2025 #993

@Kallinteris-Andreas

Description

@Kallinteris-Andreas

Proposal

mujoco-py is an old unmaintained version of MuJoCo bindings (mujoco is the new version), and its inclusion in the gymnasium project is causing some issues (the environments that still use that library are v2 and v3 of the MuJoCo environments).

At May 2022 the first mujoco based environments were released (Ant-v4 and other MuJoCo-v4 environments) and they have been a big improvement, but the old environments are still used for reproducibility of old experiments, so we are giving a 3-year period from the release of new environments (1 year after this post) for which we will still support them and include them in the repository, afterward they will be moved to a separate repository and will not be supported.

The mujoco-py environments are considered deprecated until their removal

Motivation

  1. Cython>=3 is not supported with mujoco-py why restricts other libraries that can be used [Proposal] Update cython dependency to cython 3 #921

Pitch

No response

Alternatives

There is the option to create a mujoco-py soft fork PyPI package that just update the build script, but i am choosing to not follow it as an economization of development time

openai/mujoco-py#782

that being said if someone i willing to assist it might happen.

Additional context

Note this also applies https://robotics.farama.org/ environments

Checklist

  • I have checked that there is no similar issue in the repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions