diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ee98dd5..723400c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ windows: variables: PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code before_script: - - choco install python -y --version 3.12.4 + - choco install python -y --allow-downgrade --version 3.12.4 rules: - if: '$CI_COMMIT_BRANCH == "main"' variables: diff --git a/examples/gitlab-minimal.yml b/examples/gitlab-minimal.yml index 030237dd..cefecd2d 100644 --- a/examples/gitlab-minimal.yml +++ b/examples/gitlab-minimal.yml @@ -21,7 +21,7 @@ linux: windows: image: mcr.microsoft.com/windows/servercore:1809 before_script: - - choco install python -y --version 3.12.4 + - choco install python -y --allow-downgrade --version 3.12.4 - choco install git.install -y - py -m pip install cibuildwheel==3.0.0b4 script: