From 9087c5e93f78eeec60fd109675a18fd4c6c92b14 Mon Sep 17 00:00:00 2001 From: Mitchel Baker Date: Fri, 2 Aug 2024 03:27:16 +0000 Subject: [PATCH] conditionally uninstall numpy to see if 3.8.10 passes smoke test; some additional refactoring/code improvements --- .../actions/setup-dependencies-windows/action.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-dependencies-windows/action.yml b/.github/actions/setup-dependencies-windows/action.yml index 62a01ff8..930eeca6 100644 --- a/.github/actions/setup-dependencies-windows/action.yml +++ b/.github/actions/setup-dependencies-windows/action.yml @@ -27,12 +27,14 @@ runs: pip install pytest pip install selenium + pip uninstall -y numpy + pip install numpy==1.26.4 # Below python v3.9, a lower numpy v1.24.4 is used - $pythonVersion = [version]${{ inputs.python-version }} - if ($pythonVersion -ge [version]"3.9") { - pip uninstall -y numpy - pip install numpy==1.26.4 - } + #$pythonVersion = [version]${{ inputs.python-version }} + #if ($pythonVersion -ge [version]"3.9") { + # pip uninstall -y numpy + # pip install numpy==1.26.4 + #} - name: Download OPA executable shell: powershell