diff --git a/gym/core.py b/gym/core.py index 2b507322e..931770d8c 100644 --- a/gym/core.py +++ b/gym/core.py @@ -231,7 +231,7 @@ class Env(Generic[ObsType, ActType]): there aren't accidental correlations between multiple generators. Args: - seed(Optional int): The seed value for the random number geneartor + seed(Optional int): The seed value for the random number generator Returns: seeds (List[int]): Returns the list of seeds used in this environment's random diff --git a/py.Dockerfile b/py.Dockerfile index 0d4c290cb..b8e3a7e39 100644 --- a/py.Dockerfile +++ b/py.Dockerfile @@ -14,6 +14,6 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mujoco210/bin COPY . /usr/local/gym/ WORKDIR /usr/local/gym/ -RUN if [ python:$PYTHON_VERSION = "python:3.6.15" ] ; then pip install .[box2d,classic_control,toy_text,other] pytest mock ; else pip install .[testing] ; fi +RUN if [ python:$PYTHON_VERSION = "python:3.6.15" ] ; then pip install .[box2d,classic_control,toy_text,other] pytest==7.0.1 ; else pip install .[testing] ; fi ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"] diff --git a/setup.py b/setup.py index 37e4d7cba..ed8d21f89 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ extras = { testing_group = set(extras.keys()) - {"accept-rom-license", "atari"} extras["testing"] = list( set(itertools.chain.from_iterable(map(lambda group: extras[group], testing_group))) -) + ["pytest", "mock"] +) + ["pytest==7.0.1"] # All dependency groups - accept rom license as requires user to run all_groups = set(extras.keys()) - {"accept-rom-license"} diff --git a/test_requirements.txt b/test_requirements.txt index acacae8a0..036602735 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -6,5 +6,4 @@ matplotlib>=3.0 imageio>=2.14.1 pygame==2.1.0 mujoco_py<2.2,>=2.1 -pytest -mock +pytest==7.0.1