Skip to content

Commit

Permalink
Update ci-linux-python.yml
Browse files Browse the repository at this point in the history
The new numpy 2.0 is incompatible with cma, so for now we constrain the numpy version.
  • Loading branch information
danclaudino authored Jun 25, 2024
1 parent ac6ef6a commit 9441a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-linux-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -40,4 +40,4 @@ jobs:

- name: Test
working-directory: python/tests
run: export PYTHONPATH=$PYTHONPATH:~/.xacc && python3 -m unittest discover -s . -p '*_testing.py'
run: export PYTHONPATH=$PYTHONPATH:~/.xacc && python3 -m unittest discover -s . -p '*_testing.py'

0 comments on commit 9441a26

Please sign in to comment.