xesmf v0.8.6 is not compatible with earlier versions of esmf/esmpy
Closed this issue · 1 comments
Zeitsperre commented
Solution to issue cannot be found in the documentation.
- I checked the documentation.
Issue
It seems that the current version of xESMF
is only compatible with the last stable releases of esmpy
and esmf
. The latest build of xESMF
should be raising the lowest compatible version of esmpy
and esmf
Installed packages
# packages in environment at /home/runner/micromamba/envs/climpred-maximum-tests:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
archspec 0.2.3 pyhd8ed1ab_0 conda-forge
aws-c-auth 0.7.22 hf36ad8f_6 conda-forge
aws-c-cal 0.6.15 h816f305_1 conda-forge
aws-c-common 0.9.23 h4ab18f5_0 conda-forge
aws-c-compression 0.2.18 he027950_7 conda-forge
aws-c-event-stream 0.4.2 hb72ac1a_14 conda-forge
aws-c-http 0.8.2 h75ac8c9_3 conda-forge
aws-c-io 0.14.9 hd3d3696_3 conda-forge
aws-c-mqtt 0.10.4 hb0abfc5_7 conda-forge
aws-c-s3 0.5.10 h44b787d_4 conda-forge
aws-c-sdkutils 0.1.16 he027950_3 conda-forge
aws-checksums 0.1.18 he027950_7 conda-forge
aws-crt-cpp 0.26.12 he940a02_1 conda-forge
aws-sdk-cpp 1.11.329 h0f5bab0_6 conda-forge
azure-core-cpp 1.12.0 h830ed8b_0 conda-forge
azure-identity-cpp 1.8.0 hdb0d106_1 conda-forge
azure-storage-blobs-cpp 12.11.0 ha67cba7_1 conda-forge
azure-storage-common-cpp 12.6.0 he3f277c_1 conda-forge
azure-storage-files-datalake-cpp 12.10.0 h29b5301_1 conda-forge
bias_correction 0.4 pyhd8ed1ab_0 conda-forge
bokeh 3.4.2 pyhd8ed1ab_0 conda-forge
boltons 24.0.0 pyhd8ed1ab_0 conda-forge
bottleneck 1.4.0 py311h18e1886_1 conda-forge
brotli 1.1.0 hd590300_1 conda-forge
brotli-bin 1.1.0 hd590300_1 conda-forge
brotli-python 1.1.0 py311hb755f60_1 conda-forge
bzip2 1.0.8 hd590300_5 conda-forge
c-ares 1.28.1 hd590300_0 conda-forge
ca-certificates 2024.6.2 hbcca054_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
certifi 2024.6.2 pyhd8ed1ab_0 conda-forge
cf_xarray 0.9.2 pyhd8ed1ab_0 conda-forge
cffi 1.16.0 py311hb3a22ac_0 conda-forge
cftime 1.6.4 py311h18e1886_0 conda-forge
charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge
click 8.1.7 unix_pyh707e725_0 conda-forge
climpred 2.4.1.dev37+g77fc114 pypi_0 pypi
cloudpickle 3.0.0 pyhd8ed1ab_0 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
conda 24.5.0 py311h38be061_0 conda-forge
conda-libmamba-solver 24.1.0 pyhd8ed1ab_0 conda-forge
conda-package-handling 2.3.0 pyh7900ff3_0 conda-forge
conda-package-streaming 0.10.0 pyhd8ed1ab_0 conda-forge
contourpy 1.2.1 py311h9547e67_0 conda-forge
coverage 7.5.4 py311h331c9d8_0 conda-forge
coveralls 4.0.1 pyhd8ed1ab_0 conda-forge
curl 8.8.0 he654da7_1 conda-forge
cycler 0.12.1 pyhd8ed1ab_0 conda-forge
cytoolz 0.12.3 py311h459d7ec_0 conda-forge
dask 2024.6.2 pyhd8ed1ab_0 conda-forge
dask-core 2024.6.2 pyhd8ed1ab_0 conda-forge
dask-expr 1.1.6 pyhd8ed1ab_0 conda-forge
distributed 2024.6.2 pyhd8ed1ab_0 conda-forge
distro 1.9.0 pyhd8ed1ab_0 conda-forge
docopt 0.6.2 py_1 conda-forge
docrep 0.3.2 pyh44b312d_0 conda-forge
eofs 1.4.1 pyhd8ed1ab_1 conda-forge
esmf 8.4.0 mpi_mpich_h7b33e6e_105 conda-forge
esmpy 8.4.0 mpi_mpich_py311hf216de5_102 conda-forge
exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge
execnet 2.1.1 pyhd8ed1ab_0 conda-forge
fmt 10.2.1 h00ab1b0_0 conda-forge
fonttools 4.53.0 py311h331c9d8_0 conda-forge
freetype 2.12.1 h267a509_2 conda-forge
frozendict 2.4.4 py311h331c9d8_0 conda-forge
fsspec 2024.6.1 pyhff2d567_0 conda-forge
future 1.0.0 pyhd8ed1ab_0 conda-forge
geos 3.12.1 h59595ed_0 conda-forge
gflags 2.2.2 he1b5a44_1004 conda-forge
glog 0.7.1 hbabe93e_0 conda-forge
h2 4.1.0 pyhd8ed1ab_0 conda-forge
h5netcdf 1.3.0 pyhd8ed1ab_0 conda-forge
h5py 3.8.0 nompi_py311h1db17ec_100 conda-forge
hdf4 4.2.15 h501b40f_6 conda-forge
hdf5 1.12.2 mpi_mpich_h5d83325_1 conda-forge
hpack 4.0.0 pyh9f0ad1d_0 conda-forge
hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge
icu 73.2 h59595ed_0 conda-forge
idna 3.7 pyhd8ed1ab_0 conda-forge
importlib-metadata 8.0.0 pyha770c72_0 conda-forge
importlib_metadata 8.0.0 hd8ed1ab_0 conda-forge
iniconfig 2.0.0 pyhd8ed1ab_0 conda-forge
jinja2 3.1.4 pyhd8ed1ab_0 conda-forge
joblib 1.4.2 pyhd8ed1ab_0 conda-forge
jsonpatch 1.33 pyhd8ed1ab_0 conda-forge
jsonpickle 3.2.2 pyhd8ed1ab_0 conda-forge
jsonpointer 3.0.0 py311h38be061_0 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
kiwisolver 1.4.5 py311h9547e67_1 conda-forge
krb5 1.21.3 h659f571_0 conda-forge
lcms2 2.15 h7f713cb_2 conda-forge
ld_impl_linux-64 2.40 hf3520f5_7 conda-forge
lerc 4.0.0 h27087fc_0 conda-forge
libabseil 20240116.2 cxx17_h59595ed_0 conda-forge
libaec 1.1.3 h59595ed_0 conda-forge
libarchive 3.7.4 hfca40fe_0 conda-forge
libarrow 16.1.0 h4a673ee_10_cpu conda-forge
libarrow-acero 16.1.0 hac33072_10_cpu conda-forge
libarrow-dataset 16.1.0 hac33072_10_cpu conda-forge
libarrow-substrait 16.1.0 h7e0c224_10_cpu conda-forge
libblas 3.9.0 22_linux64_openblas conda-forge
libbrotlicommon 1.1.0 hd590300_1 conda-forge
libbrotlidec 1.1.0 hd590300_1 conda-forge
libbrotlienc 1.1.0 hd590300_1 conda-forge
libcblas 3.9.0 22_linux64_openblas conda-forge
libcrc32c 1.1.2 h9c3ff4c_0 conda-forge
libcurl 8.8.0 hca28451_1 conda-forge
libdeflate 1.19 hd590300_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 hd590300_2 conda-forge
libevent 2.1.12 hf998b51_1 conda-forge
libexpat 2.6.2 h59595ed_0 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 14.1.0 h77fa898_0 conda-forge
libgfortran-ng 14.1.0 h69a702a_0 conda-forge
libgfortran5 14.1.0 hc5f4f2c_0 conda-forge
libgomp 14.1.0 h77fa898_0 conda-forge
libgoogle-cloud 2.25.0 h2736e30_0 conda-forge
libgoogle-cloud-storage 2.25.0 h3d9a0c8_0 conda-forge
libgrpc 1.62.2 h15f2491_0 conda-forge
libiconv 1.17 hd590300_2 conda-forge
libjpeg-turbo 2.1.5.1 hd590300_1 conda-forge
liblapack 3.9.0 22_linux64_openblas conda-forge
libllvm14 14.0.6 hcd5def8_4 conda-forge
libmamba 1.5.8 had39da4_0 conda-forge
libmambapy 1.5.8 py311hf2555c7_0 conda-forge
libnetcdf 4.9.1 mpi_mpich_h5eb6f38_2 conda-forge
libnghttp2 1.58.0 h47da74e_1 conda-forge
libnsl 2.0.1 hd590300_0 conda-forge
libopenblas 0.3.27 pthreads_h413a1c8_0 conda-forge
libparquet 16.1.0 h6a7eafb_10_cpu conda-forge
libpng 1.6.43 h2797004_0 conda-forge
libprotobuf 4.25.3 h08a7969_0 conda-forge
libre2-11 2023.09.01 h5a48ba9_2 conda-forge
libsolv 0.7.29 ha6fb4c9_0 conda-forge
libsqlite 3.46.0 hde9e2c9_0 conda-forge
libssh2 1.11.0 h0841786_0 conda-forge
libstdcxx-ng 14.1.0 hc0a3c3a_0 conda-forge
libthrift 0.19.0 hb90f79a_1 conda-forge
libtiff 4.6.0 h29866fb_1 conda-forge
libutf8proc 2.8.0 h166bdaf_0 conda-forge
libuuid 2.38.1 h0b41bf4_0 conda-forge
libwebp-base 1.4.0 hd590300_0 conda-forge
libxcb 1.15 h0b41bf4_0 conda-forge
libxcrypt 4.4.36 hd590300_1 conda-forge
libxml2 2.12.7 hc051c1a_1 conda-forge
libzip 1.10.1 h2629f0a_3 conda-forge
libzlib 1.3.1 h4ab18f5_1 conda-forge
llvmlite 0.43.0 py311hbde99c3_0 conda-forge
locket 1.0.0 pyhd8ed1ab_0 conda-forge
lz4 4.3.3 py311h38e4bf4_0 conda-forge
lz4-c 1.9.4 hcb278e6_0 conda-forge
lzo 2.10 hd590300_1001 conda-forge
markupsafe 2.1.5 py311h459d7ec_0 conda-forge
matplotlib-base 3.9.0 py311hffb96ce_0 conda-forge
menuinst 2.1.1 py311h38be061_0 conda-forge
mpi 1.0 mpich conda-forge
mpi4py 3.1.4 py311h7edb0b5_0 conda-forge
mpich 4.0.3 h846660c_100 conda-forge
msgpack-python 1.0.8 py311h52f7536_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
nc-time-axis 1.4.1 pyhd8ed1ab_0 conda-forge
ncurses 6.5 h59595ed_0 conda-forge
netcdf-fortran 4.6.0 mpi_mpich_ha3603da_3 conda-forge
numba 0.60.0 py311h4bc866e_0 conda-forge
numpy 1.26.4 py311h64a7726_0 conda-forge
openjpeg 2.5.2 h488ebb8_0 conda-forge
openssl 3.3.1 h4ab18f5_1 conda-forge
orc 2.0.1 h17fec99_1 conda-forge
packaging 24.1 pyhd8ed1ab_0 conda-forge
pandas 2.2.2 py311h14de704_1 conda-forge
parallelio 2.5.10 mpi_mpich_h773ea27_101 conda-forge
partd 1.4.2 pyhd8ed1ab_0 conda-forge
patsy 0.5.6 pyhd8ed1ab_0 conda-forge
pillow 10.0.1 py311h8aef010_1 conda-forge
pint 0.23 pyhd8ed1ab_1 conda-forge
pip 24.0 pyhd8ed1ab_0 conda-forge
platformdirs 4.2.2 pyhd8ed1ab_0 conda-forge
pluggy 1.5.0 pyhd8ed1ab_0 conda-forge
pooch 1.8.2 pyhd8ed1ab_0 conda-forge
properscoring 0.1 py_0 conda-forge
psutil 6.0.0 py311h331c9d8_0 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
pyarrow 16.1.0 py311hbd00459_4 conda-forge
pyarrow-core 16.1.0 py311h8c3dac4_4_cpu conda-forge
pyarrow-hotfix 0.6 pyhd8ed1ab_0 conda-forge
pybind11-abi 4 hd8ed1ab_3 conda-forge
pycosat 0.6.6 py311h459d7ec_0 conda-forge
pycparser 2.22 pyhd8ed1ab_0 conda-forge
pyparsing 3.1.2 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 pyha2e5f31_6 conda-forge
pytest 7.4.4 pyhd8ed1ab_0 conda-forge
pytest-cov 5.0.0 pyhd8ed1ab_0 conda-forge
pytest-lazy-fixture 0.6.3 py_0 conda-forge
pytest-xdist 3.6.1 pyhd8ed1ab_0 conda-forge
python 3.11.9 hb806964_0_cpython conda-forge
python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge
python-tzdata 2024.1 pyhd8ed1ab_0 conda-forge
python_abi 3.11 4_cp311 conda-forge
pytz 2024.1 pyhd8ed1ab_0 conda-forge
pyyaml 6.0.1 py311h459d7ec_1 conda-forge
qhull 2020.2 h4bd325d_2 conda-forge
re2 2023.09.01 h7f4b329_2 conda-forge
readline 8.2 h8228510_1 conda-forge
reproc 14.2.4.post0 hd590300_1 conda-forge
reproc-cpp 14.2.4.post0 h59595ed_1 conda-forge
requests 2.32.3 pyhd8ed1ab_0 conda-forge
ruamel.yaml 0.18.6 py311h459d7ec_0 conda-forge
ruamel.yaml.clib 0.2.8 py311h459d7ec_0 conda-forge
s2n 1.4.16 he19d79f_0 conda-forge
scikit-learn 1.5.0 py311he08f58d_1 conda-forge
scipy 1.14.0 py311h517d4fd_0 conda-forge
setuptools 70.1.1 pyhd8ed1ab_0 conda-forge
shapely 2.0.4 py311h0bed3d6_1 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
snappy 1.2.0 hdb0a2a9_1 conda-forge
sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge
sparse 0.15.4 pyhd8ed1ab_0 conda-forge
statsmodels 0.14.2 py311h18e1886_0 conda-forge
tblib 3.0.0 pyhd8ed1ab_0 conda-forge
threadpoolctl 3.5.0 pyhc1e730c_0 conda-forge
tk 8.6.13 noxft_h4845f30_101 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
toolz 0.12.1 pyhd8ed1ab_0 conda-forge
tornado 6.4.1 py311h331c9d8_0 conda-forge
tqdm 4.66.4 pyhd8ed1ab_0 conda-forge
truststore 0.8.0 pyhd8ed1ab_0 conda-forge
typing_extensions 4.12.2 pyha770c72_0 conda-forge
tzdata 2024a h0c530f3_0 conda-forge
urllib3 2.2.2 pyhd8ed1ab_1 conda-forge
wheel 0.43.0 pyhd8ed1ab_1 conda-forge
xarray 2024.6.0 pyhd8ed1ab_1 conda-forge
xclim 0.50.0 pyhd8ed1ab_0 conda-forge
xesmf 0.8.6 pyhd8ed1ab_0 conda-forge
xhistogram 0.3.2 pyhd8ed1ab_0 conda-forge
xorg-libxau 1.0.11 hd590300_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xrft 1.0.1 pyhd8ed1ab_0 conda-forge
xskillscore 0.0.26 pyhd8ed1ab_0 conda-forge
xyzservices 2024.6.0 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
yamale 5.2.1 pyhca7485f_0 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
yaml-cpp 0.8.0 h59595ed_0 conda-forge
zict 3.0.0 pyhd8ed1ab_0 conda-forge
zipp 3.19.2 pyhd8ed1ab_0 conda-forge
zstandard 0.22.0 py311hb6f056b_1 conda-forge
zstd 1.5.6 ha6fb4c9_0 conda-forge
Environment info
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/runner/work/climpred/climpred/climpred/__init__.py", line 4, in <module>
from . import (
File "/home/runner/work/climpred/climpred/climpred/graphics.py", line 11, in <module>
from .classes import HindcastEnsemble, PerfectModelEnsemble
File "/home/runner/work/climpred/climpred/climpred/classes.py", line 79, in <module>
from .smoothing import (
File "/home/runner/work/climpred/climpred/climpred/smoothing.py", line 9, in <module>
import xesmf as xe
File "/home/runner/micromamba/envs/climpred-maximum-tests/lib/python3.11/site-packages/xesmf/__init__.py", line 3, in <module>
from . import data, util
File "/home/runner/micromamba/envs/climpred-maximum-tests/lib/python3.11/site-packages/xesmf/util.py", line 8, in <module>
import esmpy as ESMF
File "/home/runner/micromamba/envs/climpred-maximum-tests/lib/python3.11/site-packages/esmpy/__init__.py", line 106, in <module>
__author__ = msg["Author"]
~~~^^^^^^^^^^
File "/home/runner/micromamba/envs/climpred-maximum-tests/lib/python3.11/site-packages/importlib_metadata/_adapters.py", line 54, in __getitem__
raise KeyError(item)
KeyError: 'Author'
Zeitsperre commented
Never mind, this seems to be attributable to https://github.com/pangeo-data/xESMF/actions/runs/9685118354/job/26725324514