Skip to content

Commit

Permalink
force numpy < 2 in conda install xtb, to avoid breaking compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bernstei committed Dec 4, 2024
1 parent a420119 commit 73ac18a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:
- name: Install xTB (before things that need pandas like MACE and wfl, since it will break pandas-numpy compatibility by downgrading numpy)
run: |
# force compatible numpy version
conda install 'numpy<2'
conda install -c conda-forge xtb-python
python3 -m pip install typing-extensions
# install pandas now to encourage compatible numpy version after conda regressed it
Expand Down

0 comments on commit 73ac18a

Please sign in to comment.