From c3d789474f7eac64e4564d6e24b74c9b5da2df64 Mon Sep 17 00:00:00 2001 From: ding3820 Date: Mon, 24 Jun 2024 14:44:08 +0800 Subject: [PATCH] build: update pyproject.toml --- pyproject.toml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ddc2ab6..0db9eb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,17 +8,16 @@ exclude = ["examples*", "tests"] include = ["scripts/*"] [tool.poetry.dependencies] -python = ">=3.8, <3.11" -jsonschema = ">=4.5.1" +python = "^3.9" aiofile = "^3.8.2" fastapi = "^0.100.0" pydantic = "^2.0.0" uvicorn = "^0.21.0" nanoid = "^2.0.0" gradio = "^4.0.0" -tritonclient = {extras = ["http"], version = "^2.45.0"} -opencv-python-headless = "4.8.1.78" requests = "^2.28.0" +opencv-python-headless = "^4.5.3.56" +tritonclient = {version = "^2.17.0", extras = ["http"]} [tool.poetry.group.test] optional = true @@ -39,7 +38,6 @@ torchvision = {version = "0.14.0", source = "torch-cu117"} lungmask = "^0.2.20" monai = {version = "~1.1.0", extras = ["einops"]} ultralytics = "^8.2.16" -opencv-python-headless = "4.8.1.78" [tool.poetry.group.cls_example] optional = true @@ -53,7 +51,6 @@ optional = true [tool.poetry.group.det_example.dependencies] ultralytics = "^8.2.16" -opencv-python-headless = "4.8.1.78" [tool.poetry.group.reg_example] optional = true @@ -85,6 +82,7 @@ optional = true pre-commit = "^3.5.0" ipykernel = "^6.29.4" + [[tool.poetry.source]] name = "torch-cu117" url = "https://download.pytorch.org/whl/cu117"