From 9441a265c506a07713b9c94c468e71f31fc71688 Mon Sep 17 00:00:00 2001 From: Daniel Claudino Date: Tue, 25 Jun 2024 09:50:15 -0400 Subject: [PATCH] Update ci-linux-python.yml The new numpy 2.0 is incompatible with cma, so for now we constrain the numpy version. --- .github/workflows/ci-linux-python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-linux-python.yml b/.github/workflows/ci-linux-python.yml index 97cadf3a3..f48f72adf 100644 --- a/.github/workflows/ci-linux-python.yml +++ b/.github/workflows/ci-linux-python.yml @@ -28,7 +28,7 @@ jobs: run: sudo apt-get -y update && sudo apt-get install -y --no-install-recommends ninja-build libssl-dev libcurl4-openssl-dev python3 libpython3-dev python3-pip libblas-dev liblapack-dev - name: Install optional Python Packages - run: python3 -m pip install numpy pyscf cma + run: python3 -m pip install numpy<=1.26.4 pyscf cma - name: Configure working-directory: build/ @@ -40,4 +40,4 @@ jobs: - name: Test working-directory: python/tests - run: export PYTHONPATH=$PYTHONPATH:~/.xacc && python3 -m unittest discover -s . -p '*_testing.py' \ No newline at end of file + run: export PYTHONPATH=$PYTHONPATH:~/.xacc && python3 -m unittest discover -s . -p '*_testing.py'