New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compatibility with Gym 0.26.0 #4335
base: master
Are you sure you want to change the base?
Conversation
For compatibility with Gym 0.26.0 is needed to change the: Thanks. |
For compatibility with Gym 0.26.0 and newer, I must change all The new form of observation, reward, terminated, truncated, info = env.step(action) The new form of observation, info = env.reset() The @erwincoumans Please can you do tests of the correctness? |
Thanks for the pull request. Would this change also make PyBullet incompatible with all older versions of Gym? Is there some gym version check possible? Or remove the order enforcing wrapper after make externally? |
There are more changes than the wrapper, because Gym 0.26.0 use new form of It will be incompatible with the older Gym..... But checking the Gym version can solve this problem. Thanks. |
When will these changes for compatibility with Gym 0.26 be merged to the master branch? Thanks! |
Fyi, I pushed and released on pypi a subset of pybullet envs compatible with gymnasium: https://github.com/araffin/pybullet_envs_gymnasium |
Hi @erwincoumans,
for fixing the issues #4331 and openai/gym#3073, I must add
order_enforce=False
flag to allregister()
at init.py becouse new version of Gym doesn't allow callenv.render()
before callingenv.reset()
.Thanks for your time.