Skip to content

Raise the MuJoCo minimum to 3.13.0 - #1777

Merged
thowell merged 1 commit into
google-deepmind:mainfrom
shi-eric:ershi/fix-declared-mujoco-min
Oct 12, 2026
Merged

thowell merged 1 commit into
google-deepmind:mainfrom
shi-eric:ershi/fix-declared-mujoco-min

Conversation

@shi-eric

Copy link
Copy Markdown
Collaborator

The declared mujoco>=3.12.0 requirement permits MuJoCo 3.12.0, which lacks mujoco.mjtIntegrator.mjINT_DISCRETE. Because IntegratorType references that enum unconditionally, importing mujoco_warp raises AttributeError with an allowed dependency version. The reported 3.12.1.dev967732139 wheel has the same failure.

Raise the minimum to mujoco>=3.13.0 and synchronize the lockfile requirement. MuJoCo 3.13.0 is the first stable release with the discrete integrator, and the oldest stable release verified in these checks. Raising the bound rejects incompatible engines during dependency resolution without introducing compatibility shims.

Validated on Python 3.12 with Warp 1.15.0: MuJoCo 3.13.0 passes import, model/data conversion, forward, and one step on CPU and CUDA for Euler, implicitfast, and discrete, with numerical comparison against MuJoCo. The original 3.12.1.dev967732139 pin is now rejected during dependency resolution, and targeted pre-commit checks pass. The full suite was not run for this dependency-only change.

MuJoCo 3.12.0 satisfies the declared dependency but lacks
mjINT_DISCRETE, which is referenced unconditionally at import time.
Installing a permitted engine can therefore make mujoco_warp fail to
import.

Require MuJoCo 3.13.0, the oldest stable release verified to import and
run forward and step with the existing APIs. Raising the bound rejects
incompatible engines during resolution without compatibility shims.

@thowell thowell left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @shi-eric!

@thowell
thowell merged commit 98e7c4b into google-deepmind:main Oct 12, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants