From 4b7382e61f21437ebb1b33460c0284717a24677b Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Wed, 2 Nov 2022 09:41:29 -0600 Subject: [PATCH] Set python versions to 3.10.8 in CI config File and use a custom WXPython for 32-bit support --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c3c846f4..0579a18f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ variables: GIT_SUBMODULE_STRATEGY: recursive - PYTHON: "C:\\python37\\python.exe" + PYTHON: "C:\\python310\\python.exe" NSIS: "C:\\program files (x86)\\nsis\\makensis.exe" stages: @@ -17,9 +17,10 @@ twblue32: - Set-Variable -Name "time" -Value (date -Format "%H:%m") - echo ${time} - echo "started by ${GITLAB_USER_NAME}" - - choco install python --version 3.7.9 -y -ForceX86 + - choco install python --version 3.10.8 -y -ForceX86 - '&$env:PYTHON -V' - '&$env:PYTHON -m pip install --upgrade pip' + - '&$env:PYTHON -m pip install --upgrade https://github.com/josephsl/wxpy32whl/blob/main/wxPython-4.2.0-cp310-cp310-win32.whl?raw=true' - '&$env:PYTHON -m pip install --upgrade -r requirements.txt' stage: build interruptible: true @@ -56,7 +57,7 @@ twblue64: - Set-Variable -Name "time" -Value (date -Format "%H:%m") - echo ${time} - echo "started by ${GITLAB_USER_NAME}" - - choco install python --version 3.7.9 -y + - choco install python --version 3.10.8 -y - '&$env:PYTHON -V' - '&$env:PYTHON -m pip install --upgrade pip' - '&$env:PYTHON -m pip install --upgrade -r requirements.txt'