diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6795d1df3fc3d4fde8e76b98c01ed2b3efc65ae7..eba7cd13524cc793b6d6d80af114e86b73c73079 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -33,7 +33,7 @@ repos:
         --ignore-missing-imports,
       ]
   - repo: https://github.com/asottile/pyupgrade
-    rev: v3.11.0
+    rev: v3.14.0
     hooks:
     - id: pyupgrade
       args: [--py39-plus]
diff --git a/conda/meta.yaml b/conda/meta.yaml
index 887572cc5684a23fb627dc013e757cf3c89ad32b..87030ca1973f457b8826fdf1ebbcdbc44d610fb8 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -24,10 +24,10 @@ requirements:
     - python >=3.10
     - pip
     - click {{ click }}
-    - grad-cam >=1.4.8
+    - grad-cam {{ grad_cam }}
     - matplotlib {{ matplotlib }}
     - numpy {{ numpy }}
-    - opencv {{ opencv }}
+    - py-opencv {{ py_opencv }}
     - pandas {{ pandas }}
     - pillow {{ pillow }}
     - psutil {{ psutil }}
diff --git a/pyproject.toml b/pyproject.toml
index 106c786f4f6736b1ae628061d896f10a6b0906bb..210ef6f4c9d37126cae44076952118b7fca634c3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -38,7 +38,7 @@ dependencies = [
   "tabulate",
   "matplotlib",
   "pillow",
-  "opencv",
+  "opencv-python",
   "torch>=1.8",
   "torchvision>=0.10",
   "lightning>=2.0.3",