mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-31 22:04: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.
|
there aren't accidental correlations between multiple generators.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
seed(Optional int): The seed value for the random number geneartor
|
seed(Optional int): The seed value for the random number generator
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
seeds (List[int]): Returns the list of seeds used in this environment's random
|
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/
|
COPY . /usr/local/gym/
|
||||||
WORKDIR /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"]
|
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"}
|
testing_group = set(extras.keys()) - {"accept-rom-license", "atari"}
|
||||||
extras["testing"] = list(
|
extras["testing"] = list(
|
||||||
set(itertools.chain.from_iterable(map(lambda group: extras[group], testing_group)))
|
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 dependency groups - accept rom license as requires user to run
|
||||||
all_groups = set(extras.keys()) - {"accept-rom-license"}
|
all_groups = set(extras.keys()) - {"accept-rom-license"}
|
||||||
|
@@ -6,5 +6,4 @@ matplotlib>=3.0
|
|||||||
imageio>=2.14.1
|
imageio>=2.14.1
|
||||||
pygame==2.1.0
|
pygame==2.1.0
|
||||||
mujoco_py<2.2,>=2.1
|
mujoco_py<2.2,>=2.1
|
||||||
pytest
|
pytest==7.0.1
|
||||||
mock
|
|
||||||
|
Reference in New Issue
Block a user