the setuptools version must be downgraded, as the default version with python3.8 using conda is 69.5.1. Also, the version of wheels must be downgraded to below 0.40.0 as noted here
100% agree with your reasoning. And we're barely using gym for anything anyway, so even if there were a lot of breaking API changes in the new gym version, I'd be surprised if we would be affected.
gym==0.21.0
has conflicts withsetuptools>65.5.0
(https://github.com/openai/gym/issues/3176). In order to resolve this issue,setuptools
version must be downgraded, as the default version with python3.8 using conda is69.5.1
. Also, the version ofwheels
must be downgraded to below0.40.0
as noted heregym
must be upgraded. Since,gym
upgrade to0.23.0
(https://github.com/openai/gym/releases/tag/0.23.1) has no breaking API changes,I prefer this option 2 as it's better to upgrade modules rather than downgrading, and this option has the least code changes.