[Numpy] - Depreciation Warning (np.bool8 is deprecated in numpy 1.24)
ai-nikolai opened this issue · 2 comments
ai-nikolai commented
When running textworld + gym the following depreciation warning happens: (when typing help
)
lib/python3.9/site-packages/gym/utils/passive_env_checker.py:233: DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`. (Deprecated NumPy 1.24)
if not isinstance(done, (bool, np.bool8)):
Software Versions:
- textworld==1.5.4
- numpy==1.26.2
- gym==0.25.2
- gym-notices==0.0.8
MarcCote commented
Thanks for pointing this out. I might consider making a new release and bump up the dependencies and fix all those deprecation warnings.