From b0cfa8d01fc62513fde199e2ce2f56d1af5c90d4 Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Sun, 12 Nov 2023 09:16:52 -0500 Subject: [PATCH] CI: Install QDarkstyle 3.2 on Linux pip slots That's because that version is compatible with PyQt 5.12, which is what we're using for testing on Linux. --- .github/scripts/install.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/scripts/install.sh b/.github/scripts/install.sh index 3176229dfc1..a3bc4231440 100755 --- a/.github/scripts/install.sh +++ b/.github/scripts/install.sh @@ -26,10 +26,6 @@ if [ "$USE_CONDA" = "true" ]; then # Remove pylsp before installing its subrepo below micromamba remove --force python-lsp-server python-lsp-server-base -y - # IPython 8.15 broke the %debug magic, which is used in some of our tests. - # So, pinning it to 8.14 for now. - micromamba install ipython=8.14 - else # Update pip and setuptools python -m pip install -U pip setuptools wheel build @@ -46,15 +42,14 @@ else # To check our manifest pip install -q check-manifest - # This allows the test suite to run more reliably on Linux if [ "$OS" = "linux" ]; then + # This allows the test suite to run more reliably on Linux pip uninstall pyqt5 pyqt5-qt5 pyqt5-sip pyqtwebengine pyqtwebengine-qt5 -q -y pip install pyqt5==5.12.* pyqtwebengine==5.12.* - fi - # IPython 8.15 broke the %debug magic, which is used in some of our tests. - # So, pinning it to 8.14 for now. - pip install ipython==8.14.0 + # QDarkstyle 3.2.1 doesn't work with PyQt 5.12 + pip install qdarkstyle==3.2 + fi fi