From 160a1357d0994cadda499175feba72babb0243d2 Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Tue, 29 Sep 2020 13:51:16 +0100 Subject: [PATCH] Use pip install pyqt5 for Python 3.7 + macOS --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88eb24f..780811e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,11 @@ jobs: elif [ "${{ matrix.PYTEST_QT_API }}" = "pyqt4v2" ]; then conda install -q -y pyqt=4 -c conda-forge else # pyqt5 - conda install -q -y pyqt=5 + if [ "${{ matrix.os }}" = "macos-latest" -a "${{ matrix.python-version }}" = "3.7" ]; then + pip install pyqt5 + else + conda install -q -y pyqt=5 + fi fi if [ "${{ matrix.os }}" != "windows-latest" ]; then conda install -q -y help2man -- GitLab