From 12c903d7c4461731b9c4db03451177aa10c2a620 Mon Sep 17 00:00:00 2001 From: Viet-Anh Nguyen Date: Sat, 3 Aug 2024 14:29:50 +0700 Subject: [PATCH] Pin package versions --- anylabeling/app_info.py | 2 +- requirements-gpu.txt | 2 +- requirements-macos.txt | 2 +- requirements.txt | 2 +- setup.py | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/anylabeling/app_info.py b/anylabeling/app_info.py index d2d8d5c..378b2be 100644 --- a/anylabeling/app_info.py +++ b/anylabeling/app_info.py @@ -1,4 +1,4 @@ __appname__ = "AnyLabeling" __appdescription__ = "Effortless data labeling with AI support" -__version__ = "0.4.2" +__version__ = "0.4.3" __preferred_device__ = "CPU" # GPU or CPU diff --git a/requirements-gpu.txt b/requirements-gpu.txt index df6b657..a19ac59 100644 --- a/requirements-gpu.txt +++ b/requirements-gpu.txt @@ -3,7 +3,7 @@ PyQt5==5.15.7 imgviz==1.5.0 natsort==8.1.0 termcolor==1.1.0 -PyYAML==6.0 +PyYAML==6.0.1 onnx==1.16.2 onnxruntime-gpu==1.18.1 qimage2ndarray==1.10.0 diff --git a/requirements-macos.txt b/requirements-macos.txt index 39fa858..faf17e8 100644 --- a/requirements-macos.txt +++ b/requirements-macos.txt @@ -3,7 +3,7 @@ opencv-contrib-python-headless==4.7.0.72 imgviz==1.5.0 natsort==8.1.0 termcolor==1.1.0 -PyYAML==6.0 +PyYAML==6.0.1 onnx==1.16.2 onnxruntime==1.18.1 qimage2ndarray==1.10.0 diff --git a/requirements.txt b/requirements.txt index 83648c2..81267e9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ PyQt5==5.15.7 imgviz==1.5.0 natsort==8.1.0 termcolor==1.1.0 -PyYAML==6.0 +PyYAML==6.0.1 onnx==1.16.2 onnxruntime==1.18.1 qimage2ndarray==1.10.0 diff --git a/setup.py b/setup.py index ff8c497..a9b1fa2 100644 --- a/setup.py +++ b/setup.py @@ -44,11 +44,11 @@ def get_install_requires(): install_requires = [ "imgviz>=0.11", "natsort>=7.1.0", - "numpy", + "numpy==1.26.4", "Pillow>=2.8", - "PyYAML", - "termcolor", - "opencv-python-headless", + "PyYAML==6.0.1", + "termcolor==1.1.0", + "opencv-python-headless==4.7.0.72", 'PyQt5>=5.15.7; platform_system != "Darwin"', "onnx==1.16.2", "qimage2ndarray==1.10.0",