The syntax/function calls have been updated to work with the newer version of Numpy. For instance,
`.randint(...)`
was changed to
`.integer(...)`
New gym version 0.26
Gym 0.26 now passively type checks your function outputs at runtime, and some of the return types have changed. Specifically, the reset function now needs to return an observation and a dictionary with any information:
```env.reset() -> obs, {}```
The return of the reset function has been updated, and the tests have also been updated, so they now pass with this change in place.
The repo is not compatible with the newly updated pyglet2.* so the setup file has been changed to specify that the user needs a version of pyglet that is before version 2.
Fixed the import and dependencies in the agents directory.
Now, all tests pass the following is run:
`python -m pytest test_env.py`
while in the test directory and all the tests pass. At the highest level of the repo, the following can be run and the environment will be properly rendered.
`python lbforaging.py --render`
Hi @jbhoffman613 ! I just wanted to give you thanks for bringing this environment up to date with Python/Gymnasium, and am looking forward to testing it out.
Changes made: