Skip to content

Commit

Permalink
Use released h5py
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Sep 25, 2024
1 parent 09c42c8 commit a580476
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,22 +259,12 @@ jobs:
- name: Install Python dependencies
run: |
pip install --upgrade --upgrade-strategy eager numpy scipy matplotlib numexpr setuptools cython pytest tqdm
- name: Install pynbody (3.13; ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' && matrix.REQUIRES_PYNBODY && matrix.python-version == '3.13' }}
- name: Install pynbody (3.13)
if: ${{ matrix.REQUIRES_PYNBODY && matrix.python-version == '3.13' }}
run: |
pip install --upgrade --upgrade-strategy eager --pre pytz tzdata posix_ipc pandas
pip install --upgrade --upgrade-strategy eager --no-deps --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple h5py
pip install --upgrade --upgrade-strategy eager --pre pytz tzdata posix_ipc pandas h5py
pip install --upgrade --upgrade-strategy eager wheel
pip install --upgrade --upgrade-strategy eager --no-deps --pre git+https://github.com/pynbody/pynbody.git
- name: Install pynbody (3.13; macos)
if: ${{ matrix.os == 'macos-12' && matrix.REQUIRES_PYNBODY && matrix.python-version == '3.13' }}
run: |
pip install --upgrade --upgrade-strategy eager --pre pytz tzdata posix_ipc pandas
brew install hdf5
export HDF5_DIR=$(brew --prefix hdf5)
pip install --upgrade --upgrade-strategy eager wheel
pip install --upgrade --upgrade-strategy eager --pre --no-deps --no-build-isolation --no-binary=h5py git+https://github.com/h5py/h5py.git
pip install --upgrade --upgrade-strategy eager --no-deps --pre git+https://github.com/pynbody/pynbody.git
- name: Install pynbody
if: ${{ matrix.REQUIRES_PYNBODY && matrix.python-version != '3.13' }}
run: |
Expand Down

0 comments on commit a580476

Please sign in to comment.