You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, would it be possible to update this repo to use the most recent version of PettingZoo? We want to list this project in PettingZoo's third-party-environments, but we can only include environments which work with the current version.
If you need any help working out issues due to different versions feel free to ask, there were some breaking changes in version 1.2, so it requires a bit of code changes to adapt. The previous API returned done in the step() function, whereas the new one returns truncated and terminated (matching gymnasium). There is a migration guide for gymnasium explaining the changes further, the steps should be basically the same (we're working on making resources for updating old PettingZoo repositories as well): https://gymnasium.farama.org/content/migration-guide/
This issue #204 mentioned the breaking changes previously (involving dones), but hopefully I can provide a little more information and help with updating.
The text was updated successfully, but these errors were encountered:
Hey Elliott, I have no issue with that but I have 0 coding time these months and am unable to make these changes. If someone wants to open a PR doing it and ping me, I'll approve it.
On Tue, May 9, 2023 at 4:18 AM Eugene Vinitsky ***@***.***> wrote:
Hey Elliott, I have no issue with that but I have 0 coding time these
months and am unable to make these changes. If someone wants to open a PR
doing it and ping me, I'll approve it.
—
Reply to this email directly, view it on GitHub
<#209 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHVPVAY4BKTDBA2UVLJ4V53XFH4TZANCNFSM6AAAAAAWK5DYHM>
.
You are receiving this because you authored the thread.Message ID:
<eugenevinitsky/sequential_social_dilemma_games/issues/209/1539144397@
github.com>
Hi, would it be possible to update this repo to use the most recent version of PettingZoo? We want to list this project in PettingZoo's third-party-environments, but we can only include environments which work with the current version.
If you need any help working out issues due to different versions feel free to ask, there were some breaking changes in version 1.2, so it requires a bit of code changes to adapt. The previous API returned
done
in the step() function, whereas the new one returns truncated and terminated (matching gymnasium). There is a migration guide for gymnasium explaining the changes further, the steps should be basically the same (we're working on making resources for updating old PettingZoo repositories as well): https://gymnasium.farama.org/content/migration-guide/This issue #204 mentioned the breaking changes previously (involving
dones
), but hopefully I can provide a little more information and help with updating.The text was updated successfully, but these errors were encountered: