invest: ImportErrors with gdal builds from conda-forge

Tests that were passing days ago are now crashing simply when re-running the same Actions jobs.

Failure: ImportError (dlopen(/usr/local/miniconda/envs/env/lib/python3.7/site-packages/osgeo/_gdal.cpython-37m-darwin.so, 2): Symbol not found: _crc32
2020-04-27T19:19:09.6576590Z   Referenced from: /usr/local/miniconda/envs/env/lib/libgdal.20.dylib
2020-04-27T19:19:09.6576790Z   Expected in: /usr/local/miniconda/envs/env/lib/libcfitsio.8.dylib
2020-04-27T19:19:09.6695650Z  in /usr/local/miniconda/envs/env/lib/libgdal.20.dylib) ... ERROR

This is blocking #95

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (17 by maintainers)

Commits related to this issue

Most upvoted comments

Yes, can confirm that!

@davemfish I’m waiting for tests/builds to check out before submitting a PR for this, but here’s a patch that includes the compiler flags that we added to https://github.com/natcap/pygeoprocessing/issues/9:

catalina.patch.txt