From 596c57b7780e0a13c412e83b30d7b18aa3fcf023 Mon Sep 17 00:00:00 2001 From: "Taihsiang Ho (tai271828)" Date: Sun, 16 Jan 2022 15:34:38 +0100 Subject: [PATCH] ci(dep): lock numpy to 1.21.4 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: #98 #103 --- applications/solvcon/entry.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/solvcon/entry.sh b/applications/solvcon/entry.sh index 2ffa5b4..f906034 100755 --- a/applications/solvcon/entry.sh +++ b/applications/solvcon/entry.sh @@ -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