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

try importing esmpy (aliased to ESMF) for esmpy >= 8.4.0 fixes #212 #214

Merged
merged 7 commits into from
Dec 14, 2022

Conversation

raphaeldussin
Copy link
Contributor

fall back on old name if the import fails

raphael and others added 2 commits December 13, 2022 22:27
xesmf/backend.py Outdated Show resolved Hide resolved
@raphaeldussin
Copy link
Contributor Author

@aulemahal I'm getting the test failing for the spatialAverager with AttributeError: 'CoordinateSequence' object has no attribute 'array_interface'

can you take a look?

@aulemahal
Copy link
Collaborator

That's shapely 2.0... ugh...

Pinning it to < 2.0 should work for now. I'll look into it and try to push a fix.

@raphaeldussin
Copy link
Contributor Author

ok I'll put a pin for now before we get flooded with broken installs with the new esmpy

@raphaeldussin raphaeldussin changed the title try importing esmpy (aliased to ESMF) for esmpy >= 8.4.0 try importing esmpy (aliased to ESMF) for esmpy >= 8.4.0 fixes #212 Dec 14, 2022
@raphaeldussin
Copy link
Contributor Author

fixes #212

this is ready for review (then squash and merge) and somewhat time sensitive.

Copy link
Collaborator

@aulemahal aulemahal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems a good temporary fix to me.

@huard
Copy link
Contributor

huard commented Dec 14, 2022

Just add a note to CHANGES about this.

@raphaeldussin raphaeldussin merged commit 57ef16f into master Dec 14, 2022
@raphaeldussin raphaeldussin deleted the update840 branch December 14, 2022 18:41
@@ -14,6 +14,6 @@ dependencies:
- pydap
- pytest
- pytest-cov
- shapely
- shapely<2.0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have been done in the cf feedstock as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants