Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESMpy 8.4.2 not compatible with importlib-metadata 8.0.0 #374

Open
aulemahal opened this issue Jun 26, 2024 · 2 comments
Open

ESMpy 8.4.2 not compatible with importlib-metadata 8.0.0 #374

aulemahal opened this issue Jun 26, 2024 · 2 comments
Labels
dependencies Pull requests that update a dependency file wontfix This will not be worked on

Comments

@aulemahal
Copy link
Collaborator

Weird bug here.

When we have importlib-metadata 8.0.0 (out since june 25th), importing esmpy from a child process (while using dask) does not work. It fails on some metadata issue. There's a note in the ESMF code about the specific entry failing.

See https://github.com/pangeo-data/xESMF/actions/runs/9685118354/job/26725324514

It does not happen for esmpy 8.3.1, nor 8.6.

#372 addresses the issue in the CI, but I don't think there's much to do on our side as this is an esmpy issue and an older version. However, 8.4.2 is the last windows-compatible version, so windows users might need to pin importlib-metadata.

@aulemahal aulemahal added wontfix This will not be worked on dependencies Pull requests that update a dependency file labels Jun 26, 2024
@peanutfun
Copy link

Do I understand correctly that the workaround is to pin importlib-metadata<8.0.0 and/or esmpy<=8.3.1,>=8.6?

@aulemahal
Copy link
Collaborator Author

AFAIU, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants