Skip to content

Commit

Permalink
Bump ale-py to v0.8.1 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudo-rnd-thoughts authored Feb 17, 2023
1 parent 0be00c1 commit 6e529b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_version():

extras = {
"gym": ["gym>=0.21"],
"atari": ["ale-py~=0.8.0"],
"atari": ["ale-py~=0.8.1"],
# "imageio" should be "gymnasium[mujoco]>=0.26" but there are install conflicts
"dm-control": ["dm-control>=1.0.10", "imageio", "h5py>=3.7.0"],
"dm-control-multi-agent": ["dm-control>=1.0.10", "pettingzoo>=1.22"],
Expand Down
6 changes: 3 additions & 3 deletions shimmy/utils/envs_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,17 @@
"surround",
"tennis",
"tetris",
"tic_tac_toe3_d",
"tic_tac_toe_3d",
"time_pilot",
"trondead",
"turmoil",
"tutankham",
"up_n_down",
"venture",
"video_checkers",
"video_chess",
"video_cube",
"video_pinball",
"videochess",
"videocube",
"wizard_of_wor",
"word_zapper",
"yars_revenge",
Expand Down
7 changes: 3 additions & 4 deletions tests/test_atari.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ def test_all_atari_roms():
],
)
def test_atari_envs(env_id):
"""Tests the atari envs, as there are 1000 possible environment, we only test the Pong variants.
Known environments that fail this test - ALE/TicTacToe3D-v5, ALE/VideoChess-v5, ALE/Videocube-v5 + ram variants.
"""
"""Tests the atari envs, as there are 1000 possible environment, we only test the Pong variants."""
env = gym.make(env_id)

with warnings.catch_warnings(record=True) as caught_warnings:
check_env(env.unwrapped)

env.close()

for warning_message in caught_warnings:
assert isinstance(warning_message.message, Warning)
if warning_message.message.args[0] not in CHECK_ENV_IGNORE_WARNINGS:
Expand Down

1 comment on commit 6e529b6

@vercel
Copy link

@vercel vercel bot commented on 6e529b6 Feb 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.