diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 5fd1a66fb..f224dd850 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -131,6 +131,9 @@ stages:
         pool:
           vmImage: 'ubuntu-latest'
         steps:
+          - task: UsePythonVersion@0
+            inputs:
+              versionSpec: '3.8'
           - task: UsePythonVersion@0
             inputs:
               versionSpec: '3.9'