diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0eaf0b449e372c7769bc55c150487c046201286..7f209050b76dfc5768a3e20b4a00971cfb93de8c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -256,7 +256,7 @@
 Pylint:
   script:
   - EXTRA_INSTALL="pybind11 numpy mako matplotlib PyOpenGl IPython"
-  - py_version=3.6
+  - py_version=3.7
   # After installation, PyOpenCL cannot be used from the source directory due
   # to package shadowing. To work around this, build in editable mode so there
   # is only one copy of everything.
@@ -264,7 +264,7 @@ Pylint:
   - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
   - ". ./prepare-and-run-pylint.sh pyopencl test/test_*.py"
   tags:
-  - python3.6
+  - python3.7
   except:
   - tags