Skip to content

Update gymnasium to 1.0.0

Summary

Gymnasium has released it's first non-beta version, Gymnasium 1.0.0. We are currently on version 0.29.1.

The update contains a lot of bugfixes, but also breaking changes probably. The goal is to integrate the new version into eta-utility. Previous updates of Gymnasium introduced breaking changes to the signature of the step() and reset() method. So all the import method signatures but also classes like Env and BaseAlgorithm (our agent) need to be checked.

Since stable-baselines3 depends a lot on Gymnasium and it now also supports Gymnasium 1.0.0, it should be updated as well.

Tasks:

  • Check Gymnasium release notes
  • Identify breaking changes for eta-utility
  • Evaluate possible new features from Gymnasium
  • Check potential other dependency updates
  • Check stable-baselines3 release notes
  • Update dependency versions in Poetry
  • Fix breaking changes in code
  • Potentially adapt our code to the new updates/functionalities
Edited by Julius Balzer