nens / threedigrid-builder

Generate a 3Di simulation grid from a model schematisation.
Other
1 stars 0 forks source link

Numpy 1.24 compatibility #286

Closed caspervdw closed 1 year ago

caspervdw commented 1 year ago
Run pip install --disable-pip-version-check --upgrade pip setuptools==63.* wheel scikit-build 
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.[10](https://github.com/nens/threedigrid-builder/actions/runs/3731586042/jobs/6329984381#step:6:11).9/x64/lib/python3.10/site-packages (22.3.1)
Collecting setuptools==63.*
  Using cached setuptools-63.4.3-py3-none-any.whl (1.2 MB)
Collecting wheel
  Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
Collecting scikit-build
  Downloading scikit_build-0.16.4-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 2.3 MB/s eta 0:00:00
Collecting distro
  Using cached distro-1.8.0-py3-none-any.whl (20 kB)
Collecting packaging
  Using cached packaging-22.0-py3-none-any.whl (42 kB)
Installing collected packages: wheel, setuptools, packaging, distro, scikit-build
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.5.0
    Uninstalling setuptools-65.5.0:
      Successfully uninstalled setuptools-65.5.0
Successfully installed distro-1.8.0 packaging-22.0 scikit-build-0.16.4 setuptools-63.4.3 wheel-0.38.4
Collecting numpy
  Downloading numpy-1.24.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 41.4 MB/s eta 0:00:00
Installing collected packages: numpy
Successfully installed numpy-1.24.0
Collecting threedi-modelchecker
  Cloning https://github.com/nens/threedi-modelchecker (to revision master) to /tmp/pip-install-e9jigcfz/threedi-modelchecker_3f[11](https://github.com/nens/threedigrid-builder/actions/runs/3731586042/jobs/6329984381#step:6:12)1bac529247d9baf261534882e524
  Running command git clone --filter=blob:none --quiet https://github.com/nens/threedi-modelchecker /tmp/pip-install-e9jigcfz/threedi-modelchecker_3f111bac529247d9baf261534882e524
  Resolved https://github.com/nens/threedi-modelchecker to commit c2584b472705a09a49f[12](https://github.com/nens/threedigrid-builder/actions/runs/3731586042/jobs/6329984381#step:6:13)da2f28ba2c5336c5a19
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Obtaining file:///home/runner/work/threedigrid-builder/threedigrid-builder
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pygdal==3.4.1.*
  Using cached pygdal-3.4.1.10-cp310-cp310-linux_x86_64.whl
Requirement already satisfied: numpy>=1.0.0 in /opt/hostedtoolcache/Python/3.10.9/x64/lib/python3.10/site-packages (from pygdal==3.4.1.*) (1.24.0)
Collecting Click
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting GeoAlchemy2!=0.11.*,>=0.9
    In: :_fgrid:/home/runner/work/threedigrid-builder/threedigrid-builder/libthreedigrid/_fgrid.pyf:_fgrid:unknown_interface:m_cells:set_2d_computational_nodes_lines
    get_useparameters: no module iso_fortran_env info used by set_2d_computational_nodes_lines
    Applying post-processing hooks...
      character_backward_compatibility_hook
    gmake[2]: *** [CMakeFiles/_fgrid.cpython-310-x86_64-linux-gnu.so.dir/build.make:79: _fgridmodule.c] Error 1
    gmake[1]: *** [CMakeFiles/Makefile2:[13](https://github.com/nens/threedigrid-builder/actions/runs/3731586042/jobs/6329984381#step:6:14)8: CMakeFiles/_fgrid.cpython-310-x86_64-linux-gnu.so.dir/all] Error 2
    gmake: *** [Makefile:136: all] Error 2
    Traceback (most recent call last):
      File "/opt/hostedtoolcache/Python/3.10.9/x64/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 640, in setup
        cmkr.make(make_args, install_target=cmake_install_target, env=env)
      File "/opt/hostedtoolcache/Python/3.10.9/x64/lib/python3.10/site-packages/skbuild/cmaker.py", line 684, in make
        self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
      File "/opt/hostedtoolcache/Python/3.10.9/x64/lib/python3.10/site-packages/skbuild/cmaker.py", line 7[15](https://github.com/nens/threedigrid-builder/actions/runs/3731586042/jobs/6329984381#step:6:16), in make_impl
        raise SKBuildError(

    An error occurred while building with CMake.
      Command:
        cmake --build . --target install --config Release --
      Install target:
        install
      Source directory:
        /home/runner/work/threedigrid-builder/threedigrid-builder
      Working directory:
        /home/runner/work/threedigrid-builder/threedigrid-builder/_skbuild/linux-x86_64-3.10/cmake-build
    Please check the install target is valid and see CMake's output for more information.
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
Error: Process completed with exit code 1.