mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-31 05:44:31 +00:00
Pin pytest to 7.0.1 (#2898)
This commit is contained in:
@@ -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
|
||||
|
@@ -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"]
|
||||
|
2
setup.py
2
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"}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user