diff --git a/templates/ci-for-python-only.yml b/templates/ci-for-python-only.yml
index 4b2313051da85dffb0521539e4eb330d10224d93..a26003f0a4cb88414b453ee933bd020bac9b32a2 100644
--- a/templates/ci-for-python-only.yml
+++ b/templates/ci-for-python-only.yml
@@ -123,6 +123,7 @@ test_linux_27:
 
 wheels_linux_27:
   <<: *wheels_job
+  variables: *linux_27_build_variables
   dependencies:
     - build_linux_27
   tags:
@@ -166,6 +167,7 @@ test_linux_35:
 
 wheels_linux_35:
   <<: *wheels_job
+  variables: *linux_35_build_variables
   dependencies:
     - build_linux_35
   tags:
@@ -173,6 +175,7 @@ wheels_linux_35:
 
 docs_linux_35:
   <<: *docs_job
+  variables: *linux_35_build_variables
   dependencies:
     - build_linux_35
   tags: