diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83da95f..eb91452 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,8 +33,8 @@ shfmt: - mkdir -p ${PIP_CACHE_DIR} - python -m venv .venv - source .venv/bin/activate - - pip install -r requirements.txt - - pip install -e .[all] + - pip install --upgrade pip + - pip install -e .[dev] cache: - paths: - .cache/pip diff --git a/pyproject.toml b/pyproject.toml index a31ed88..2a0d8ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,16 +9,17 @@ readme = "README.md" license = "" dependencies = [ - "cogment[generate]>=2.0.0,<3.0.0", - "grpcio>=1.44", - "PyYAML~=6.0.1", + "cogment[generate]>=2.10.1,<3.0.0", + "grpcio>=1.48", + "grpcio-tools>=1.48", + "PyYAML>=5.0", "starlette>=0.21.0", "uvicorn>=0.17.6", "Gymnasium[classic_control]~=0.29", "PettingZoo~=1.23.1", "numpy", "opencv-python>=4.8", - "fastapi>=0.105", + "fastapi>=0.103", "pillow>=9.0", ] @@ -41,9 +42,6 @@ all = [ "pytest-asyncio", "coltra>=0.2.1", "torch", - "Grid2Op==1.9.6", - "lightsim2grid", - "numba==0.56.4", "matplotlib", "wandb>=0.13.9", "hatch>=1.9.1", @@ -52,15 +50,12 @@ all = [ "jupyterlab>=3.5.3", ] dev = [ - "pytest >=7.1.3", + "pytest>=7.1.3", "pytest-asyncio", "ruff>=0.1.7", - "jupyter>=1.0.0", - "jupyterlab>=3.5.3", - "hatch>=1.9.1" + "hatch>=1.7.0" ] coltra = ["coltra>=0.2.1", "torch", "wandb>=0.13.9"] -grid2op = ["Grid2Op==1.9.6", "lightsim2grid", "numba==0.56.4"] [project.urls] Homepage = "https://cogment.ai/lab"