Skip to content

Commit

Permalink
Put constraint.txt where python build can find it.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCallow committed Sep 4, 2024
1 parent 09e05f5 commit 5f90494
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +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)
- name: Setup PIP_CONSTRAINT (workaround https://github.com/python-cffi/cffi/issues/117)
if: matrix.options.py == 'ON' && matrix.check_mkvk != 'ONLY'
run: |
mkdir $env:BUILD_DIR # Doesn't exist until CMake configure
echo 'setuptools<74' > $env:BUILD_DIR/constraint.txt
echo "PIP_CONSTRAINT=$env:BUILD_DIR/constraint.txt" >> $env:GITHUB_ENV
mkdir interface/python_binding/build # Doesn't exist until python build.
echo 'setuptools<74' > interface/python_binding/build/constraint.txt
echo "PIP_CONSTRAINT=interface/python_binding/build/constraint.txt" >> $env:GITHUB_ENV
- name: Install Dependencies
if: matrix.check_mkvk != 'ONLY'
Expand Down

0 comments on commit 5f90494

Please sign in to comment.