Closed delgadom closed 6 years ago
need something that tests the container's behavior. fiona imports are a good example.
calling import fiona on a worker on the current distributed branch gives the following error:
import fiona
distributed
<ipython-input-24-27b7c1921a18> in test_fiona() 1 def test_fiona(*args): ----> 2 import fiona 3 return str(fiona.__version__) + str(args) /opt/conda/lib/python3.6/site-packages/fiona/__init__.py in <module>() 67 from six import string_types 68 ---> 69 from fiona.collection import Collection, BytesCollection, vsi_path 70 from fiona._drivers import driver_count, GDALEnv 71 from fiona.drvsupport import supported_drivers /opt/conda/lib/python3.6/site-packages/fiona/collection.py in <module>() 7 8 from fiona import compat ----> 9 from fiona.ogrext import Iterator, ItemsIterator, KeysIterator 10 from fiona.ogrext import Session, WritingSession 11 from fiona.ogrext import ( ImportError: libncurses.so.6: cannot open shared object file: No such file or directory
But this passes travis and was deployed to dockerhub. we should be able to develop a test suite to prevent issues like this.
closed by #32
need something that tests the container's behavior. fiona imports are a good example.
calling
import fiona
on a worker on the currentdistributed
branch gives the following error:But this passes travis and was deployed to dockerhub. we should be able to develop a test suite to prevent issues like this.