diff --git a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
index 4f74488ae41714a4ce03ba7514bf93842768c5ae..c702c0da2cff2e17ea6bc61b5ccbd29a7e389e94 100755
--- a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
+++ b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
@@ -17,6 +17,7 @@ else
                                     -name "$repo"                    \
                                     -not -path "*/install/*"         \
                                     -not -path "*/.git/*"            \
+                                    -not -path "*/.mypy_cache/*"     \
                                     -not -path "*/miniconda/*"       \
                                     -not -path "*/conda/*"           \
                                     -not -path "*/.local/*"          \