Skip to content

Get workflows to work with ubuntu 26.04 - #4297

Merged
samsrabin merged 34 commits into
ESCOMP:b4b-devfrom
samsrabin:workflows-with-ubuntu-26.04
Nov 3, 2026
Merged

samsrabin merged 34 commits into
ESCOMP:b4b-devfrom
samsrabin:workflows-with-ubuntu-26.04

Conversation

@samsrabin

@samsrabin samsrabin commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Description of changes

GitHub workflows were using ubuntu-latest, which previously resolved to ubuntu-24.04. Now it's ubuntu-26.04—which break? This PR first tests them all, then will resolve them.

  • Identify failing workflows
  • Fix failing workflows
  • Change back to ubuntu-latest

I had to:

  • Update Python in ctsm_pylib from 3.13.2 to 3.13.13
  • Update setup-python action from v5.6 to v7.1

I also:

  • Updated the versions of some other actions to avoid deprecation warnings
  • Updated the versions of all other outdated actions to use their latest, just because
  • Added a workflow_dispatch trigger to some workflows to allow manual runs

Specific notes

Contributors other than yourself, if any: None

CTSM issues resolved or otherwise addressed, if any: None

Any user interface changes (namelist or namelist defaults changes)? No

Testing planned or performed, if any:

  • Tests on this PR

Requirements before merge:

They were using ubuntu-latest, which previously resolved to ubuntu-24.04. Now it's ubuntu-26.04 -- which break?
@samsrabin
samsrabin changed the base branch from master to b4b-dev November 3, 2026 17:32
@samsrabin samsrabin self-assigned this Nov 3, 2026
@samsrabin samsrabin added b4b bit-for-bit devops Development Operations to improve development throughput, E.g., adding GitHub Workflows labels Nov 3, 2026
samsrabin and others added 25 commits November 3, 2026 10:47
Was on 3.13.2, but that's not available for ubuntu-26.04.
They were using ubuntu-latest, which previously resolved to ubuntu-24.04. Now it's ubuntu-26.04 -- which break?

(cherry picked from commit cdda6b5)
Not strictly necessary, but avoids deprecation warnings.
Not strictly necessary, but avoids deprecation warnings.
Not strictly necessary, but avoids deprecation warnings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@samsrabin
samsrabin force-pushed the workflows-with-ubuntu-26.04 branch from 1ad803b to bc9170d Compare November 3, 2026 19:39
@samsrabin
samsrabin marked this pull request as ready for review November 3, 2026 20:53
Comment thread .github/workflows/docs-common.yml Resolved

@slevis-lmwg slevis-lmwg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @samsrabin. Mostly this includes version updates if I'm interpreting correctly.

@samsrabin samsrabin added the code health improving internal code structure to make easier to maintain (sustainability) label Nov 3, 2026
@samsrabin
samsrabin merged commit 23baa19 into ESCOMP:b4b-dev Nov 3, 2026
4 checks passed
@samsrabin samsrabin mentioned this pull request Nov 12, 2026
7 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

b4b bit-for-bit code health improving internal code structure to make easier to maintain (sustainability) devops Development Operations to improve development throughput, E.g., adding GitHub Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants