Skip to content

Commit

Permalink
Fix macOS CI (#385)
Browse files Browse the repository at this point in the history
* attempt at fixing macOS CI by brew installing hdf5

* update from `miniconda@v2` to `miniconda@v3`

* bump version to 2.8.11

* try newer `tables` version, which was previously restricted to 3.8.0 in #379

* Revert "attempt at fixing macOS CI by brew installing hdf5"

This reverts commit 968bdb3.

* Reapply "attempt at fixing macOS CI by brew installing hdf5"

This reverts commit 204014a.

Seems like this is needed after all, otherwise macOS is struggling to
find a local HDF5.

---------

Co-authored-by: Will Handley <wh260@cam.ac.uk>
  • Loading branch information
lukashergt and williamjameshandley committed Apr 24, 2024
1 parent 32769e8 commit bd402c4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install hdf5 for macOS
if: ${{ matrix.os == 'macos-latest' }}
run: brew install hdf5 c-blosc

- name: Install dependencies
run: |
Expand Down Expand Up @@ -107,9 +110,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install hdf5 for macOS
if: ${{ matrix.os == 'macos-latest' }}
run: brew install hdf5 c-blosc

- name: Install dependencies
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
anesthetic: nested sampling post-processing
===========================================
:Authors: Will Handley and Lukas Hergt
:Version: 2.8.10
:Version: 2.8.11
:Homepage: https://github.com/handley-lab/anesthetic
:Documentation: http://anesthetic.readthedocs.io/

Expand Down
2 changes: 1 addition & 1 deletion anesthetic/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.8.10'
__version__ = '2.8.11'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ astropy = ["astropy"]
fastkde = ["fastkde"]
getdist = ["getdist"]
hdf5 = ["tables==3.8.0"]
all = ["h5py", "astropy", "fastkde", "getdist", "tables==3.8.0"]
all = ["h5py", "astropy", "fastkde", "getdist", "tables"]

[project.scripts]
anesthetic = "anesthetic.scripts:gui"
Expand Down

0 comments on commit bd402c4

Please sign in to comment.