Skip to content

Commit

Permalink
Fix simulation error caused by Pydantic version in Ray (#2002)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Jul 5, 2023
1 parent b87e7e2 commit 35bcb9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,15 @@ importlib-metadata = { version = "^4.0.0", markers = "python_version < '3.8'" }
iterators = "^0.0.2"
# Optional dependencies (VCE)
ray = { version = "==2.5.1", extras = ["default"], optional = true }
pydantic = { version = "<2.0.0", optional = true }
# Optional dependencies (REST transport layer)
requests = { version = "^2.28.2", optional = true }
fastapi = { version = "^0.95.0", optional = true }
starlette = { version = "^0.27.0", optional = true }
uvicorn = { version = "^0.21.1", extras = ["standard"], optional = true }

[tool.poetry.extras]
simulation = ["ray"]
simulation = ["ray", "pydantic"]
rest = ["fastapi", "requests", "starlette", "uvicorn"]

[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 35bcb9b

Please sign in to comment.