Skip to content

Commit

Permalink
ci: Try to fix dependencies broken by NumPy 2 (#140)
Browse files Browse the repository at this point in the history
* ci: try to fix dependencies broken by numpy 2

* use --no-build-isolation

* pre-install more dependencies

* more deps
  • Loading branch information
lgarrison authored Jun 21, 2024
1 parent b210d9d commit 0b878dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Pre-install dependencies
run: |
pip install -vU pip
pip install -vU setuptools wheel Cython scipy 'numpy<2' # for corrfunc, classy
pip install -vU --no-build-isolation corrfunc classy
- name: Install package from source
if: ${{ env.PUBLISH != 'true' }}
run: |
pip install -U pip
pip install -vU .[test]
make -C pipe_asdf
Expand Down

0 comments on commit 0b878dd

Please sign in to comment.