Commit 8ed8253d authored by Daniel Scheffler's avatar Daniel Scheffler Committed by Daniel Scheffler
Browse files

Fix holoviews import error.

parent 7995cd7d
Pipeline #1114 passed with stages
in 5 minutes and 44 seconds
......@@ -76,7 +76,6 @@ deploy_pypi:
- test_geoarray
script: # Configure the PyPI credentials, then push the package, and cleanup the creds.
- source /root/anaconda3/bin/activate
- conda update -y -q dask # solve https://stackoverflow.com/questions/43833081/attributeerror-module-object-has-no-attribute-computation
- printf "[distutils]\nindex-servers =\n pypi\n\n" >> ~/.pypirc
- printf "[pypi]\n""repository:"" https://upload.pypi.org/legacy/\n" >> ~/.pypirc
- printf "username= ${PYPI_USER}\n" >> ~/.pypirc
......
......@@ -13,3 +13,4 @@ folium
scikit-image
#holoviews
#git+https://github.com/matplotlib/basemap.git
dask>=0.15.0 # resolves an import error of holoviews
......@@ -12,8 +12,10 @@ with open('HISTORY.rst') as history_file:
requirements = [
'py_tools_ds>=0.6.0', 'numpy', 'matplotlib', 'six', 'gdal', 'shapely', 'geopandas', 'pandas', 'dill', 'mpld3',
'geojson', 'folium', 'scikit-image'
# 'holoviews', # conda install --yes -c ioam bokeh holoviews=1.8.0 ; \
'geojson', 'folium', 'scikit-image', 'dask>=0.15.0'
# dask is only indirectly needed but updating to >=0.15.0 resolves https://stackoverflow.com/questions/43833081/
# attributeerror-module-object-has-no-attribute-computation
# 'holoviews', # conda install --yes -c ioam bokeh holoviews ; \
# git+https://github.com/matplotlib/basemap.git # conda install --yes -c conda-forge basemap
]
......@@ -64,4 +66,4 @@ try:
from mpl_toolkits.basemap import Basemap
except ImportError:
warnings.warn('You need to install basemap manually (see www./matplotlib.org/basemap) if you want to plot maps. '
'It is not automatically installed.') # TODO
'It is not automatically installed.') # TODO
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment