Farama-Foundation / MAgent2

An engine for high performance multi-agent environments with very large numbers of agents, along with a set of reference environments
https://magent2.farama.org
MIT License
219 stars 37 forks source link

Add pettingzoo as dependency in pyproject.toml #25

Closed elliottower closed 1 year ago

elliottower commented 1 year ago

I looked through the codebase and didn't see this anywhere as a requirement, but there's multiple env files which have calls to things like aec_to_parallel and I don't imagine those would work unless the end user happens to have pettingzoo installed independently. What we really need is some basic pytest stuff and better CI to catch these kinds of issues, but this I think should suffice for now. Note that gymnasium is required in pettingzoo, so it doesn't need to be specified as a dependency here (easier to make sure that the pettingzoo version is up to date at least, and let pettingzoo keep up to date with gymnasium itself internally)