Skip to content

Commit 160a135

Browse files
committed
Use pip install pyqt5 for Python 3.7 + macOS
1 parent 59b5ee3 commit 160a135

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ jobs:
6868
elif [ "${{ matrix.PYTEST_QT_API }}" = "pyqt4v2" ]; then
6969
conda install -q -y pyqt=4 -c conda-forge
7070
else # pyqt5
71-
conda install -q -y pyqt=5
71+
if [ "${{ matrix.os }}" = "macos-latest" -a "${{ matrix.python-version }}" = "3.7" ]; then
72+
pip install pyqt5
73+
else
74+
conda install -q -y pyqt=5
75+
fi
7276
fi
7377
if [ "${{ matrix.os }}" != "windows-latest" ]; then
7478
conda install -q -y help2man

0 commit comments

Comments
 (0)