Skip to content

Conversation

jasonb5
Copy link
Contributor

@jasonb5 jasonb5 commented Aug 15, 2024

Updates CIME imports to support CIME/4660.

Copy link

PR Preview Action v1.4.7
🚀 Deployed preview to https://E3SM-Project.github.io/E3SM/pr-preview/pr-6550/
on branch gh-pages at 2024-08-15 20:02 UTC

Comment on lines +6 to +10
try:
from CIME.utils import new_lid, run_and_log_case_status
except ImportError:
from CIME.utils import new_lid
from CIME.status import run_and_log_case_status
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't be slightly more preferable to simply do the second and ensure we are always using a recent CIME? Or is backward compatibility (i.e., peeling back cime) important in this context?

jgfouca added a commit that referenced this pull request Aug 15, 2024
Updates cime imports

Updates CIME imports to support CIME/4660.

[BFB]
@jgfouca jgfouca merged commit 1c9dfa1 into master Aug 15, 2024
16 of 21 checks passed
@jgfouca jgfouca deleted the jasonb5/cime/fix-cime-api branch August 15, 2024 20:09
@jgfouca
Copy link
Member

jgfouca commented Aug 15, 2024

Skipping integration testing, merged.

@jasonb5 jasonb5 mentioned this pull request Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants