Farama-Foundation / SuperSuit

A collection of wrappers for Gymnasium and PettingZoo environments (being merged into gymnasium.wrappers and pettingzoo.wrappers
Other
441 stars 56 forks source link

Change usages of reset() to obs, info = reset() #214

Closed elliottower closed 1 year ago

elliottower commented 1 year ago

This PR fixes a number of issues with both PettingZoo and current Gymnasium versions. Much of the code in SuperSuit uses obs = env.reset() rather than obs, info = env.reset(), so I had to adapt things to work.

elliottower commented 1 year ago

If you look at the 'disable gen env tests which fail' CI the only thing that fails is pre-commit