openai / gym

A toolkit for developing and comparing reinforcement learning algorithms.
https://www.gymlibrary.dev
Other
34.58k stars 8.59k forks source link

Update passive_env_checker.py with np.bool_ instead of np.bool8 #3271

Closed jblackiex closed 5 months ago

jblackiex commented 5 months ago

passive_envchecker.py:233: DeprecationWarning: np.bool8 is a deprecated alias for `np.bool`. (Deprecated NumPy 1.24)

Description

passive_envchecker.py:233: DeprecationWarning: np.bool8 is a deprecated alias for `np.bool`. (Deprecated NumPy 1.24). I replaced all occurences of np.bool8 with np.bool_ inside passive_env_checker.py.

Fixes # (Deprecated Package)

Type of change

Please delete options that are not relevant.

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist:

pseudo-rnd-thoughts commented 5 months ago

Gym is not longer maintained, see Gymnasium which has already fixed this