github Farama-Foundation/Gymnasium v0.29.1

latest releases: v1.0.0a2, v1.0.0a1
13 months ago

A minimal release that fixes a warning produced by Wrapper.__getattr__.
In particular, this function will be removed in v1.0.0 however the reported solution for this was incorrect and the updated solution still caused the warning to show (due to technical python reasons).

Changes

  • The Wrapper.__getattr__ warning reports the incorrect new function, get_attr rather than get_wrapper_attr
  • When using get_wrapper_attr, the __getattr__ warning is still be raised due to get_wrapper_attr using hasattr which under the hood uses __getattr__. Therefore, updated to remove the unintended warning.
  • Add warning to VectorEnvWrapper.__getattr__ to specify that it also is deprecated in v1.0.0

Full Changelog: v0.29.0...v0.29.1

Don't miss a new Gymnasium release

NewReleases is sending notifications on new releases.