diff --git a/requirements.txt b/requirements.txt index 64f02307..c73c0a14 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ networkx>=2 more_itertools tatsu>=5.8.3 hashids>=1.2.0 -jericho>=3.0.3 +jericho>=3.3.0 mementos>=1.3.1 termcolor diff --git a/textworld/envs/zmachine/jericho.py b/textworld/envs/zmachine/jericho.py index 4bed0432..7c643044 100644 --- a/textworld/envs/zmachine/jericho.py +++ b/textworld/envs/zmachine/jericho.py @@ -142,3 +142,4 @@ def copy(self) -> "JerichoEnv": # By default disable the warning about unsupported games. warnings.simplefilter("ignore", jericho.UnsupportedGameWarning) +warnings.simplefilter("ignore", jericho.TruncatedInputActionWarning)