diff --git a/build-wheels.sh b/build-wheels.sh
index eef0bb5b1b6dbb43e25638d47e1b64a7a78cd4f1..c812826cb5807d9e286caf507c58cedc5d5a06a8 100755
--- a/build-wheels.sh
+++ b/build-wheels.sh
@@ -5,11 +5,11 @@ PYBINS=(
 #   "/opt/python/cp27-cp27m/bin"  # Gone from manulinux2014
 #   "/opt/python/cp27-cp27mu/bin" # Gone from manulinux2014
 #    "/opt/python/cp35-cp35m/bin"
-   "/opt/python/cp36-cp36m/bin"
+   # "/opt/python/cp36-cp36m/bin"
    "/opt/python/cp37-cp37m/bin"
-   "/opt/python/cp38-cp38/bin"
-   "/opt/python/cp39-cp39/bin"
-   "/opt/python/cp310-cp310/bin"
+   # "/opt/python/cp38-cp38/bin"
+   # "/opt/python/cp39-cp39/bin"
+   # "/opt/python/cp310-cp310/bin"
   )
 
 # Compile wheels
diff --git a/pyproject.toml b/pyproject.toml
index 91bc8c436cceb52793b4a6fcd88d1d4e331d0ae4..15d574294d4ec4563c7e6699eb0c6e689f890465 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -52,9 +52,9 @@ dependencies = [
     "wheel>=0.22",
     "numpy>=1.19.5",
     "scipy>=1.5.4",
-    "scikit-image>=0.17.2",
+    "scikit-image>=0.17.2,<0.20",
     "tifffile>=2020.8.25",
-    "matplotlib>=3.3.4",
+    "matplotlib>=3.3.4,<3.6",
     "SimpleITK>=2.0.2",
     "progressbar>=2.5",
     "python-decouple>=3.4",