Solution to issue cannot be found in the documentation.
[X] 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
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'
Solution to issue cannot be found in the documentation.
Issue
It seems that the current version of
xESMF
is only compatible with the last stable releases ofesmpy
andesmf
. The latest build ofxESMF
should be raising the lowest compatible version ofesmpy
andesmf
Installed packages
Environment info