Fix esmf usage, add new version (#48835)

This commit is contained in:
Chris Marsh 2025-02-05 04:24:48 -06:00 committed by GitHub
parent fb3d9de80b
commit c10624390f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@ class PyXesmf(PythonPackage):
license("MIT")
version("0.8.8", sha256="8588f83007ce7011379991f516be3691df6fb30486741f0e1c33aa962056ea33")
version("0.8.4", sha256="c5a2c4b3e8dbbc9fccd5772a940f9067d68e824215ef87ba222b06718c4eeb56")
with default_args(type="build"):
@ -21,9 +22,9 @@ class PyXesmf(PythonPackage):
with default_args(type=("build", "run")):
depends_on("py-cf-xarray@0.5.1:")
# TODO: add optional dependency
# https://github.com/esmf-org/esmf/tree/develop/src/addon/esmpy
# depends_on("py-esmpy@8:")
# esmf +python is only handled correctly in spack for 8.4+
depends_on("esmf@8.4.0: +python")
depends_on("py-numba@0.55.2:")
depends_on("py-numpy@1.16:")
depends_on("py-shapely")