`Reason: image not found` for macOS packages
See original GitHub issueRecently we’ve seen tests begin to fail on macOS for a few independent project in the Dask ecosystem, all of which are failing with Reason: image not found
. For example, over in https://github.com/dask/dask/pull/8472 we’re getting (see this CI build):
py.test dask --runslow --cov=dask --cov-report=xml -n4
ImportError while loading conftest '/Users/runner/work/dask/dask/conftest.py'.
conftest.py:43: in <module>
import tiledb # noqa: F401
../../../miniconda3/envs/test-environment/lib/python3.7/site-packages/tiledb/__init__.py:34: in <module>
ctypes.CDLL(lib_name)
../../../miniconda3/envs/test-environment/lib/python3.7/ctypes/__init__.py:364: in __init__
self._handle = _dlopen(self._name, mode)
E OSError: dlopen(libtiledb.dylib, 6): Library not loaded: @rpath/libcrypto.1.1.dylib
E Referenced from: /Users/runner/miniconda3/envs/test-environment/lib/libtiledb.dylib
E Reason: image not found
in https://github.com/coiled/dask-bigquery/pull/31 (see this CI build):
E - dlopen(/Users/runner/miniconda3/envs/test-environment/lib/python3.7/site-packages/pyarrow/_parquet.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libssl.1.1.dylib
E Referenced from: /Users/runner/miniconda3/envs/test-environment/lib/libthrift.0.13.0.dylib
E Reason: image not found
and a similar issue was reported in https://github.com/dask/distributed/issues/5601.
The errors are similar, but appear to be pointing towards separate libraries not being loaded. I get the sense this may be some sort of packing issue (we’re using conda-forge packages in these CI builds) and I’m wondering if this is a know issue, or is folks here have any thoughts on how we may proceed in debugging. Apologies for the very vague issue, happy to dig in more if additional details would be useful.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (12 by maintainers)
Top GitHub Comments
Well it seems to have stopped. I did add
nodefaults
and that seemed to make things better, so I guess we can close and just reopen if it comes up again.Sounds good. Thanks Julia! 😄