diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4c8bc76254..3bbe2f0fc7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -213,6 +213,12 @@ jobs: core.exportVariable('VCPKG_BINARY_SOURCES', "clear;x-gha,readwrite"); core.exportVariable('VCPKG_ROOT', process.env.VCPKG_INSTALLATION_ROOT || ''); + - name: Setup PIP_CONSTRAINTS (workaround https://github.com/python-cffi/cffi/issues/117) + if: matrix.options.py == 'ON' && matrix.check_mkvk != 'ONLY' + run: + echo 'setuptools<74' > $env:BUILD_DIR/constraint.txt + echo "PIP_CONSTRAINT=$env:BUILD_DIR/constraint.txt" >> $env:GITHUB_ENV + - name: Install Dependencies if: matrix.check_mkvk != 'ONLY' # This script only installs what's needed by ON FEATUREs.