diff --git a/bob/devtools/data/gitlab-ci/nightlies.yaml b/bob/devtools/data/gitlab-ci/nightlies.yaml
index 85606917986bc2db60061c42a1ae95f00c581f2e..61dd364462deccc432e67526c2d5a8e5775382d6 100644
--- a/bob/devtools/data/gitlab-ci/nightlies.yaml
+++ b/bob/devtools/data/gitlab-ci/nightlies.yaml
@@ -58,7 +58,7 @@ build_macosx_36:
 build_macosx_37:
   extends: .build_template
   variables:
-    PYTHON_VERSION: "3.6"
+    PYTHON_VERSION: "3.7"
   tags:
     - macosx