nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Install numpy from pip3. #518

Closed timspainNERSC closed 3 months ago

timspainNERSC commented 3 months ago

Install numpy from pip3

Fixes #517

Change Description

Presumably due to a change in the configuration of the CI MacOS image, there is an incompatibility between the supplied version of numpy and that that was used to compile the python netCDF4 library that is required to process the various python scripts that are included in the build process. This results in a failure when building the model for the MacOS CI workflow.

This can be fixed by using the version of numpy provided by pip3, which should match that used to build the netCDF4 python library, which is also installed using pip3.


Test Description

The MacOS CI workflow now builds successfully.