Skip to content

Commit

Permalink
fix: fix extra dependency specification (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 authored Dec 10, 2024
1 parent 21cb18c commit 90e06b6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ pydantic = ">=2.0.0,<3.0.0"
tqdm = ">=4.0.0,<5.0.0"
redis = { version = "~5.1.0", optional = true, extras = ["hiredis"] }
Pillow = { version = ">=9.3,<10.4", optional = true }
tritonclient = {extras = ["grpc"], version = ">2.0.0,<3.0.0", optional = true}
opencv-python = {version = ">4.0.0,<5.0.0", optional = true}

[tool.poetry.group.dev.dependencies]
requests-mock = "1.11.0"
Expand All @@ -37,14 +39,10 @@ types-requests = "2.31.0.2"
types-tqdm = "4.66.0.20240417"
types-redis = "^4.6.0.20240425"


[tool.poetry.group.ml.dependencies]
tritonclient = {extras = ["grpc"], version = ">2.0.0,<3.0.0"}
opencv-python = ">4.0.0,<5.0.0"

[tool.poetry.extras]
redis = ["redis"]
Pillow = ["Pillow"]
pillow = ["Pillow"]
ml = ["tritonclient", "opencv-python", "Pillow"]

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 90e06b6

Please sign in to comment.