conda-forge / fiona-feedstock

A conda-smithy repository for fiona.
BSD 3-Clause "New" or "Revised" License
8 stars 17 forks source link

module 'fiona' has no attribute '_loading' on Python 3.7 / macos #194

Closed maximlt closed 9 months ago

maximlt commented 2 years ago

Solution to issue cannot be found in the documentation.

Issue

Our CI has started to fail on Python 3.7/MacOS with this traceback:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/ipykernel_10623/3280044565.py in <module>
----> 1 import geopandas as gpd
      2 
      3 cities = gpd.read_file(gpd.datasets.get_path('naturalearth_cities'))
      4 
      5 cities.hvplot(global_extent=True, frame_height=450, tiles=True)

~/miniconda3/envs/test-environment/lib/python3.7/site-packages/geopandas/__init__.py in <module>
      5 from geopandas.array import points_from_xy  # noqa
      6 
----> 7 from geopandas.io.file import _read_file as read_file  # noqa
      8 from geopandas.io.arrow import _read_parquet as read_parquet  # noqa
      9 from geopandas.io.arrow import _read_feather as read_feather  # noqa

~/miniconda3/envs/test-environment/lib/python3.7/site-packages/geopandas/io/file.py in <module>
     12 
     13 try:
---> 14     import fiona
     15 
     16     fiona_import_error = None

~/miniconda3/envs/test-environment/lib/python3.7/site-packages/fiona/__init__.py in <module>
     83 
     84 import fiona._loading
---> 85 with fiona._loading.add_gdal_dll_directories():
     86     from fiona.collection import BytesCollection, Collection
     87     from fiona.drvsupport import supported_drivers

AttributeError: module 'fiona' has no attribute '_loading'

https://github.com/holoviz/hvplot/runs/5754080023?check_suite_focus=true#step:15:1378

Installed packages

Click to expand! ``` # Name Version Build Channel abseil-cpp 20210324.2 he49afe7_0 conda-forge affine 2.3.1 pyhd8ed1ab_0 conda-forge aiobotocore 2.1.0 pyhd8ed1ab_0 conda-forge aiohttp 3.8.1 py37h271585c_0 conda-forge aioitertools 0.10.0 pyhd8ed1ab_0 conda-forge aiosignal 1.2.0 pyhd8ed1ab_0 conda-forge appdirs 1.4.4 pyh9f0ad1d_0 conda-forge appnope 0.1.2 py37hf985489_2 conda-forge argon2-cffi 21.3.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py37h271585c_1 conda-forge arrow-cpp 6.0.1 py37hc0a5d74_5_cpu conda-forge asciitree 0.3.3 py_2 conda-forge async-timeout 4.0.2 pyhd8ed1ab_0 conda-forge async_generator 1.10 py_0 conda-forge asynctest 0.13.0 py_0 conda-forge atk-1.0 2.36.0 he69c4ee_4 conda-forge attrs 21.4.0 pyhd8ed1ab_0 conda-forge aws-c-auth 0.6.8 h8f5e388_1 conda-forge aws-c-cal 0.5.12 hda7428a_7 conda-forge aws-c-common 0.6.17 h0d85af4_0 conda-forge aws-c-compression 0.2.14 h8451fdb_7 conda-forge aws-c-event-stream 0.2.7 ha663dc4_32 conda-forge aws-c-http 0.6.10 heb655c9_3 conda-forge aws-c-io 0.10.14 h3cf48f6_1 conda-forge aws-c-mqtt 0.7.10 h6d234a2_0 conda-forge aws-c-s3 0.1.29 h73af6b9_0 conda-forge aws-c-sdkutils 0.1.1 h8451fdb_4 conda-forge aws-checksums 0.1.12 h8451fdb_6 conda-forge aws-crt-cpp 0.17.10 haa61d5f_5 conda-forge aws-sdk-cpp 1.9.160 h075ee0a_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.10.0 pyha770c72_0 conda-forge bleach 4.1.0 pyhd8ed1ab_0 conda-forge blosc 1.21.0 he49afe7_0 conda-forge bokeh 2.4.2 py37hf985489_0 conda-forge boost-cpp 1.74.0 hdbf7018_7 conda-forge botocore 1.23.24 pyhd8ed1ab_0 conda-forge branca 0.4.2 pyhd8ed1ab_0 conda-forge brotli 1.0.9 h0d85af4_6 conda-forge brotli-bin 1.0.9 h0d85af4_6 conda-forge brotlipy 0.7.0 py37h271585c_1003 conda-forge brunsli 0.1 h046ec9c_0 conda-forge bzip2 1.0.8 h0d85af4_4 conda-forge c-ares 1.18.1 h0d85af4_0 conda-forge c-blosc2 2.0.4 ha1a4663_1 conda-forge ca-certificates 2021.10.8 h033912b_0 conda-forge cairo 1.16.0 h9e0e54b_1010 conda-forge cartopy 0.20.2 py37h73200b8_0 conda-forge certifi 2021.10.8 py37hf985489_1 conda-forge cffi 1.15.0 py37h446072c_0 conda-forge cfitsio 4.0.0 hb20e66c_0 conda-forge cftime 1.6.0 py37h4105427_0 conda-forge chardet 4.0.0 py37hf985489_2 conda-forge charls 2.3.4 he49afe7_0 conda-forge charset-normalizer 2.0.12 pyhd8ed1ab_0 conda-forge click 8.1.0 py37hf985489_0 conda-forge click-plugins 1.1.1 py_0 conda-forge cligj 0.7.2 pyhd8ed1ab_1 conda-forge cloudpickle 2.0.0 pyhd8ed1ab_0 conda-forge codecov 2.1.11 pyhd3deb0d_0 conda-forge colorama 0.4.4 pyh9f0ad1d_0 conda-forge colorcet 3.0.0 py_0 pyviz/label/dev conda 4.12.0 py37hf985489_0 conda-forge conda-build 3.21.8 py37hf985489_0 conda-forge conda-package-handling 1.8.0 py37h69ee0a8_0 conda-forge coverage 6.3.2 py37h69ee0a8_1 conda-forge cramjam 2.5.0 py37h5210ebb_0 conda-forge cryptography 36.0.2 py37h20b3391_0 conda-forge curl 7.82.0 h9f20792_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge cytoolz 0.11.2 py37h271585c_1 conda-forge dask 2022.2.0 pyhd8ed1ab_0 conda-forge dask-core 2022.2.0 pyhd8ed1ab_0 conda-forge datashader 0.13.0 py_0 pyviz/label/dev datashape 0.5.4 py_1 conda-forge dbus 1.13.6 h811a1a6_3 conda-forge debugpy 1.5.1 py37hd8d24ac_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge distributed 2022.2.0 py37hf985489_0 conda-forge doit 0.34.2 py37hf985489_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge expat 2.4.8 h96cf925_0 conda-forge fasteners 0.17.3 pyhd8ed1ab_0 conda-forge fastparquet 0.8.0 py37h032687b_1 conda-forge filelock 3.6.0 pyhd8ed1ab_0 conda-forge fiona 1.8.20 py37hb742350_4 conda-forge flake8 4.0.1 pyhd8ed1ab_2 conda-forge flit-core 3.7.1 pyhd8ed1ab_0 conda-forge folium 0.12.1.post1 pyhd8ed1ab_1 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 hab24e00_0 conda-forge fontconfig 2.13.96 h676cef8_2 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.31.2 py37h69ee0a8_0 conda-forge freetype 2.10.4 h4cff582_1 conda-forge freexl 1.0.6 h0d85af4_0 conda-forge fribidi 1.0.10 hbcb3906_0 conda-forge frozenlist 1.3.0 py37h271585c_0 conda-forge fsspec 2022.2.0 pyhd8ed1ab_0 conda-forge gdal 3.4.0 py37h005c65d_12 conda-forge gdk-pixbuf 2.42.8 hb161b9c_0 conda-forge geopandas 0.10.2 pyhd8ed1ab_1 conda-forge geopandas-base 0.10.2 pyha770c72_1 conda-forge geos 3.10.1 he49afe7_1 conda-forge geotiff 1.7.0 h9e3163f_5 conda-forge geoviews 1.9.5 py_0 pyviz/label/dev geoviews-core 1.9.5 py_0 pyviz/label/dev gettext 0.19.8.1 hd1a6beb_1008 conda-forge gflags 2.2.2 hb1e8313_1004 conda-forge giflib 5.2.1 hbcb3906_2 conda-forge glob2 0.7 py_0 conda-forge glog 0.5.0 h25b26a9_0 conda-forge graphite2 1.3.13 h2e338ed_1001 conda-forge graphviz 2.50.0 h2b5222e_2 conda-forge grpc-cpp 1.42.0 h6da9ac5_1 conda-forge gtk2 2.24.33 h7c1209e_2 conda-forge gts 0.7.6 hccb3bdf_2 conda-forge h11 0.13.0 pyhd8ed1ab_0 conda-forge harfbuzz 4.1.0 h48644e2_0 conda-forge hdf4 4.2.15 hefd3b78_3 conda-forge hdf5 1.12.1 nompi_ha60fbc9_104 conda-forge heapdict 1.0.1 py_0 conda-forge holoviews 1.14.9a1 py_0 pyviz/label/dev hvplot 0.8.0a12.post11+g3c31ec6 dev_0 icu 69.1 he49afe7_0 conda-forge idna 3.3 pyhd8ed1ab_0 conda-forge imagecodecs 2021.11.20 py37h04bde26_2 conda-forge imageio 2.16.1 pyhcf75d05_0 conda-forge importlib-metadata 4.11.3 py37hf985489_0 conda-forge importlib_metadata 4.11.3 hd8ed1ab_0 conda-forge importlib_resources 5.6.0 pyhd8ed1ab_0 conda-forge iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge intake 0.6.5 pyhd8ed1ab_0 conda-forge intake-parquet 0.2.3 py_0 conda-forge intake-xarray 0.6.0 pyhd8ed1ab_0 conda-forge ipykernel 6.10.0 py37h0a7177a_0 conda-forge ipython 7.32.0 py37hf985489_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 7.7.0 pyhd8ed1ab_0 conda-forge jbig 2.1 h0d85af4_2003 conda-forge jedi 0.18.1 py37hf985489_0 conda-forge jinja2 3.1.1 pyhd8ed1ab_0 conda-forge jmespath 0.10.0 pyh9f0ad1d_0 conda-forge joblib 1.1.0 pyhd8ed1ab_0 conda-forge jpeg 9e h0d85af4_0 conda-forge json-c 0.15 hcb556a6_0 conda-forge jsonschema 4.4.0 pyhd8ed1ab_0 conda-forge jupyter 1.0.0 py37hf985489_7 conda-forge jupyter_client 7.2.0 pyhd8ed1ab_0 conda-forge jupyter_console 6.4.3 pyhd8ed1ab_0 conda-forge jupyter_core 4.9.2 py37hf985489_0 conda-forge jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge jupyterlab_widgets 1.1.0 pyhd8ed1ab_0 conda-forge jxrlib 1.1 h35c211d_2 conda-forge kealib 1.4.14 ha22a8b1_3 conda-forge kiwisolver 1.4.2 py37h18621fa_0 conda-forge krb5 1.19.3 hb49756b_0 conda-forge lcms2 2.12 h577c468_0 conda-forge lerc 3.0 he49afe7_0 conda-forge libaec 1.0.6 he49afe7_0 conda-forge libarchive 3.5.2 h2b60450_1 conda-forge libblas 3.9.0 13_osx64_openblas conda-forge libbrotlicommon 1.0.9 h0d85af4_6 conda-forge libbrotlidec 1.0.9 h0d85af4_6 conda-forge libbrotlienc 1.0.9 h0d85af4_6 conda-forge libcblas 3.9.0 13_osx64_openblas conda-forge libclang 13.0.1 default_he082bbe_0 conda-forge libcurl 7.82.0 h9f20792_0 conda-forge libcxx 13.0.1 hc203e6f_0 conda-forge libdap4 3.20.6 h3e144a0_2 conda-forge libdeflate 1.10 h0d85af4_0 conda-forge libedit 3.1.20191231 h0678c8f_2 conda-forge libev 4.33 haf1e3a3_1 conda-forge libevent 2.1.10 h815e4d9_4 conda-forge libffi 3.4.2 h0d85af4_5 conda-forge libgd 2.3.3 h02d8a21_2 conda-forge libgdal 3.4.0 h3ab75b0_12 conda-forge libgfortran 5.0.0 9_3_0_h6c81a4c_23 conda-forge libgfortran5 9.3.0 h6c81a4c_23 conda-forge libglib 2.70.2 hf1fb8c0_4 conda-forge libiconv 1.16 haf1e3a3_0 conda-forge libkml 1.3.0 h8fd9edb_1014 conda-forge liblapack 3.9.0 13_osx64_openblas conda-forge liblief 0.11.5 he49afe7_1 conda-forge libllvm11 11.1.0 hd011deb_3 conda-forge libllvm13 13.0.1 h64f94b2_2 conda-forge libnetcdf 4.8.1 nompi_h6609ca0_101 conda-forge libnghttp2 1.47.0 h942079c_0 conda-forge libopenblas 0.3.18 openmp_h3351f45_0 conda-forge libpng 1.6.37 h7cec526_2 conda-forge libpq 14.2 hea3049e_0 conda-forge libprotobuf 3.19.4 hcf210ce_0 conda-forge librsvg 2.52.5 h5e5d7d9_2 conda-forge librttopo 1.1.0 h0d74fd6_8 conda-forge libsodium 1.0.18 hbcb3906_1 conda-forge libspatialindex 1.9.3 he49afe7_4 conda-forge libspatialite 5.0.1 h24415ee_12 conda-forge libssh2 1.10.0 h52ee1ee_2 conda-forge libthrift 0.15.0 hab56fdc_1 conda-forge libtiff 4.3.0 h17f2ce3_3 conda-forge libtool 2.4.6 he49afe7_1008 conda-forge libutf8proc 2.7.0 h0d85af4_0 conda-forge libwebp 1.2.2 h28dabe5_0 conda-forge libwebp-base 1.2.2 h0d85af4_1 conda-forge libxcb 1.13 h0d85af4_1004 conda-forge libxml2 2.9.12 h7e28ab6_1 conda-forge libzip 1.8.0 h8b0c345_1 conda-forge libzlib 1.2.11 h6c3fc93_1014 conda-forge libzopfli 1.0.3 h046ec9c_0 conda-forge llvm-openmp 13.0.1 hcb1a161_1 conda-forge llvmlite 0.38.0 py37h62ea057_0 conda-forge locket 0.2.0 py_2 conda-forge lz4-c 1.9.3 he49afe7_1 conda-forge lzo 2.10 haf1e3a3_1000 conda-forge macfsevents 0.8.1 py37h271585c_1002 conda-forge mapclassify 2.4.3 pyhd8ed1ab_0 conda-forge markdown 3.3.6 pyhd8ed1ab_0 conda-forge markupsafe 2.1.1 py37h69ee0a8_0 conda-forge matplotlib 3.5.1 py37hf985489_0 conda-forge matplotlib-base 3.5.1 py37h3147e9e_0 conda-forge matplotlib-inline 0.1.3 pyhd8ed1ab_0 conda-forge mccabe 0.6.1 py_1 conda-forge mistune 0.8.4 py37h271585c_1005 conda-forge msgpack-python 1.0.3 py37h737db71_0 conda-forge multidict 6.0.2 py37h271585c_0 conda-forge multipledispatch 0.6.0 py_0 conda-forge munch 2.5.0 py_0 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge mysql-common 8.0.28 hab7e275_2 conda-forge mysql-libs 8.0.28 h2a44bf5_2 conda-forge nbclient 0.5.13 pyhd8ed1ab_0 conda-forge nbconvert 6.4.5 pyhd8ed1ab_1 conda-forge nbconvert-core 6.4.5 pyhd8ed1ab_1 conda-forge nbconvert-pandoc 6.4.5 pyhd8ed1ab_1 conda-forge nbformat 5.2.0 pyhd8ed1ab_0 conda-forge nbsmoke 0.6.0 py_0 pyviz/label/dev ncurses 6.3 he49afe7_0 conda-forge nest-asyncio 1.5.4 pyhd8ed1ab_0 conda-forge netcdf4 1.5.8 nompi_py37h5a78667_101 conda-forge networkx 2.7.1 pyhd8ed1ab_0 conda-forge notebook 6.4.10 pyha770c72_0 conda-forge nspr 4.32 hcd9eead_1 conda-forge nss 3.76 hfce436b_0 conda-forge numba 0.55.1 py37h078fc1e_0 conda-forge numcodecs 0.9.1 py37hd8d24ac_2 conda-forge numpy 1.21.5 py37h3c8089f_0 conda-forge openjpeg 2.4.0 h6e7aa92_1 conda-forge openssl 1.1.1n h6c3fc93_0 conda-forge orc 1.7.1 h84518c8_1 conda-forge outcome 1.1.0 pyhd8ed1ab_0 conda-forge packaging 21.3 pyhd8ed1ab_0 conda-forge pandas 1.3.5 py37h5b83a90_0 conda-forge pandoc 2.17.1.1 h694c41f_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge panel 0.13.0a47 py_0 pyviz/label/dev pango 1.50.6 hc4a7b6d_0 conda-forge param 1.12.1a1 py_0 pyviz/label/dev parameterized 0.8.1 pyhd3deb0d_0 conda-forge parquet-cpp 1.5.1 2 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge partd 1.2.0 pyhd8ed1ab_0 conda-forge pcre 8.45 he49afe7_0 conda-forge pexpect 4.8.0 pyh9f0ad1d_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 9.0.1 py37h2540ef4_2 conda-forge pip 22.0.4 pyhd8ed1ab_0 conda-forge pixman 0.40.0 hbcb3906_0 conda-forge pkginfo 1.8.2 pyhd8ed1ab_0 conda-forge pluggy 1.0.0 py37hf985489_2 conda-forge pooch 1.6.0 pyhd8ed1ab_0 conda-forge poppler 21.11.0 h9573804_0 conda-forge poppler-data 0.4.11 hd8ed1ab_0 conda-forge postgresql 14.2 he8fe76e_0 conda-forge proj 8.2.0 h1512c50_0 conda-forge prometheus_client 0.13.1 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.27 pyha770c72_0 conda-forge prompt_toolkit 3.0.27 hd8ed1ab_0 conda-forge psutil 5.9.0 py37h271585c_0 conda-forge pthread-stubs 0.4 hc929b4f_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge py 1.11.0 pyh6c4a22f_0 conda-forge py-lief 0.11.5 py37hd8d24ac_1 conda-forge pyarrow 6.0.1 py37hd1ae41a_5_cpu conda-forge pycodestyle 2.8.0 pyhd8ed1ab_0 conda-forge pycosat 0.6.3 py37h271585c_1009 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pyct 0.4.8 py_0 pyviz/label/dev pyct-core 0.4.8 py_0 pyviz/label/dev pyctdev 0.6.6 py_0 pyviz/label/dev pyepsg 0.4.0 py_0 conda-forge pyflakes 2.4.0 pyhd8ed1ab_0 conda-forge pygments 2.11.2 pyhd8ed1ab_0 conda-forge pygraphviz 1.7 py37h6a63b62_1 conda-forge pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge pyparsing 3.0.7 pyhd8ed1ab_0 conda-forge pyproj 3.2.1 py37hf78b1f3_5 conda-forge pyqt 5.12.3 py37hf985489_8 conda-forge pyqt-impl 5.12.3 py37hab5ec1f_8 conda-forge pyqt5-sip 4.19.18 py37h070e122_8 conda-forge pyqtchart 5.12 py37hab5ec1f_8 conda-forge pyqtwebengine 5.12.1 py37hab5ec1f_8 conda-forge pyrsistent 0.18.1 py37h271585c_0 conda-forge pyshp 2.2.0 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 py37hf985489_4 conda-forge pytest 7.1.1 py37hf985489_0 conda-forge pytest-cov 3.0.0 pyhd8ed1ab_0 conda-forge python 3.7.12 haf480d7_100_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-libarchive-c 4.0 py37hf985489_0 conda-forge python-snappy 0.6.0 py37haf2aeb7_1 conda-forge python_abi 3.7 2_cp37m conda-forge pytz 2022.1 pyhd8ed1ab_0 conda-forge pyviz_comms 2.2.0 py_0 pyviz/label/dev pywavelets 1.3.0 py37h4105427_0 conda-forge pyyaml 6.0 py37h271585c_3 conda-forge pyzmq 22.3.0 py37h8f778e5_1 conda-forge qt 5.12.9 h2a607e2_5 conda-forge qtconsole 5.3.0 pyhd8ed1ab_0 conda-forge qtconsole-base 5.3.0 pyhd8ed1ab_0 conda-forge qtpy 2.0.1 pyhd8ed1ab_0 conda-forge rasterio 1.2.10 py37h8e2be48_3 conda-forge re2 2021.11.01 he49afe7_0 conda-forge readline 8.1 h05e3726_0 conda-forge requests 2.27.1 pyhd8ed1ab_0 conda-forge retrying 1.3.3 py_2 conda-forge ripgrep 13.0.0 hbbacdb1_2 conda-forge rtree 0.9.7 py37hf13911c_3 conda-forge ruamel_yaml 0.15.80 py37h271585c_1006 conda-forge s3fs 2022.2.0 pyhd8ed1ab_0 conda-forge scikit-image 0.19.2 py37h5b83a90_0 conda-forge scikit-learn 1.0.2 py37h572704e_0 conda-forge scipy 1.7.3 py37h4e3cf02_0 conda-forge selenium 4.1.0 pyhd8ed1ab_0 conda-forge send2trash 1.8.0 pyhd8ed1ab_0 conda-forge setuptools 59.8.0 py37hf985489_0 conda-forge shapely 1.8.0 py37hd43bd85_4 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge snappy 1.1.8 hb1e8313_3 conda-forge sniffio 1.2.0 py37hf985489_2 conda-forge snuggs 1.4.7 py_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.3.1 pyhd8ed1ab_0 conda-forge spatialpandas 0.4.3 py_0 pyviz/label/dev sqlite 3.37.1 hb516253_0 conda-forge streamz 0.6.3 pyh6c4a22f_0 conda-forge tblib 1.7.0 pyhd8ed1ab_0 conda-forge terminado 0.13.3 py37hf985489_0 conda-forge testpath 0.6.0 pyhd8ed1ab_0 conda-forge threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge tifffile 2022.3.25 pyhd8ed1ab_0 conda-forge tiledb 2.5.3 hca4410a_0 conda-forge tk 8.6.12 h5dbffcc_0 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge toolz 0.11.2 pyhd8ed1ab_0 conda-forge tornado 6.1 py37h271585c_2 conda-forge tqdm 4.63.1 pyhd8ed1ab_0 conda-forge traitlets 5.1.1 pyhd8ed1ab_0 conda-forge trio 0.20.0 py37hf985489_0 conda-forge trio-websocket 0.9.2 pyhd8ed1ab_0 conda-forge typing-extensions 4.1.1 hd8ed1ab_0 conda-forge typing_extensions 4.1.1 pyha770c72_0 conda-forge tzcode 2022a h5eb16cf_0 conda-forge tzdata 2022a h191b570_0 conda-forge unicodedata2 14.0.0 py37h271585c_0 conda-forge urllib3 1.26.9 pyhd8ed1ab_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webencodings 0.5.1 py_1 conda-forge wheel 0.37.1 pyhd8ed1ab_0 conda-forge widgetsnbextension 3.6.0 py37hf985489_0 conda-forge wrapt 1.14.0 py37h69ee0a8_0 conda-forge wsproto 1.1.0 py37hf985489_0 conda-forge xarray 0.20.2 pyhd8ed1ab_0 conda-forge xerces-c 3.2.3 h6564042_4 conda-forge xorg-libxau 1.0.9 h35c211d_0 conda-forge xorg-libxdmcp 1.1.3 h35c211d_0 conda-forge xyzservices 2022.3.0 pyhd8ed1ab_0 conda-forge xz 5.2.5 haf1e3a3_1 conda-forge yaml 0.2.5 h0d85af4_2 conda-forge yarl 1.7.2 py37h271585c_1 conda-forge zarr 2.11.1 pyhd8ed1ab_0 conda-forge zeromq 4.3.4 he49afe7_1 conda-forge zfp 0.5.5 h4a89273_8 conda-forge zict 2.1.0 pyhd8ed1ab_0 conda-forge zipp 3.7.0 pyhd8ed1ab_1 conda-forge zlib 1.2.11 h6c3fc93_1014 conda-forge zstd 1.5.2 h582d3a0_0 conda-forge ```

Environment info

Obtaining file:///Users/runner/work/hvplot/hvplot
  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'
Installing collected packages: hvplot
  Attempting uninstall: hvplot
    Found existing installation: hvplot 0.8.0a12.post11+g3c31ec6
    Uninstalling hvplot-0.8.0a12.post11+g3c31ec6:
      Successfully uninstalled hvplot-0.8.0a12.post11+g3c31ec6
  Running setup.py develop for hvplot
Successfully installed hvplot-0.8.0a12.post11+g3c31ec6
.  env_capture

     active environment : base
    active env location : /Users/runner/miniconda3/envs/test-environment
            shell level : 2
       user config file : /Users/runner/.condarc
 populated config files : /Users/runner/.condarc
          conda version : 4.12.0
    conda-build version : 3.21.8
         python version : 3.7.12.final.0
       virtual packages : __osx=10.16=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /Users/runner/miniconda3/envs/test-environment  (writable)
      conda av data dir : /Users/runner/miniconda3/envs/test-environment/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/pyviz/label/dev/osx-64
                          https://conda.anaconda.org/pyviz/label/dev/noarch
                          https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/nodefaults/osx-64
                          https://conda.anaconda.org/nodefaults/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/runner/conda_pkgs_dir
       envs directories : /Users/runner/miniconda3/envs/test-environment/envs
                          /Users/runner/.conda/envs
               platform : osx-64
             user-agent : conda/4.12.0 requests/2.27.1 CPython/3.7.12 Darwin/20.6.0 OSX/10.16
                UID:GID : 501:20
             netrc file : None
           offline mode : False
akrherz commented 2 years ago

see #192

maximlt commented 2 years ago

Yep I saw it but figured I'd open a new issue since the failure happens on MacOS and not Windows. Feel free to close my issue if it's a duplicate of course.

jorisvandenbossche commented 2 years ago

@maximlt can you try with the latest version of fiona? (for some reason, you have fiona 1.8.20, while the latest rebuild was for 1.8.21)

I am not fully sure why you get a lower version, though, as looking at the log of the linked build, it seems you only have lower bound version constraints, and no upper bounds (https://github.com/holoviz/hvplot/runs/5754080023?check_suite_focus=true#step:9:152)

akrherz commented 2 years ago

I also notice geotiff=1.7.0 at play here, vs 1.7.1.

jorisvandenbossche commented 2 years ago

BTW, looking at the past commits, it seems this has been failing on your CI for some time, eg from a week ago: https://github.com/holoviz/hvplot/runs/5660575839?check_suite_focus=true

martinfleis commented 2 years ago

This is preventing conda from pulling the latest Fiona https://github.com/conda-forge/pyproj-feedstock/pull/117

maximlt commented 2 years ago

We've just got the same or very similar error on hvplot's test suite, again on Python 3.7 / MacOs, the original error being:

ImportError: the 'read_file' function requires the 'fiona' package, but it is not installed or does not import correctly.
Importing fiona resulted in: dlopen(/Users/runner/miniconda3/envs/test-environment/lib/python3.7/site-packages/fiona/ogrext.cpython-37m-darwin.so, 2): Symbol not found: _ZSTD_compressBound
  Referenced from: /Users/runner/miniconda3/envs/test-environment/lib/python3.7/site-packages/fiona/../../../libgdal.30.dylib
  Expected in: /Users/runner/miniconda3/envs/test-environment/lib/libblosc.1.dylib
 in /Users/runner/miniconda3/envs/test-environment/lib/python3.7/site-packages/fiona/../../../libgdal.30.dylib

This seems to be a spurious failure, a previous run that ran 8 days before the failing one succeeded.

I've done a quick diff of the two outputs of conda list in the two runs, I don't see any new updates in the geo-python stack that would cause the failure we just got. And as already noted by Joris, the environment ends up with fiona 1.8.20, not 1.8.21, which might well be the issue and I'll just pin fiona to >= 1.8.21 to try to prevent this failure to happen again.

diff --git a/good.txt b/bad.txt
index 93fb7e9..807c35c 100644
--- a/good.txt
+++ b/bad.txt
@@ -36,7 +36,7 @@ backports                 1.0                        py_2    conda-forge
 backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
 beautifulsoup4            4.11.1             pyha770c72_0    conda-forge
 bleach                    5.0.0              pyhd8ed1ab_0    conda-forge
-blosc                     1.21.1               hd0a9f43_0    conda-forge
+blosc                     1.21.1               h97e831e_2    conda-forge
 bokeh                     2.4.2            py37hf985489_1    conda-forge
 boost-cpp                 1.74.0               hdbf7018_7    conda-forge
 botocore                  1.24.21            pyhd8ed1ab_1    conda-forge
@@ -68,17 +68,16 @@ colorcet                  3.0.0                      py_0    pyviz/label/dev
 conda                     4.12.0           py37hf985489_0    conda-forge
 conda-build               3.21.8           py37hf985489_0    conda-forge
 conda-package-handling    1.8.1            py37h69ee0a8_1    conda-forge
-coverage                  6.3.2            py37h69ee0a8_2    conda-forge
+coverage                  6.3.3            py37h994c40b_0    conda-forge
 cramjam                   2.5.0            py37h5210ebb_0    conda-forge
 cryptography              36.0.2           py37h20b3391_1    conda-forge
-curl                      7.83.0               h372c54d_0    conda-forge
+curl                      7.83.1               h372c54d_0    conda-forge
 cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
 cytoolz                   0.11.2           py37h69ee0a8_2    conda-forge
 dask                      2022.2.0           pyhd8ed1ab_0    conda-forge
 dask-core                 2022.2.0           pyhd8ed1ab_0    conda-forge
 datashader                0.14.1rc1                  py_0    pyviz/label/dev
 datashape                 0.5.4                      py_1    conda-forge
-dbus                      1.13.6               h811a1a6_3    conda-forge
 debugpy                   1.6.0            py37h0582d14_0    conda-forge
 decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
 defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
@@ -87,8 +86,8 @@ doit                      0.34.2           py37hf985489_0    conda-forge
 entrypoints               0.4                pyhd8ed1ab_0    conda-forge
 expat                     2.4.8                h96cf925_0    conda-forge
 fasteners                 0.17.3             pyhd8ed1ab_0    conda-forge
-fastparquet               0.8.0            py37h032687b_1    conda-forge
-filelock                  3.6.0              pyhd8ed1ab_0    conda-forge
+fastparquet               0.8.1            py37h4de8ad1_0    conda-forge
+filelock                  3.7.0              pyhd8ed1ab_0    conda-forge
 fiona                     1.8.20           py37hb742350_4    conda-forge
 flake8                    4.0.1              pyhd8ed1ab_2    conda-forge
 flit-core                 3.7.1              pyhd8ed1ab_0    conda-forge
@@ -122,6 +121,8 @@ glog                      0.5.0                h25b26a9_0    conda-forge
 graphite2                 1.3.13            h2e338ed_1001    conda-forge
 graphviz                  2.50.0               h2b5222e_2    conda-forge
 grpc-cpp                  1.42.0               h6da9ac5_1    conda-forge
+gst-plugins-base          1.18.5               h63a84d5_3    conda-forge
+gstreamer                 1.20.2               hdc08c3f_0    conda-forge
 gtk2                      2.24.33              h7c1209e_2    conda-forge
 gts                       0.7.6                hccb3bdf_2    conda-forge
 h11                       0.13.0             pyhd8ed1ab_0    conda-forge
@@ -130,11 +131,11 @@ hdf4                      4.2.15               hefd3b78_3    conda-forge
 hdf5                      1.12.1          nompi_ha60fbc9_104    conda-forge
 heapdict                  1.0.1                      py_0    conda-forge
 holoviews                 1.14.9                     py_0    pyviz/label/dev
-hvplot                    0.8.0rc1                  dev_0    <develop>
+hvplot                    0.8.0                     dev_0    <develop>
 icu                       69.1                 he49afe7_0    conda-forge
 idna                      3.3                pyhd8ed1ab_0    conda-forge
 imagecodecs               2021.11.20       py37h04bde26_2    conda-forge
-imageio                   2.19.0             pyhcf75d05_1    conda-forge
+imageio                   2.19.1             pyhcf75d05_0    conda-forge
 importlib-metadata        4.11.3           py37hf985489_1    conda-forge
 importlib_metadata        4.11.3               hd8ed1ab_1    conda-forge
 importlib_resources       5.7.1              pyhd8ed1ab_0    conda-forge
@@ -155,9 +156,9 @@ jpeg                      9e                   h5eb16cf_1    conda-forge
 json-c                    0.15                 hcb556a6_0    conda-forge
 jsonschema                4.5.1              pyhd8ed1ab_0    conda-forge
 jupyter                   1.0.0            py37hf985489_7    conda-forge
-jupyter_client            7.3.0              pyhd8ed1ab_0    conda-forge
+jupyter_client            7.3.1              pyhd8ed1ab_0    conda-forge
 jupyter_console           6.4.3              pyhd8ed1ab_0    conda-forge
-jupyter_core              4.9.2            py37hf985489_0    conda-forge
+jupyter_core              4.10.0           py37hf985489_0    conda-forge
 jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
 jupyterlab_widgets        1.1.0              pyhd8ed1ab_0    conda-forge
 jxrlib                    1.1                  h35c211d_2    conda-forge
@@ -174,7 +175,7 @@ libbrotlidec              1.0.9                h5eb16cf_7    conda-forge
 libbrotlienc              1.0.9                h5eb16cf_7    conda-forge
 libcblas                  3.9.0           14_osx64_openblas    conda-forge
 libclang                  13.0.1          default_he082bbe_0    conda-forge
-libcurl                   7.83.0               h372c54d_0    conda-forge
+libcurl                   7.83.1               h372c54d_0    conda-forge
 libcxx                    14.0.3               hc203e6f_0    conda-forge
 libdap4                   3.20.6               h3e144a0_2    conda-forge
 libdeflate                1.10                 h0d85af4_0    conda-forge
@@ -195,7 +196,9 @@ libllvm11                 11.1.0               hd011deb_3    conda-forge
 libllvm13                 13.0.1               h64f94b2_2    conda-forge
 libnetcdf                 4.8.1           nompi_h6609ca0_102    conda-forge
 libnghttp2                1.47.0               h942079c_0    conda-forge
+libogg                    1.3.4                h35c211d_1    conda-forge
 libopenblas               0.3.20          openmp_hb3cd9ec_0    conda-forge
+libopus                   1.3.1                hc929b4f_1    conda-forge
 libpng                    1.6.37               h7cec526_2    conda-forge
 libpq                     14.2                 hea3049e_0    conda-forge
 libprotobuf               3.19.4               hcf210ce_0    conda-forge
@@ -209,6 +212,7 @@ libthrift                 0.15.0               hab56fdc_1    conda-forge
 libtiff                   4.3.0                h17f2ce3_3    conda-forge
 libtool                   2.4.6             he49afe7_1008    conda-forge
 libutf8proc               2.7.0                h0d85af4_0    conda-forge
+libvorbis                 1.3.7                h046ec9c_0    conda-forge
 libwebp                   1.2.2                h28dabe5_0    conda-forge
 libwebp-base              1.2.2                h0d85af4_1    conda-forge
 libxcb                    1.13              h0d85af4_1004    conda-forge
@@ -237,7 +241,7 @@ munch                     2.5.0                      py_0    conda-forge
 munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
 mysql-common              8.0.29               h924029e_0    conda-forge
 mysql-libs                8.0.29               h3cab752_0    conda-forge
-nbclient                  0.6.2              pyhd8ed1ab_0    conda-forge
+nbclient                  0.6.3              pyhd8ed1ab_0    conda-forge
 nbconvert                 6.5.0              pyhd8ed1ab_0    conda-forge
 nbconvert-core            6.5.0              pyhd8ed1ab_0    conda-forge
 nbconvert-pandoc          6.5.0              pyhd8ed1ab_0    conda-forge
@@ -250,7 +254,7 @@ networkx                  2.7.1              pyhd8ed1ab_0    conda-forge
 notebook                  6.4.11             pyha770c72_0    conda-forge
 nspr                      4.32                 hcd9eead_1    conda-forge
 nss                       3.77                 hfce436b_0    conda-forge
-numba                     0.55.1           py37h078fc1e_0    conda-forge
+numba                     0.55.1           py37h7687b59_1    conda-forge
 numcodecs                 0.9.1            py37hd8d24ac_2    conda-forge
 numpy                     1.21.6           py37h345d48f_0    conda-forge
 openjpeg                  2.4.0                h6e7aa92_1    conda-forge
@@ -261,7 +265,7 @@ packaging                 21.3               pyhd8ed1ab_0    conda-forge
 pandas                    1.3.5            py37h5b83a90_0    conda-forge
 pandoc                    2.18                 h694c41f_0    conda-forge
 pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
-panel                     0.13.1a4                   py_0    pyviz/label/dev
+panel                     0.13.1a6                   py_0    pyviz/label/dev
 pango                     1.50.3               h7f27720_0    conda-forge
 param                     1.12.1                     py_0    pyviz/label/dev
 parameterized             0.8.1              pyhd3deb0d_0    conda-forge
@@ -272,10 +276,10 @@ pcre                      8.45                 he49afe7_0    conda-forge
 pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
 pickleshare               0.7.5                   py_1003    conda-forge
 pillow                    9.1.0            py37h2540ef4_2    conda-forge
-pip                       22.0.4             pyhd8ed1ab_0    conda-forge
+pip                       22.1               pyhd8ed1ab_0    conda-forge
 pixman                    0.40.0               hbcb3906_0    conda-forge
 pkginfo                   1.8.2              pyhd8ed1ab_0    conda-forge
-plotly                    5.7.0              pyhd8ed1ab_0    conda-forge
+plotly                    5.8.0              pyhd8ed1ab_0    conda-forge
 pluggy                    1.0.0            py37hf985489_3    conda-forge
 pooch                     1.6.0              pyhd8ed1ab_0    conda-forge
 poppler                   21.11.0              h9573804_0    conda-forge
@@ -296,19 +300,16 @@ pycosat                   0.6.3           py37h69ee0a8_1010    conda-forge
 pycparser                 2.21               pyhd8ed1ab_0    conda-forge
 pyct                      0.4.8                      py_0    pyviz/label/dev
 pyct-core                 0.4.8                      py_0    pyviz/label/dev
-pyctdev                   0.6.7a3                    py_0    pyviz/label/dev
+pyctdev                   0.6.7a5                    py_0    pyviz/label/dev
 pyepsg                    0.4.0                      py_0    conda-forge
 pyflakes                  2.4.0              pyhd8ed1ab_0    conda-forge
 pygments                  2.12.0             pyhd8ed1ab_0    conda-forge
 pygraphviz                1.7              py37h6a63b62_1    conda-forge
 pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
-pyparsing                 3.0.8              pyhd8ed1ab_0    conda-forge
+pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
 pyproj                    3.2.1            py37hf78b1f3_5    conda-forge
-pyqt                      5.12.3           py37hf985489_8    conda-forge
-pyqt-impl                 5.12.3           py37hab5ec1f_8    conda-forge
-pyqt5-sip                 4.19.18          py37h070e122_8    conda-forge
-pyqtchart                 5.12             py37hab5ec1f_8    conda-forge
-pyqtwebengine             5.12.1           py37hab5ec1f_8    conda-forge
+pyqt                      5.15.4           py37h4e8204f_0    conda-forge
+pyqt5-sip                 12.9.0           py37h4e8204f_0    conda-forge
 pyrsistent                0.18.1           py37h69ee0a8_1    conda-forge
 pyshp                     2.3.0              pyhd8ed1ab_0    conda-forge
 pysocks                   1.7.1            py37hf985489_5    conda-forge
@@ -325,7 +326,7 @@ pyviz_comms               2.2.0                      py_0    pyviz/label/dev
 pywavelets                1.3.0            py37h49e79e5_1    conda-forge
 pyyaml                    6.0              py37h69ee0a8_4    conda-forge
 pyzmq                     22.3.0           py37h8f778e5_1    conda-forge
-qt                        5.12.9               h2a607e2_5    conda-forge
+qt-main                   5.15.2               hcd8bfff_3    conda-forge
 qtconsole                 5.3.0              pyhd8ed1ab_0    conda-forge
 qtconsole-base            5.3.0              pyhd8ed1ab_0    conda-forge
 qtpy                      2.1.0              pyhd8ed1ab_0    conda-forge
@@ -345,6 +346,7 @@ selenium                  4.1.0              pyhd8ed1ab_0    conda-forge
 send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
 setuptools                59.8.0           py37hf985489_1    conda-forge
 shapely                   1.8.0            py37hd43bd85_4    conda-forge
+sip                       6.5.1            py37hd8d24ac_2    conda-forge
 six                       1.16.0             pyh6c4a22f_0    conda-forge
 snappy                    1.1.9                h6e38e02_0    conda-forge
 sniffio                   1.2.0            py37hf985489_3    conda-forge
@@ -367,7 +369,7 @@ tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
 toolz                     0.11.2             pyhd8ed1ab_0    conda-forge
 tornado                   6.1              py37h69ee0a8_3    conda-forge
 tqdm                      4.64.0             pyhd8ed1ab_0    conda-forge
-traitlets                 5.1.1              pyhd8ed1ab_0    conda-forge
+traitlets                 5.2.0              pyhd8ed1ab_0    conda-forge
 trio                      0.20.0           py37hf985489_1    conda-forge
 trio-websocket            0.9.2              pyhd8ed1ab_0    conda-forge
 typing-extensions         4.1.1                hd8ed1ab_0    conda-forge
@@ -396,7 +398,7 @@ zfp                       0.5.5                h4a89273_8    conda-forge
 zict                      2.2.0              pyhd8ed1ab_0    conda-forge
 zipp                      3.8.0              pyhd8ed1ab_0    conda-forge
 zlib                      1.2.11            h6c3fc93_1014    conda-forge
-zlib-ng                   2.0.6                h0d85af4_0    conda-forge
+zlib-ng                   2.0.6                hac89ed1_0    conda-forge
 zstd                      1.5.2                h582d3a0_0    conda-forge
 name: test-environment
 channels:
valeriupredoi commented 1 year ago

@maximlt I am seeing this exact fail with 1.8.22 and python=3.10, given 1.8.22 is about 5 days old I am fairly sure it's not fiona at fault here, but one of her dependencies. I'll investigate more on Monday, if the issue doesn't sort itself out in the meantime 👍

jorisvandenbossche commented 1 year ago

Based on the error message and the changes in the environment, this seems an issue with a blosc rebuild (EDIT: although it seems that there was no recent rebuild ..)

akrherz commented 9 months ago

Anybody watching this able to comment if this is still an issue? Will close as stale for now