Skip to content

Commit

Permalink
feat(ci): lock numpy to 1.21.4
Browse files Browse the repository at this point in the history
The latest numpy seems to change its distribution approach so
numpy/distutils/command/build_ext.py does not support
extra_c_compile_argsin the way we expected to cause the following error:

    /usr/lib/python3.8/site-packages/numpy/distutils/command/build_ext.py", line 380,
    in build_extension extra_cflags = ext.extra_c_compile_args or [] AttributeError:
    'Extension' object has no attribute 'extra_c_compile_args'
    make: *** [Makefile:84: legacy] Error 1

Let us keep using numpy 1.21.4 until we fix this issue.

Issue: solvcon#98 solvcon#103
  • Loading branch information
tai271828 committed Jan 30, 2022
1 parent e547177 commit bd010e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applications/solvcon/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ devenv build cmake
devenv build scotch

# prepare all packages to build SOLVCON
pip3 install nose boto paramiko netCDF4 numpy
pip3 install nose boto paramiko netCDF4
pip3 install numpy==1.21.4
devenv build pybind11
devenv build gmsh
devenv build hdf
Expand Down

0 comments on commit bd010e4

Please sign in to comment.