spear-sim / spear

SPEAR: A Simulator for Photorealistic Embodied AI Research
MIT License
243 stars 18 forks source link

update gym version to fix conflict with newer version of setuptools module #286

Closed RachithP closed 6 months ago

RachithP commented 6 months ago

gym==0.21.0 has conflicts with setuptools>65.5.0 (https://github.com/openai/gym/issues/3176). In order to resolve this issue,

  1. 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
  2. gym must be upgraded. Since, gym upgrade to 0.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.

mikeroberts3000 commented 6 months ago

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.