Skip to content

Upgrade Gymnasium version#113

Open
TheEimer wants to merge 2 commits intomainfrom
upgrade-gymnasium-version
Open

Upgrade Gymnasium version#113
TheEimer wants to merge 2 commits intomainfrom
upgrade-gymnasium-version

Conversation

@TheEimer
Copy link
Copy Markdown
Contributor

Most of the update was simple, but there are some interesting changes:

  1. Final obs are now always shown and then we throw away the next transition (only for updates, not in logging). In practice, this means replacing these transitions with nans, setting them to 0 in the trajectory buffer and not adding them to replay.
  2. We can't access the "envs" list in the vector envs anymore
  3. Dependencies are a problem: pufferlib and CARL can't be installed with the new numpy/gymnasium version

So this needs a review and we need to decide what to do about CARL and pufferlib. @AndreBiedenkapp might have time to look at a gymnasium update in CARL, but we're powerless for pufferlib, obviously. Pufferlib still works with the new version, though, it's simply an install conflict we could in theory work around. I didn't fix this in the dependencies yet since we should discuss this together.

@TheEimer TheEimer requested a review from amsks March 19, 2026 15:38
@TheEimer
Copy link
Copy Markdown
Contributor Author

Would close issues #103 and #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant