From 7681e7d1a3ff09d83243c103bec76bc58c08469c Mon Sep 17 00:00:00 2001 From: Johannes Buchner Date: Sat, 26 Oct 2024 21:46:04 +0200 Subject: [PATCH] [ci] reinstall numpy to solve "E ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject" --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8cd5e1b9..4b061d8e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: python -m pip install cython numpy scipy matplotlib corner getdist h5py pandas flake8 pycodestyle pydocstyle pytest-html pytest-xdist + run: python -m pip install --upgrade --force-reinstall cython numpy scipy matplotlib corner getdist h5py pandas flake8 pycodestyle pydocstyle pytest-html pytest-xdist - name: Lint with flake8 run: flake8 $(ls ultranest/*.py | grep -Ev '^ultranest/(flatnuts|dychmc|dyhmc|pathsampler).py')