Skip to content

Commit

Permalink
Avoid conda qt 5.15 compat issue w/pyqt 5.15 & Python 3.11 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CAM-Gerlach committed Dec 17, 2022
1 parent 60936f9 commit 3cb24d0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ conda activate test-env
if [ "$USE_CONDA" = "Yes" ]; then

if [ "${1}" = "pyqt5" ]; then
conda install -q qt=${PYQT5_QT_VERSION} pyqt=${PYQT5_VERSION}
if [ "${PYQT5_VERSION:0:4}" = "5.15" ]; then
# Must specify versions individually with PyQt 5.15 to avoid compat issues with Python 3.11
conda install -q qt-main=${PYQT5_QT_VERSION} qt-webengine=${PYQT5_QT_VERSION} pyqt=${PYQT5_VERSION}
else
conda install -q qt=${PYQT5_QT_VERSION} pyqt=${PYQT5_VERSION}
fi
elif [ "${1}" = "pyside2" ]; then
conda install -q qt=${PYSIDE2_QT_VERSION} pyside2=${PYSIDE2_VERSION}
elif [ "${1}" = "pyside6" ]; then
Expand Down

0 comments on commit 3cb24d0

Please sign in to comment.