Skip to content

SuperSuit 3.9.0

Compare
Choose a tag to compare
@elliottower elliottower released this 21 Jul 00:44
· 34 commits to master since this release
dc4dc8a

SuperSuit 3.9.0 Release Notes:

This release fixes a number of issues related to SB3 vector environments, ensuring full compatibility with PettingZoo and Gymnasium. It also adds support for action masked environments, using gymnasium wrappers (e.g., NormalizeObservation) on vector environments, and adds Python 3.11 support. Support for Python 3.7 has been removed as it has reached end-of-life (link). This release also ensures compatibility with the most recent Gymnasium 0.29.0 and PettingZoo 1.24.0, which is being released alongside this release.

Breaking Changes

  • Remove python 3.7 support in favor of 3.11 (#225)

New Features and Improvements:

  • Add full action masking support, expand and refactor testing (#227)
  • Add test to check that Gymnasium wrappers work on vector envs (#230)

Note: Gymnasium wrappers must be applied before SB3 wrappers, as the return values on reset() are different.

The following code will raise an error:

env = ss.concat_vec_envs_v1(env, 10, base_class="stable_baselines3")
env = normalize.NormalizeObservation(env)

To fix this, normalize before concatenating:

env = normalize.NormalizeObservation(env)
env = ss.concat_vec_envs_v1(env, 10, base_class="stable_baselines3")

Bug Fixes:

  • Fix SB3 wrapper and ProcConcatVec not returning info (#224)
  • Fix SB3 wrapper to match DummyVecEnv reset() method (#226)
  • Fix SB3 wrapper render() method signature mismatched with SB3 superclass VecEnvWrapper (#228)

Full Changelog: 3.8.1...3.9.0