From 3834d1a0bf39bb900b9b933051fd7117e09c9a5e Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 26 Apr 2020 00:58:38 -0700 Subject: [PATCH] azure: use brew python instead --- azure-pipelines.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ac6226ac..5f88b76b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -153,12 +153,13 @@ stages: matrix: Python37: python.version: "3.7" - Python38: - python.version: "3.8" + # Python38: + # python.version: "3.8" steps: - - task: UsePythonVersion@0 - inputs: - versionSpec: "$(python.version)" + # https://github.com/actions/virtual-environments/issues/664 + # - task: UsePythonVersion@0 + # inputs: + # versionSpec: "$(python.version)" - bash: | brew update brew unlink python@2 @@ -168,13 +169,13 @@ stages: jbig2enc \ leptonica \ openjpeg \ - openssl \ pngquant \ + python \ tesseract \ unpaper displayName: "Install system packages" - bash: | - pip3 install --upgrade pip certifi + pip3 install --upgrade pip pip3 install -r requirements/main.txt -r requirements/test.txt . displayName: "Install Python packages" - bash: |