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

Patch to fix esmpy import for esmpy >= 8.4.0 #89

Merged
merged 2 commits into from
Aug 2, 2023

Conversation

xylar
Copy link
Contributor

@xylar xylar commented Aug 1, 2023

Add a test to make sure regrid2.ESMFREgrid is available.

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Add a test to make sure `regrid2.ESMFREgrid` is available.
@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@xylar xylar marked this pull request as draft August 1, 2023 09:52
@xylar
Copy link
Contributor Author

xylar commented Aug 1, 2023

@conda-forge-admin, please rerender

@xylar
Copy link
Contributor Author

xylar commented Aug 1, 2023

Equivalent to #87 but for the main branch.

@xylar
Copy link
Contributor Author

xylar commented Aug 1, 2023

@conda-forge-admin, please restart CI

@@ -69,6 +70,7 @@ test:
- python -c 'import regrid2'
- python -c 'import regrid2._regrid'
- python -c 'import regrid2._scrip'
- python -c 'from regrid2 import ESMFRegrid'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@chengzhuzhang, hopefully this check will prevent issues like E3SM-Project/e3sm_diags#711 from happening in the future.

Choose a reason for hiding this comment

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

It looks like regridding behavior gets back to normal with this fix!

@xylar xylar marked this pull request as ready for review August 2, 2023 10:35
@xylar xylar merged commit 5afc8b6 into conda-forge:main Aug 2, 2023
8 checks passed
@xylar xylar deleted the fix-esmpy-8.4.x branch August 2, 2023 10:35
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.

None yet

2 participants