From a10ccfe5b95ea9f2e0434b53e2c5f9a2bcf360a4 Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Mon, 17 Nov 2025 23:48:38 +0000 Subject: [PATCH] =?UTF-8?q?fix(pyproject.toml):=20=F0=9F=90=9E=20Update=20?= =?UTF-8?q?dependency=20versions=20in=20pyproject.toml=20to=20enforce=20up?= =?UTF-8?q?per=20limits=20(#22701)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Onuralp SEZER Co-authored-by: UltralyticsAssistant Co-authored-by: Glenn Jocher --- pyproject.toml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 96a4183e..f388d6b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,19 +61,19 @@ classifiers = [ # Required dependencies ------------------------------------------------------------------------------------------------ dependencies = [ - "numpy>=1.23.0", - "matplotlib>=3.3.0", - "opencv-python>=4.6.0", - "pillow>=7.1.2", - "pyyaml>=5.3.1", - "requests>=2.23.0", - "scipy>=1.4.1", - "torch>=1.8.0", - "torch>=1.8.0,!=2.4.0; sys_platform == 'win32'", # Windows CPU errors w/ 2.4.0 https://github.com/ultralytics/ultralytics/issues/15049 - "torchvision>=0.9.0", - "psutil", # system utilization - "polars", - "ultralytics-thop>=2.0.18", # FLOPs computation https://github.com/ultralytics/thop + "numpy>=1.23.0,<=2.3.4", + "matplotlib>=3.3.0,<=3.10.7", + "opencv-python>=4.6.0,<=4.12.0.88", + "pillow>=7.1.2,<=12.0.0", + "pyyaml>=5.3.1,<=6.0.3", + "requests>=2.23.0,<=2.32.5", + "scipy>=1.4.1,<=1.16.3", + "torch>=1.8.0,<=2.9.1; sys_platform != 'win32'", + "torch>=1.8.0,!=2.4.0,<=2.9.1; sys_platform == 'win32'", # Windows CPU errors w/ 2.4.0 https://github.com/ultralytics/ultralytics/issues/15049 + "torchvision>=0.9.0,<=0.24.1", + "psutil>=5.8.0,<=7.1.3", # system utilization + "polars>=0.20.0,<=1.35.2", + "ultralytics-thop<=2.0.18", # FLOPs computation https://github.com/ultralytics/thop ] # Optional dependencies ------------------------------------------------------------------------------------------------