Skip to content

Commit

Permalink
Try to fix dependencies and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RedTachyon committed Jan 17, 2024
1 parent 04429da commit fa1d165
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 7 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

Expand All @@ -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",
Expand All @@ -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"
Expand Down

0 comments on commit fa1d165

Please sign in to comment.