beast icon indicating copy to clipboard operation
beast copied to clipboard

macos tests failing due to h5py

Open karllark opened this issue 9 months ago • 1 comments

The automated github macos tests are failing as there is an upstream issue with installing h5py.

Need to have someone with a mac test installing h5py in a new conda env to see if we can replicate the h5py install failure. And then find a fix.

karllark avatar May 14 '24 19:05 karllark

Failing test at: https://github.com/BEAST-Fitting/beast/actions/runs/9210375923/job/25337239061?pr=799

`py310-alldeps: install_package_deps> python -I -m pip install Cython asdf astropy dust-extinction graphviz h5py matplotlib pandeia.engine photutils pytest-astropy scipy shapely stsynphot tables tqdm error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [12 lines of output] /var/folders/2f/8t5k6yr535sdw0s4glnpxrzm0000gn/T/H5close741qslhy.c:1:10: fatal error: 'H5public.h' file not found #include "H5public.h" ^~~~~~~~~~~~ 1 error generated. cpuinfo failed, assuming no CPU features: 'flags' * Using Python 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] * Found cython 3.0.10 * USE_PKGCONFIG: True .. ERROR:: Could not find a local HDF5 installation. You may need to explicitly state where your local HDF5 headers and library can be found by setting the HDF5_DIR environment variable or by using the --hdf5 command-line option. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.`

karllark avatar May 23 '24 15:05 karllark