Skip to content

Commit

Permalink
h5py wheel available, try regular pynbody install
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy authored Oct 9, 2023
1 parent 2b87b18 commit e64cf3d
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,27 +246,8 @@ jobs:
if: matrix.python-version == '3.12'
run: |
pip install --upgrade --upgrade-strategy eager --pre numpy scipy "matplotlib<3.8" numexpr setuptools "cython<1" pytest tqdm
- name: Install pynbody (3.12; ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' && matrix.REQUIRES_PYNBODY && matrix.python-version == '3.12' }}
run: |
pip install --upgrade --upgrade-strategy eager --pre pytz tzdata
pip install --upgrade --upgrade-strategy eager --no-deps -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pandas
sudo apt-get install libhdf5-dev
pip install --upgrade --upgrade-strategy eager --pre --no-binary=h5py git+https://github.com/h5py/h5py.git
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.12; macos)
if: ${{ matrix.os == 'macos-latest' && matrix.REQUIRES_PYNBODY && matrix.python-version == '3.12' }}
run: |
pip install --upgrade --upgrade-strategy eager --pre pytz tzdata
pip install --upgrade --upgrade-strategy eager --no-deps -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple 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.12' }}
if: ${{ matrix.REQUIRES_PYNBODY }}
run: |
pip install --upgrade --upgrade-strategy eager h5py pandas pytz
pip install --upgrade --upgrade-strategy eager wheel
Expand Down

0 comments on commit e64cf3d

Please sign in to comment.