From 52c69d500ddb1b82980008a6bbf843dc3a8fc5aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= Date: Tue, 10 Sep 2024 15:20:26 +0200 Subject: [PATCH] .github/selftests: Make sure we install a numpy 1.* version for old matplotlib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Toke Høiland-Jørgensen --- .github/workflows/selftests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/selftests.yml b/.github/workflows/selftests.yml index cb8b0fe7..5c7a470c 100644 --- a/.github/workflows/selftests.yml +++ b/.github/workflows/selftests.yml @@ -58,6 +58,7 @@ jobs: - name: Install dependencies run: | sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-shape0 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 + [[ "$MATPLOTLIB_VERSION" == "3.8" ]] || [[ "$MATPLOTLIB_VERSION" == "3.9" ]] || pip install "numpy<2" pip install setuptools QtPy ${PYQT} "matplotlib==${MATPLOTLIB_VERSION}.*" - name: Run tests uses: GabrielBB/xvfb-action@v1