Skip to content

Commit

Permalink
fixup! Bump setuptools for Pyroma on 3.8-3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 21, 2023
1 parent ba6f733 commit 4156c66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ if [[ $(uname) != CYGWIN* ]]; then
python3 -m pip install pyqt6
fi

# Pyroma uses non-isolated build and
# fails due to old setuptools
if [[
$GHA_PYTHON_VERSION == pypy3.9
|| $GHA_PYTHON_VERSION == 3.8
|| $GHA_PYTHON_VERSION == 3.9
]]; then
# Tp match pyproject.toml
python3 -m pip install "setuptools>=67.8"
fi

# webp
pushd depends && ./install_webp.sh && popd

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
- name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
python3 -m pip install "setuptools>=67.8"
.ci/install.sh
env:
GHA_PYTHON_VERSION: ${{ matrix.python-version }}
Expand Down

0 comments on commit 4156c66

Please sign in to comment.