Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac tests are failing in CI #81

Open
rickecon opened this issue May 10, 2024 · 0 comments
Open

Mac tests are failing in CI #81

rickecon opened this issue May 10, 2024 · 0 comments

Comments

@rickecon
Copy link
Collaborator

A new error has started occurring in our build_and_test.yml GH Actions in which the macos-latest tests are failing in Python 3.11 due to an issue with the h5py package which uses HDF5. See PR #80.

Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      /var/folders/3m/p59k4qdj0f17st0gn2cmj3[64](https://github.com/TheCGO/fiscalsim-us/actions/runs/9031457882/job/24819287278?pr=80#step:4:65)0000gn/T/H5close55oxrig4.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.11.9 (v3.11.9:de54cf5be3, Apr  2 2024, 07:12:50) [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.
make: *** [install] Error 1
Error: Process completed with exit code 2.

I am temporarily removing the mac tests from build_and_test.yml, but I need to get those back in as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant