From ca309b03d20344e9939de42489b51f40dcbc3d67 Mon Sep 17 00:00:00 2001 From: Cyber Dick Lang <286878701@qq.com> Date: Wed, 16 Jul 2025 16:47:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20sync=20dependencies=20between=20requir?= =?UTF-8?q?ements.txt=20and=20pyproject.toml=20-=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E6=96=87=E4=BB=B6=EF=BC=8C=E7=A1=AE=E4=BF=9D?= =?UTF-8?q?=E5=8C=85=E5=90=AB=E6=89=80=E6=9C=89=E9=A1=B9=E7=9B=AE=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E4=BD=BF=E7=94=A8=E7=9A=84=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 14 +++++++++++++- requirements.txt | 26 ++++++++++++++++++++------ 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2c6e603..763dab5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,19 @@ name = "universaltoolkit" description = "A comprehensive toolkit based on ComfyUI, providing image, mask, audio, and tools nodes, fully modular and v3 compatible." version = "1.2.0" license = {file = "LICENSE"} -dependencies = ["torch", "numpy", "Pillow", "opencv-python", "scipy", "tqdm"] +dependencies = [ + "torch>=1.9.0", + "numpy>=1.21.0", + "Pillow>=8.0.0", + "opencv-python>=4.5.0", + "librosa>=0.8.0", + "torchaudio>=1.9.0", + "soundfile>=0.10.0", + "scipy>=1.7.0", + "requests>=2.25.0", + "aiohttp>=3.8.0", + "tqdm>=4.60.0" +] requires-python = ">=3.8" classifiers = [ "Operating System :: OS Independent", diff --git a/requirements.txt b/requirements.txt index 75d4df1..c226b0f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,20 @@ -Pillow -numpy -torch -librosa -torchaudio -opencv-python \ No newline at end of file +# Core dependencies +torch>=1.9.0 +numpy>=1.21.0 +Pillow>=8.0.0 +opencv-python>=4.5.0 + +# Audio processing +librosa>=0.8.0 +torchaudio>=1.9.0 +soundfile>=0.10.0 + +# Scientific computing +scipy>=1.7.0 + +# Network requests +requests>=2.25.0 +aiohttp>=3.8.0 + +# Progress bars (optional but useful) +tqdm>=4.60.0 \ No newline at end of file