google-deepmind / dm_env

A Python interface for reinforcement learning environments
Apache License 2.0
342 stars 43 forks source link

`np.object` was a deprecated alias for the builtin `object` #15

Closed tartavull closed 1 year ago

tartavull commented 1 year ago
   > `np.object` was a deprecated alias for the builtin `object`. To avoid this error in existing code, use `object` by itself. Doing this will not modify any behavior and is safe.
   > The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
   >     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
   >
   > ----------------------------------------------------------------------
   > Ran 37 tests in 1.683s
   >
   > FAILED (errors=1)
   > Test failed: <unittest.runner.TextTestResult run=37 errors=1 failures=0>
   > error: Test failed: <unittest.runner.TextTestResult run=37 errors=1 failures=0>
tartavull commented 1 year ago

NVM this was addressed on https://github.com/deepmind/dm_env/commit/50c13e69fe1385d8ce408535652ff506bd902ef3 There just hasn't been a released since then.