From cdda6b53917d73af75947612ff7158e25bd448e9 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 10:30:22 -0700 Subject: [PATCH 01/34] Update workflows to use ubuntu-26.04. They were using ubuntu-latest, which previously resolved to ubuntu-24.04. Now it's ubuntu-26.04 -- which break? --- .github/workflows/check-compset-aliases.yml | 2 +- .github/workflows/check-testlists.yml | 2 +- .github/workflows/docker-image-build-publish.yml | 2 +- .github/workflows/docker-image-common.yml | 2 +- .github/workflows/docker-image-get-version.yml | 2 +- .github/workflows/docs-build-and-deploy.yml | 2 +- .github/workflows/docs-common.yml | 2 +- .github/workflows/docs-omnibus.yml | 2 +- .github/workflows/docs-pr-failure-post-comment.yml | 2 +- .github/workflows/docs-update-ctsm_pylib.yml | 2 +- .github/workflows/docs-update-dependency-common.yml | 4 ++-- .github/workflows/docs-update-doc-builder.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/python-tests.yml | 4 ++-- .github/workflows/xml-check.yml | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/check-compset-aliases.yml b/.github/workflows/check-compset-aliases.yml index bdafb7aa9b..2aa18fa649 100644 --- a/.github/workflows/check-compset-aliases.yml +++ b/.github/workflows/check-compset-aliases.yml @@ -22,7 +22,7 @@ on: jobs: check-compset-aliases: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index 172fa6d2f5..ca774fb1cc 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -19,7 +19,7 @@ on: jobs: testlist-supertestlists: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index d22ab701e6..1249a6d04c 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -22,7 +22,7 @@ jobs: # This second job actually builds and publishes the container. push-and-attest: name: Publish and attest - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 # Wait to run this job until after build-image-and-test-docs. If that job fails, something might be wrong with the container, so don't try this one. (It might also have failed because of something wrong with doc-builder or the documentation.) needs: build-image-and-test-docs diff --git a/.github/workflows/docker-image-common.yml b/.github/workflows/docker-image-common.yml index 86de4fc2f2..a1070422e9 100644 --- a/.github/workflows/docker-image-common.yml +++ b/.github/workflows/docker-image-common.yml @@ -22,7 +22,7 @@ env: # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. jobs: build-image-and-test-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 # Variables that might be needed by the calling workflow outputs: REGISTRY: ${{ env.REGISTRY }} diff --git a/.github/workflows/docker-image-get-version.yml b/.github/workflows/docker-image-get-version.yml index c405b861b5..27704f562e 100644 --- a/.github/workflows/docker-image-get-version.yml +++ b/.github/workflows/docker-image-get-version.yml @@ -32,7 +32,7 @@ on: jobs: get-check-version: name: Get version number from Dockerfile and check it - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 outputs: VERSION_TAG: ${{ steps.get-check-version.outputs.version_tag }} # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. diff --git a/.github/workflows/docs-build-and-deploy.yml b/.github/workflows/docs-build-and-deploy.yml index f004f688b1..ec76f71f24 100644 --- a/.github/workflows/docs-build-and-deploy.yml +++ b/.github/workflows/docs-build-and-deploy.yml @@ -43,7 +43,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index 974cb489e2..1c659a45a2 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -19,7 +19,7 @@ on: jobs: build-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-omnibus.yml b/.github/workflows/docs-omnibus.yml index f698478ef3..0b407f493e 100644 --- a/.github/workflows/docs-omnibus.yml +++ b/.github/workflows/docs-omnibus.yml @@ -22,7 +22,7 @@ jobs: # branch(es) that forks may not have. if: ${{ github.repository == 'ESCOMP/CTSM' }} - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-pr-failure-post-comment.yml b/.github/workflows/docs-pr-failure-post-comment.yml index 2a8928b28c..8714e625f7 100644 --- a/.github/workflows/docs-pr-failure-post-comment.yml +++ b/.github/workflows/docs-pr-failure-post-comment.yml @@ -13,7 +13,7 @@ jobs: if: >- github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure' - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: pull-requests: write actions: read diff --git a/.github/workflows/docs-update-ctsm_pylib.yml b/.github/workflows/docs-update-ctsm_pylib.yml index 18d703a4f7..2074bbc8bb 100644 --- a/.github/workflows/docs-update-ctsm_pylib.yml +++ b/.github/workflows/docs-update-ctsm_pylib.yml @@ -50,7 +50,7 @@ jobs: failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') needs: [test-build-docs-ctsm_pylib, test-update-dependency] - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: contents: read issues: write diff --git a/.github/workflows/docs-update-dependency-common.yml b/.github/workflows/docs-update-dependency-common.yml index 37adc0ff98..b6d8a75d83 100644 --- a/.github/workflows/docs-update-dependency-common.yml +++ b/.github/workflows/docs-update-dependency-common.yml @@ -25,7 +25,7 @@ jobs: # may not have if: ${{ github.repository == 'ESCOMP/CTSM' }} - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -54,7 +54,7 @@ jobs: ./test_container_eq_ctsm_pylib.sh makefile-method: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-update-doc-builder.yml b/.github/workflows/docs-update-doc-builder.yml index 1194e1c153..8e539bf4c4 100644 --- a/.github/workflows/docs-update-doc-builder.yml +++ b/.github/workflows/docs-update-doc-builder.yml @@ -26,7 +26,7 @@ jobs: test-rv-setup: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b1a5ce9250..dd7ac809f1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -51,7 +51,7 @@ jobs: test-build-docs-container: if: ${{ always() }} name: With container from registry - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository @@ -90,7 +90,7 @@ jobs: check-docs-style: if: ${{ always() }} name: Check documentation against style guide - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index a6b0af2b2a..4a75f94746 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -19,7 +19,7 @@ on: jobs: python-unit-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -49,7 +49,7 @@ jobs: conda run -n ctsm_pylib ./run_ctsm_py_tests -u python-lint-and-black: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/xml-check.yml b/.github/workflows/xml-check.yml index d944222dfc..e859b7cf62 100644 --- a/.github/workflows/xml-check.yml +++ b/.github/workflows/xml-check.yml @@ -6,7 +6,7 @@ on: [push, pull_request] # Trigger on push or pull request jobs: check-xml: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 From 20d9a53849478fb4fa07b48fdf9bbeb4c4d21e85 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 10:47:21 -0700 Subject: [PATCH 02/34] Missed one workflow. --- .github/workflows/fleximod_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fleximod_test.yaml b/.github/workflows/fleximod_test.yaml index d85958f972..aef50d8059 100644 --- a/.github/workflows/fleximod_test.yaml +++ b/.github/workflows/fleximod_test.yaml @@ -11,7 +11,7 @@ on: jobs: fleximod-test: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 strategy: fail-fast: false matrix: From ae99182b3cd2ea7dde2173101e552a077b4dac49 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 10:50:01 -0700 Subject: [PATCH 03/34] Update ctsm_pylib to use python 3.13.13. Was on 3.13.2, but that's not available for ubuntu-26.04. --- .github/workflows/docs-common.yml | 2 +- python/conda_env_ctsm_py.yml | 2 +- python/conda_env_ctsm_py_old_3.13.2.yml | 36 +++++++++++++++++++++++++ python/conda_env_ctsm_py_old_3.7.9.yml | 4 +-- 4 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 python/conda_env_ctsm_py_old_3.13.2.yml diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index 1c659a45a2..1956011342 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -37,7 +37,7 @@ jobs: if: ${{ ! inputs.use_conda }} uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: - python-version: '3.13.2' # needs to be coordinated with version in python/conda_env_ctsm_py.yml + python-version: '3.13.13' # needs to be coordinated with version in python/conda_env_ctsm_py.yml - name: Cache pip if: ${{ ! inputs.use_conda }} uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3 diff --git a/python/conda_env_ctsm_py.yml b/python/conda_env_ctsm_py.yml index 13dec57601..66a739186d 100644 --- a/python/conda_env_ctsm_py.yml +++ b/python/conda_env_ctsm_py.yml @@ -4,7 +4,7 @@ channels: - conda-forge - defaults dependencies: - - python=3.13.2 + - python=3.13.13 - dask=2025.7.0 - xarray=2025.1.2 - tqdm=4.67.1 diff --git a/python/conda_env_ctsm_py_old_3.13.2.yml b/python/conda_env_ctsm_py_old_3.13.2.yml new file mode 100644 index 0000000000..2de08415ac --- /dev/null +++ b/python/conda_env_ctsm_py_old_3.13.2.yml @@ -0,0 +1,36 @@ +# This file is used by py_env_create to install a previous version of the ctsm_pylib environment, +# which used Python 3.13.2. Doing so is only useful for running CTSM python tools in repos from +# before the subsequent ctsm_pylib version (with Python 3.13.13) was introduced. +# +name: ctsm_pylib +channels: + - conda-forge + - defaults +dependencies: + - python=3.13.2 + - dask=2025.7.0 + - xarray=2025.1.2 + - tqdm=4.67.1 + - scipy=1.15.2 + - netcdf4=1.7.2 + - requests=2.32.3 + - xesmf=0.8.8 + - numba=0.61.0 + - pylint=3.3.4 + - black=25.1.0 + - cartopy=0.24.0 + - matplotlib=3.10.1 + - compliance-checker=6.1.0 + - pip=25.0.1 + + # For VS code + # fortls used in FORTRAN-IntelliSense extension, add path to fortls below to the VS setting fort-ls.executablePath + - fortls=3.2.2 + + # For building docs + - pip: + - -r ../doc/ctsm-docs_container/requirements.txt + + # Used in ctsm_postprocessing repo + - pytest=8.3.5 + - coverage=7.8.0 diff --git a/python/conda_env_ctsm_py_old_3.7.9.yml b/python/conda_env_ctsm_py_old_3.7.9.yml index e77bab7634..0e329b84d4 100644 --- a/python/conda_env_ctsm_py_old_3.7.9.yml +++ b/python/conda_env_ctsm_py_old_3.7.9.yml @@ -1,6 +1,6 @@ -# This file is used by py_env_create to install the previous version of the ctsm_pylib environment, +# This file is used by py_env_create to install a previous version of the ctsm_pylib environment, # which used Python 3.7.9. Doing so is only useful for running CTSM python tools in repos from -# before the new ctsm_pylib version (with Python 3.13.2) was introduced. +# before the subsequent ctsm_pylib version (with Python 3.13.2) was introduced. # name: ctsm_pylib_3_7_9 channels: From d7cb90018844beae748cccf7807a6b4f10149382 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 11:15:28 -0700 Subject: [PATCH 04/34] Remove version numbers from conda yml --- python/conda_env_ctsm_py.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/python/conda_env_ctsm_py.yml b/python/conda_env_ctsm_py.yml index 66a739186d..663ddfdf45 100644 --- a/python/conda_env_ctsm_py.yml +++ b/python/conda_env_ctsm_py.yml @@ -4,30 +4,30 @@ channels: - conda-forge - defaults dependencies: - - python=3.13.13 - - dask=2025.7.0 - - xarray=2025.1.2 - - tqdm=4.67.1 - - scipy=1.15.2 - - netcdf4=1.7.2 - - requests=2.32.3 - - xesmf=0.8.8 - - numba=0.61.0 - - pylint=3.3.4 - - black=25.1.0 - - cartopy=0.24.0 - - matplotlib=3.10.1 - - compliance-checker=6.1.0 - - pip=25.0.1 + - python + - dask + - xarray + - tqdm + - scipy + - netcdf4 + - requests + - xesmf + - numba + - pylint + - black + - cartopy + - matplotlib + - compliance-checker + - pip # For VS code # fortls used in FORTRAN-IntelliSense extension, add path to fortls below to the VS setting fort-ls.executablePath - - fortls=3.2.2 + - fortls # For building docs - pip: - -r ../doc/ctsm-docs_container/requirements.txt # Used in ctsm_postprocessing repo - - pytest=8.3.5 - - coverage=7.8.0 + - pytest + - coverage From 5f36f6cd04ee38a3971c86337319f313ce04a88f Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 11:19:57 -0700 Subject: [PATCH 05/34] Update setup-miniconda from v3 to v4.1 --- .github/workflows/check-testlists.yml | 2 +- .github/workflows/docs-common.yml | 2 +- .github/workflows/docs-omnibus.yml | 2 +- .github/workflows/docs-update-dependency-common.yml | 4 ++-- .github/workflows/python-tests.yml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index ca774fb1cc..cc81e5b6fb 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # Set up the conda environment - - uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976 # v3 + - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 with: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index 1956011342..af035f3929 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -54,7 +54,7 @@ jobs: # Do this if using conda - name: Set up conda environment if: ${{ inputs.use_conda }} - uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976 # v3 + uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 with: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} diff --git a/.github/workflows/docs-omnibus.yml b/.github/workflows/docs-omnibus.yml index 0b407f493e..8f7fdd0810 100644 --- a/.github/workflows/docs-omnibus.yml +++ b/.github/workflows/docs-omnibus.yml @@ -36,7 +36,7 @@ jobs: # Set up conda - name: Set up conda environment - uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976 # v3 + uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 with: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml diff --git a/.github/workflows/docs-update-dependency-common.yml b/.github/workflows/docs-update-dependency-common.yml index b6d8a75d83..8b981b05e7 100644 --- a/.github/workflows/docs-update-dependency-common.yml +++ b/.github/workflows/docs-update-dependency-common.yml @@ -38,7 +38,7 @@ jobs: bin/git-fleximod update -o - name: Set up conda environment - uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976 # v3 + uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 with: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} @@ -67,7 +67,7 @@ jobs: bin/git-fleximod update -o - name: Set up conda environment - uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976 # v3 + uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 with: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 4a75f94746..b4a2593c29 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -32,7 +32,7 @@ jobs: bin/git-fleximod update cime # Set up the conda environment - - uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976 # v3 + - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 with: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # Set up the conda environment - - uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976 # v3 + - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 with: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml From 0a5f6f389435a0705daff95dd21b29bda28f765f Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 11:30:57 -0700 Subject: [PATCH 06/34] Revert "Remove version numbers from conda yml" This reverts commit d7cb90018844beae748cccf7807a6b4f10149382. --- python/conda_env_ctsm_py.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/python/conda_env_ctsm_py.yml b/python/conda_env_ctsm_py.yml index 663ddfdf45..66a739186d 100644 --- a/python/conda_env_ctsm_py.yml +++ b/python/conda_env_ctsm_py.yml @@ -4,30 +4,30 @@ channels: - conda-forge - defaults dependencies: - - python - - dask - - xarray - - tqdm - - scipy - - netcdf4 - - requests - - xesmf - - numba - - pylint - - black - - cartopy - - matplotlib - - compliance-checker - - pip + - python=3.13.13 + - dask=2025.7.0 + - xarray=2025.1.2 + - tqdm=4.67.1 + - scipy=1.15.2 + - netcdf4=1.7.2 + - requests=2.32.3 + - xesmf=0.8.8 + - numba=0.61.0 + - pylint=3.3.4 + - black=25.1.0 + - cartopy=0.24.0 + - matplotlib=3.10.1 + - compliance-checker=6.1.0 + - pip=25.0.1 # For VS code # fortls used in FORTRAN-IntelliSense extension, add path to fortls below to the VS setting fort-ls.executablePath - - fortls + - fortls=3.2.2 # For building docs - pip: - -r ../doc/ctsm-docs_container/requirements.txt # Used in ctsm_postprocessing repo - - pytest - - coverage + - pytest=8.3.5 + - coverage=7.8.0 From be93e39a6375ba590992fd528e264671e10a2b9b Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 11:32:17 -0700 Subject: [PATCH 07/34] Revert "Update workflows to use ubuntu-26.04." This reverts commit cdda6b53917d73af75947612ff7158e25bd448e9. --- .github/workflows/check-compset-aliases.yml | 2 +- .github/workflows/check-testlists.yml | 2 +- .github/workflows/docker-image-build-publish.yml | 2 +- .github/workflows/docker-image-common.yml | 2 +- .github/workflows/docker-image-get-version.yml | 2 +- .github/workflows/docs-build-and-deploy.yml | 2 +- .github/workflows/docs-common.yml | 2 +- .github/workflows/docs-omnibus.yml | 2 +- .github/workflows/docs-pr-failure-post-comment.yml | 2 +- .github/workflows/docs-update-ctsm_pylib.yml | 2 +- .github/workflows/docs-update-dependency-common.yml | 4 ++-- .github/workflows/docs-update-doc-builder.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/python-tests.yml | 4 ++-- .github/workflows/xml-check.yml | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/check-compset-aliases.yml b/.github/workflows/check-compset-aliases.yml index 2aa18fa649..bdafb7aa9b 100644 --- a/.github/workflows/check-compset-aliases.yml +++ b/.github/workflows/check-compset-aliases.yml @@ -22,7 +22,7 @@ on: jobs: check-compset-aliases: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index cc81e5b6fb..89257bac36 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -19,7 +19,7 @@ on: jobs: testlist-supertestlists: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index 1249a6d04c..d22ab701e6 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -22,7 +22,7 @@ jobs: # This second job actually builds and publishes the container. push-and-attest: name: Publish and attest - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest # Wait to run this job until after build-image-and-test-docs. If that job fails, something might be wrong with the container, so don't try this one. (It might also have failed because of something wrong with doc-builder or the documentation.) needs: build-image-and-test-docs diff --git a/.github/workflows/docker-image-common.yml b/.github/workflows/docker-image-common.yml index a1070422e9..86de4fc2f2 100644 --- a/.github/workflows/docker-image-common.yml +++ b/.github/workflows/docker-image-common.yml @@ -22,7 +22,7 @@ env: # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. jobs: build-image-and-test-docs: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest # Variables that might be needed by the calling workflow outputs: REGISTRY: ${{ env.REGISTRY }} diff --git a/.github/workflows/docker-image-get-version.yml b/.github/workflows/docker-image-get-version.yml index 27704f562e..c405b861b5 100644 --- a/.github/workflows/docker-image-get-version.yml +++ b/.github/workflows/docker-image-get-version.yml @@ -32,7 +32,7 @@ on: jobs: get-check-version: name: Get version number from Dockerfile and check it - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest outputs: VERSION_TAG: ${{ steps.get-check-version.outputs.version_tag }} # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. diff --git a/.github/workflows/docs-build-and-deploy.yml b/.github/workflows/docs-build-and-deploy.yml index ec76f71f24..f004f688b1 100644 --- a/.github/workflows/docs-build-and-deploy.yml +++ b/.github/workflows/docs-build-and-deploy.yml @@ -43,7 +43,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index af035f3929..0e94773a6f 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -19,7 +19,7 @@ on: jobs: build-docs: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-omnibus.yml b/.github/workflows/docs-omnibus.yml index 8f7fdd0810..ac44c946ae 100644 --- a/.github/workflows/docs-omnibus.yml +++ b/.github/workflows/docs-omnibus.yml @@ -22,7 +22,7 @@ jobs: # branch(es) that forks may not have. if: ${{ github.repository == 'ESCOMP/CTSM' }} - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-pr-failure-post-comment.yml b/.github/workflows/docs-pr-failure-post-comment.yml index 8714e625f7..2a8928b28c 100644 --- a/.github/workflows/docs-pr-failure-post-comment.yml +++ b/.github/workflows/docs-pr-failure-post-comment.yml @@ -13,7 +13,7 @@ jobs: if: >- github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure' - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest permissions: pull-requests: write actions: read diff --git a/.github/workflows/docs-update-ctsm_pylib.yml b/.github/workflows/docs-update-ctsm_pylib.yml index 2074bbc8bb..18d703a4f7 100644 --- a/.github/workflows/docs-update-ctsm_pylib.yml +++ b/.github/workflows/docs-update-ctsm_pylib.yml @@ -50,7 +50,7 @@ jobs: failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') needs: [test-build-docs-ctsm_pylib, test-update-dependency] - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest permissions: contents: read issues: write diff --git a/.github/workflows/docs-update-dependency-common.yml b/.github/workflows/docs-update-dependency-common.yml index 8b981b05e7..59b6c09ef9 100644 --- a/.github/workflows/docs-update-dependency-common.yml +++ b/.github/workflows/docs-update-dependency-common.yml @@ -25,7 +25,7 @@ jobs: # may not have if: ${{ github.repository == 'ESCOMP/CTSM' }} - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -54,7 +54,7 @@ jobs: ./test_container_eq_ctsm_pylib.sh makefile-method: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-update-doc-builder.yml b/.github/workflows/docs-update-doc-builder.yml index 8e539bf4c4..1194e1c153 100644 --- a/.github/workflows/docs-update-doc-builder.yml +++ b/.github/workflows/docs-update-doc-builder.yml @@ -26,7 +26,7 @@ jobs: test-rv-setup: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dd7ac809f1..b1a5ce9250 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -51,7 +51,7 @@ jobs: test-build-docs-container: if: ${{ always() }} name: With container from registry - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository @@ -90,7 +90,7 @@ jobs: check-docs-style: if: ${{ always() }} name: Check documentation against style guide - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index b4a2593c29..ec98d7ce59 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -19,7 +19,7 @@ on: jobs: python-unit-tests: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -49,7 +49,7 @@ jobs: conda run -n ctsm_pylib ./run_ctsm_py_tests -u python-lint-and-black: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/xml-check.yml b/.github/workflows/xml-check.yml index e859b7cf62..d944222dfc 100644 --- a/.github/workflows/xml-check.yml +++ b/.github/workflows/xml-check.yml @@ -6,7 +6,7 @@ on: [push, pull_request] # Trigger on push or pull request jobs: check-xml: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 From fa32fda58e7f33cd1e14f8d169e6dae4a7c2eeef Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 10:30:22 -0700 Subject: [PATCH 08/34] Update workflows to use 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 cdda6b53917d73af75947612ff7158e25bd448e9) --- .github/workflows/check-compset-aliases.yml | 2 +- .github/workflows/check-testlists.yml | 2 +- .github/workflows/docker-image-build-publish.yml | 2 +- .github/workflows/docker-image-common.yml | 2 +- .github/workflows/docker-image-get-version.yml | 2 +- .github/workflows/docs-build-and-deploy.yml | 2 +- .github/workflows/docs-common.yml | 2 +- .github/workflows/docs-omnibus.yml | 2 +- .github/workflows/docs-pr-failure-post-comment.yml | 2 +- .github/workflows/docs-update-ctsm_pylib.yml | 2 +- .github/workflows/docs-update-dependency-common.yml | 4 ++-- .github/workflows/docs-update-doc-builder.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/python-tests.yml | 4 ++-- .github/workflows/xml-check.yml | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/check-compset-aliases.yml b/.github/workflows/check-compset-aliases.yml index bdafb7aa9b..2aa18fa649 100644 --- a/.github/workflows/check-compset-aliases.yml +++ b/.github/workflows/check-compset-aliases.yml @@ -22,7 +22,7 @@ on: jobs: check-compset-aliases: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index 89257bac36..cc81e5b6fb 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -19,7 +19,7 @@ on: jobs: testlist-supertestlists: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index d22ab701e6..1249a6d04c 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -22,7 +22,7 @@ jobs: # This second job actually builds and publishes the container. push-and-attest: name: Publish and attest - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 # Wait to run this job until after build-image-and-test-docs. If that job fails, something might be wrong with the container, so don't try this one. (It might also have failed because of something wrong with doc-builder or the documentation.) needs: build-image-and-test-docs diff --git a/.github/workflows/docker-image-common.yml b/.github/workflows/docker-image-common.yml index 86de4fc2f2..a1070422e9 100644 --- a/.github/workflows/docker-image-common.yml +++ b/.github/workflows/docker-image-common.yml @@ -22,7 +22,7 @@ env: # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. jobs: build-image-and-test-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 # Variables that might be needed by the calling workflow outputs: REGISTRY: ${{ env.REGISTRY }} diff --git a/.github/workflows/docker-image-get-version.yml b/.github/workflows/docker-image-get-version.yml index c405b861b5..27704f562e 100644 --- a/.github/workflows/docker-image-get-version.yml +++ b/.github/workflows/docker-image-get-version.yml @@ -32,7 +32,7 @@ on: jobs: get-check-version: name: Get version number from Dockerfile and check it - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 outputs: VERSION_TAG: ${{ steps.get-check-version.outputs.version_tag }} # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. diff --git a/.github/workflows/docs-build-and-deploy.yml b/.github/workflows/docs-build-and-deploy.yml index f004f688b1..ec76f71f24 100644 --- a/.github/workflows/docs-build-and-deploy.yml +++ b/.github/workflows/docs-build-and-deploy.yml @@ -43,7 +43,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index 0e94773a6f..af035f3929 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -19,7 +19,7 @@ on: jobs: build-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-omnibus.yml b/.github/workflows/docs-omnibus.yml index ac44c946ae..8f7fdd0810 100644 --- a/.github/workflows/docs-omnibus.yml +++ b/.github/workflows/docs-omnibus.yml @@ -22,7 +22,7 @@ jobs: # branch(es) that forks may not have. if: ${{ github.repository == 'ESCOMP/CTSM' }} - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-pr-failure-post-comment.yml b/.github/workflows/docs-pr-failure-post-comment.yml index 2a8928b28c..8714e625f7 100644 --- a/.github/workflows/docs-pr-failure-post-comment.yml +++ b/.github/workflows/docs-pr-failure-post-comment.yml @@ -13,7 +13,7 @@ jobs: if: >- github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure' - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: pull-requests: write actions: read diff --git a/.github/workflows/docs-update-ctsm_pylib.yml b/.github/workflows/docs-update-ctsm_pylib.yml index 18d703a4f7..2074bbc8bb 100644 --- a/.github/workflows/docs-update-ctsm_pylib.yml +++ b/.github/workflows/docs-update-ctsm_pylib.yml @@ -50,7 +50,7 @@ jobs: failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') needs: [test-build-docs-ctsm_pylib, test-update-dependency] - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: contents: read issues: write diff --git a/.github/workflows/docs-update-dependency-common.yml b/.github/workflows/docs-update-dependency-common.yml index 59b6c09ef9..8b981b05e7 100644 --- a/.github/workflows/docs-update-dependency-common.yml +++ b/.github/workflows/docs-update-dependency-common.yml @@ -25,7 +25,7 @@ jobs: # may not have if: ${{ github.repository == 'ESCOMP/CTSM' }} - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -54,7 +54,7 @@ jobs: ./test_container_eq_ctsm_pylib.sh makefile-method: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs-update-doc-builder.yml b/.github/workflows/docs-update-doc-builder.yml index 1194e1c153..8e539bf4c4 100644 --- a/.github/workflows/docs-update-doc-builder.yml +++ b/.github/workflows/docs-update-doc-builder.yml @@ -26,7 +26,7 @@ jobs: test-rv-setup: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b1a5ce9250..dd7ac809f1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -51,7 +51,7 @@ jobs: test-build-docs-container: if: ${{ always() }} name: With container from registry - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository @@ -90,7 +90,7 @@ jobs: check-docs-style: if: ${{ always() }} name: Check documentation against style guide - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index ec98d7ce59..b4a2593c29 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -19,7 +19,7 @@ on: jobs: python-unit-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -49,7 +49,7 @@ jobs: conda run -n ctsm_pylib ./run_ctsm_py_tests -u python-lint-and-black: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: # Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/xml-check.yml b/.github/workflows/xml-check.yml index d944222dfc..e859b7cf62 100644 --- a/.github/workflows/xml-check.yml +++ b/.github/workflows/xml-check.yml @@ -6,7 +6,7 @@ on: [push, pull_request] # Trigger on push or pull request jobs: check-xml: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 From d8828261dfe96972e44482ce0e051b8cf54a8536 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 11:46:51 -0700 Subject: [PATCH 09/34] Update setup-python from v5.6 to v7.1. Not strictly necessary, but avoids deprecation warnings. --- .github/workflows/docs-common.yml | 2 +- .github/workflows/xml-check.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index af035f3929..d92657077f 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -35,7 +35,7 @@ jobs: # Based on https://github.com/actions/cache/blob/main/examples.md#python---pip - name: Install python if: ${{ ! inputs.use_conda }} - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: '3.13.13' # needs to be coordinated with version in python/conda_env_ctsm_py.yml - name: Cache pip diff --git a/.github/workflows/xml-check.yml b/.github/workflows/xml-check.yml index e859b7cf62..86bc8dae55 100644 --- a/.github/workflows/xml-check.yml +++ b/.github/workflows/xml-check.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Python - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: '3.x' From 0afb4dc9558d2b522c62117eb9ab5798492bedd2 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 11:48:39 -0700 Subject: [PATCH 10/34] Update actions/checkout from v4.2.2 to v7.0.1 Not strictly necessary, but avoids deprecation warnings. --- .github/workflows/check-compset-aliases.yml | 2 +- .github/workflows/check-testlists.yml | 2 +- .github/workflows/docker-image-build-publish.yml | 2 +- .github/workflows/docker-image-common.yml | 2 +- .github/workflows/docker-image-get-version.yml | 2 +- .github/workflows/docs-build-and-deploy.yml | 2 +- .github/workflows/docs-common.yml | 2 +- .github/workflows/docs-omnibus.yml | 2 +- .github/workflows/docs-update-ctsm_pylib.yml | 2 +- .github/workflows/docs-update-dependency-common.yml | 4 ++-- .github/workflows/docs-update-doc-builder.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/python-tests.yml | 4 ++-- .github/workflows/xml-check.yml | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/check-compset-aliases.yml b/.github/workflows/check-compset-aliases.yml index 2aa18fa649..860a1d66a7 100644 --- a/.github/workflows/check-compset-aliases.yml +++ b/.github/workflows/check-compset-aliases.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-26.04 steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Checkout submodules run: | diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index cc81e5b6fb..fd5aa87463 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-26.04 steps: # Checkout the code - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Set up the conda environment - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index 1249a6d04c..73d1e56240 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -42,7 +42,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry diff --git a/.github/workflows/docker-image-common.yml b/.github/workflows/docker-image-common.yml index a1070422e9..fa72810492 100644 --- a/.github/workflows/docker-image-common.yml +++ b/.github/workflows/docker-image-common.yml @@ -34,7 +34,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Ensure that the repository part of IMAGE_NAME is lowercase. This is needed because Docker requires image names to be entirely lowercase. Note that the *image name* part, set as IMAGE_BASENAME in the env block above, is *not* converted. This will cause the check-version job to fail if the IMAGE_BASENAME contains capitals. We don't want to silently fix that here; rather, we require the user to specify a lowercase IMAGE_BASENAME. - name: Get image name with lowercase repo diff --git a/.github/workflows/docker-image-get-version.yml b/.github/workflows/docker-image-get-version.yml index 27704f562e..994cb235f3 100644 --- a/.github/workflows/docker-image-get-version.yml +++ b/.github/workflows/docker-image-get-version.yml @@ -42,7 +42,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Get version number from Dockerfile and check it id: get-check-version diff --git a/.github/workflows/docs-build-and-deploy.yml b/.github/workflows/docs-build-and-deploy.yml index ec76f71f24..edccc9e1ff 100644 --- a/.github/workflows/docs-build-and-deploy.yml +++ b/.github/workflows/docs-build-and-deploy.yml @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-26.04 steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # Get all history, ensuring all branches are available for checkout fetch-depth: 0 diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index d92657077f..795febdd61 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -21,7 +21,7 @@ jobs: build-docs: runs-on: ubuntu-26.04 steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 lfs: true diff --git a/.github/workflows/docs-omnibus.yml b/.github/workflows/docs-omnibus.yml index 8f7fdd0810..866284303c 100644 --- a/.github/workflows/docs-omnibus.yml +++ b/.github/workflows/docs-omnibus.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-26.04 steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 lfs: true diff --git a/.github/workflows/docs-update-ctsm_pylib.yml b/.github/workflows/docs-update-ctsm_pylib.yml index 2074bbc8bb..459c958ee7 100644 --- a/.github/workflows/docs-update-ctsm_pylib.yml +++ b/.github/workflows/docs-update-ctsm_pylib.yml @@ -55,7 +55,7 @@ jobs: contents: read issues: write steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Create issue uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 diff --git a/.github/workflows/docs-update-dependency-common.yml b/.github/workflows/docs-update-dependency-common.yml index 8b981b05e7..24545706a5 100644 --- a/.github/workflows/docs-update-dependency-common.yml +++ b/.github/workflows/docs-update-dependency-common.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-26.04 steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 lfs: true @@ -56,7 +56,7 @@ jobs: makefile-method: runs-on: ubuntu-26.04 steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 lfs: true diff --git a/.github/workflows/docs-update-doc-builder.yml b/.github/workflows/docs-update-doc-builder.yml index 8e539bf4c4..994745568b 100644 --- a/.github/workflows/docs-update-doc-builder.yml +++ b/.github/workflows/docs-update-doc-builder.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-26.04 steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 lfs: true diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dd7ac809f1..d6c974e432 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -55,7 +55,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Check out all submodules because we might :literalinclude: something from one - name: Checkout all submodules @@ -94,7 +94,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Disallow fake degree signs if: always() diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index b4a2593c29..83d39ea2b0 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-26.04 steps: # Checkout the code - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: lfs: true @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-26.04 steps: # Checkout the code - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Set up the conda environment - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 diff --git a/.github/workflows/xml-check.yml b/.github/workflows/xml-check.yml index 86bc8dae55..6471e99e25 100644 --- a/.github/workflows/xml-check.yml +++ b/.github/workflows/xml-check.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-26.04 steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Python uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 From 23bbba01be30f2505a23ba3ff0e5c11a7c31a34e Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 11:49:41 -0700 Subject: [PATCH 11/34] Update actions/cache from v3 to v6.1.0 Not strictly necessary, but avoids deprecation warnings. --- .github/workflows/docs-common.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index 795febdd61..06ac3d5b7b 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -40,7 +40,7 @@ jobs: python-version: '3.13.13' # needs to be coordinated with version in python/conda_env_ctsm_py.yml - name: Cache pip if: ${{ ! inputs.use_conda }} - uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('doc/ctsm-docs_container/requirements.txt') }} From b9414d3a37f7a6fccf4a49f41bd6f70db3883059 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 11:52:58 -0700 Subject: [PATCH 12/34] Fix "Without ctsm_pylib or container" workflow. --- .github/workflows/docs-common.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index 06ac3d5b7b..cad1051866 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -62,6 +62,11 @@ jobs: auto-activate-base: false - name: Print installed Python packages + if: ${{ ! inputs.use_conda }} + run: pip list + + - name: Print installed Python packages (conda) + if: ${{ inputs.use_conda }} run: conda list - name: Build Sphinx docs with makefile From bc2ee100afe2c776f2b154f2f3f5e75f9c202ce8 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:03:44 -0700 Subject: [PATCH 13/34] Bump Dockerfile --- doc/ctsm-docs_container/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ctsm-docs_container/Dockerfile b/doc/ctsm-docs_container/Dockerfile index c38a384f80..0dbe818675 100644 --- a/doc/ctsm-docs_container/Dockerfile +++ b/doc/ctsm-docs_container/Dockerfile @@ -29,4 +29,4 @@ CMD ["/bin/bash", "-l"] LABEL org.opencontainers.image.title="Container for building CTSM documentation" LABEL org.opencontainers.image.source=https://github.com/ESCOMP/CTSM -LABEL org.opencontainers.image.version="v2.0.1a" +LABEL org.opencontainers.image.version="v2.0.1b" From 5ebea93ef2ffd22aa68e22d48d796084932647eb Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:10:19 -0700 Subject: [PATCH 14/34] Add workflow_dispatch trigger to some workflows. --- .github/workflows/check-testlists.yml | 3 +++ .github/workflows/fleximod_test.yaml | 3 +++ .github/workflows/python-tests.yml | 3 +++ .github/workflows/xml-check.yml | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index fd5aa87463..53ab5683fd 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -17,6 +17,9 @@ on: - 'cime_config/testdefs/testlist_clm.xml' - '.github/workflows/check-testlists.yml' + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: testlist-supertestlists: runs-on: ubuntu-26.04 diff --git a/.github/workflows/fleximod_test.yaml b/.github/workflows/fleximod_test.yaml index aef50d8059..2f6299c701 100644 --- a/.github/workflows/fleximod_test.yaml +++ b/.github/workflows/fleximod_test.yaml @@ -9,6 +9,9 @@ on: branches: ['*'] pull_request: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: fleximod-test: runs-on: ubuntu-26.04 diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 83d39ea2b0..1733047230 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -17,6 +17,9 @@ on: - 'cime_config/buildlib/**' - 'cime_config/buildnml/**' + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: python-unit-tests: runs-on: ubuntu-26.04 diff --git a/.github/workflows/xml-check.yml b/.github/workflows/xml-check.yml index 6471e99e25..9c95f5a8c0 100644 --- a/.github/workflows/xml-check.yml +++ b/.github/workflows/xml-check.yml @@ -2,7 +2,7 @@ name: Check that XML files are well-formed # Only check files in our repo that AREN'T in submodules # Use a Python command to check each file because xmllint isn't available on GH runners -on: [push, pull_request] # Trigger on push or pull request +on: [push, pull_request, workflow_dispatch] # Trigger on push or pull request, or manually jobs: check-xml: From a921887075b304ee8f99413e8492c5516452488c Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:11:02 -0700 Subject: [PATCH 15/34] Revert "Update workflows to use ubuntu-26.04." This reverts commit fa32fda58e7f33cd1e14f8d169e6dae4a7c2eeef. --- .github/workflows/check-compset-aliases.yml | 2 +- .github/workflows/check-testlists.yml | 2 +- .github/workflows/docker-image-build-publish.yml | 2 +- .github/workflows/docker-image-common.yml | 2 +- .github/workflows/docker-image-get-version.yml | 2 +- .github/workflows/docs-build-and-deploy.yml | 2 +- .github/workflows/docs-common.yml | 2 +- .github/workflows/docs-omnibus.yml | 2 +- .github/workflows/docs-pr-failure-post-comment.yml | 2 +- .github/workflows/docs-update-ctsm_pylib.yml | 2 +- .github/workflows/docs-update-dependency-common.yml | 4 ++-- .github/workflows/docs-update-doc-builder.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/python-tests.yml | 4 ++-- .github/workflows/xml-check.yml | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/check-compset-aliases.yml b/.github/workflows/check-compset-aliases.yml index 860a1d66a7..ccad0dba3d 100644 --- a/.github/workflows/check-compset-aliases.yml +++ b/.github/workflows/check-compset-aliases.yml @@ -22,7 +22,7 @@ on: jobs: check-compset-aliases: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index 53ab5683fd..09f4a704b9 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -22,7 +22,7 @@ on: jobs: testlist-supertestlists: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: # Checkout the code - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index 73d1e56240..4c5a64b72f 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -22,7 +22,7 @@ jobs: # This second job actually builds and publishes the container. push-and-attest: name: Publish and attest - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest # Wait to run this job until after build-image-and-test-docs. If that job fails, something might be wrong with the container, so don't try this one. (It might also have failed because of something wrong with doc-builder or the documentation.) needs: build-image-and-test-docs diff --git a/.github/workflows/docker-image-common.yml b/.github/workflows/docker-image-common.yml index fa72810492..01c678eaa9 100644 --- a/.github/workflows/docker-image-common.yml +++ b/.github/workflows/docker-image-common.yml @@ -22,7 +22,7 @@ env: # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. jobs: build-image-and-test-docs: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest # Variables that might be needed by the calling workflow outputs: REGISTRY: ${{ env.REGISTRY }} diff --git a/.github/workflows/docker-image-get-version.yml b/.github/workflows/docker-image-get-version.yml index 994cb235f3..5e728cbd85 100644 --- a/.github/workflows/docker-image-get-version.yml +++ b/.github/workflows/docker-image-get-version.yml @@ -32,7 +32,7 @@ on: jobs: get-check-version: name: Get version number from Dockerfile and check it - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest outputs: VERSION_TAG: ${{ steps.get-check-version.outputs.version_tag }} # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. diff --git a/.github/workflows/docs-build-and-deploy.yml b/.github/workflows/docs-build-and-deploy.yml index edccc9e1ff..a6987ea8a2 100644 --- a/.github/workflows/docs-build-and-deploy.yml +++ b/.github/workflows/docs-build-and-deploy.yml @@ -43,7 +43,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index cad1051866..5f4afe5a79 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -19,7 +19,7 @@ on: jobs: build-docs: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.github/workflows/docs-omnibus.yml b/.github/workflows/docs-omnibus.yml index 866284303c..38772941bc 100644 --- a/.github/workflows/docs-omnibus.yml +++ b/.github/workflows/docs-omnibus.yml @@ -22,7 +22,7 @@ jobs: # branch(es) that forks may not have. if: ${{ github.repository == 'ESCOMP/CTSM' }} - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.github/workflows/docs-pr-failure-post-comment.yml b/.github/workflows/docs-pr-failure-post-comment.yml index 8714e625f7..2a8928b28c 100644 --- a/.github/workflows/docs-pr-failure-post-comment.yml +++ b/.github/workflows/docs-pr-failure-post-comment.yml @@ -13,7 +13,7 @@ jobs: if: >- github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure' - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest permissions: pull-requests: write actions: read diff --git a/.github/workflows/docs-update-ctsm_pylib.yml b/.github/workflows/docs-update-ctsm_pylib.yml index 459c958ee7..fb174a4fbf 100644 --- a/.github/workflows/docs-update-ctsm_pylib.yml +++ b/.github/workflows/docs-update-ctsm_pylib.yml @@ -50,7 +50,7 @@ jobs: failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') needs: [test-build-docs-ctsm_pylib, test-update-dependency] - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest permissions: contents: read issues: write diff --git a/.github/workflows/docs-update-dependency-common.yml b/.github/workflows/docs-update-dependency-common.yml index 24545706a5..fb54dca978 100644 --- a/.github/workflows/docs-update-dependency-common.yml +++ b/.github/workflows/docs-update-dependency-common.yml @@ -25,7 +25,7 @@ jobs: # may not have if: ${{ github.repository == 'ESCOMP/CTSM' }} - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -54,7 +54,7 @@ jobs: ./test_container_eq_ctsm_pylib.sh makefile-method: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.github/workflows/docs-update-doc-builder.yml b/.github/workflows/docs-update-doc-builder.yml index 994745568b..a5ea9477ca 100644 --- a/.github/workflows/docs-update-doc-builder.yml +++ b/.github/workflows/docs-update-doc-builder.yml @@ -26,7 +26,7 @@ jobs: test-rv-setup: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d6c974e432..347b576113 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -51,7 +51,7 @@ jobs: test-build-docs-container: if: ${{ always() }} name: With container from registry - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository @@ -90,7 +90,7 @@ jobs: check-docs-style: if: ${{ always() }} name: Check documentation against style guide - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 1733047230..fe32161826 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -22,7 +22,7 @@ on: jobs: python-unit-tests: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: # Checkout the code - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -52,7 +52,7 @@ jobs: conda run -n ctsm_pylib ./run_ctsm_py_tests -u python-lint-and-black: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: # Checkout the code - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/xml-check.yml b/.github/workflows/xml-check.yml index 9c95f5a8c0..aa87714306 100644 --- a/.github/workflows/xml-check.yml +++ b/.github/workflows/xml-check.yml @@ -6,7 +6,7 @@ on: [push, pull_request, workflow_dispatch] # Trigger on push or pull request, o jobs: check-xml: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 From fa894870c85acdac0c985343c6d94d48918e3553 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:22:56 -0700 Subject: [PATCH 16/34] Fix an actions/checkout pin --- .github/workflows/fleximod_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fleximod_test.yaml b/.github/workflows/fleximod_test.yaml index 2f6299c701..925320fb11 100644 --- a/.github/workflows/fleximod_test.yaml +++ b/.github/workflows/fleximod_test.yaml @@ -22,7 +22,7 @@ jobs: python-version: ["3.7", "3.x"] steps: - id: checkout-CTSM - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - id: run-fleximod run: | $GITHUB_WORKSPACE/bin/git-fleximod update -o From 343698cd765da4b9696636fd668b6b319dfe454e Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:11 -0700 Subject: [PATCH 17/34] Bump actions/download-artifact to v8.0.2 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docs-pr-failure-post-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-pr-failure-post-comment.yml b/.github/workflows/docs-pr-failure-post-comment.yml index 2a8928b28c..83c9e5d9c6 100644 --- a/.github/workflows/docs-pr-failure-post-comment.yml +++ b/.github/workflows/docs-pr-failure-post-comment.yml @@ -35,7 +35,7 @@ jobs: - name: Download logs if: steps.check.outputs.found == 'true' - uses: actions/download-artifact@v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: ${{ env.DOCS_FAILURE_ARTIFACT }} path: ${{ env.DOCS_FAILURE_ARTIFACT }} From 9a3372bd1a231ccc39b3a396d77d1f0ce8415526 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:12 -0700 Subject: [PATCH 18/34] Bump actions/upload-artifact to v7.0.2 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 347b576113..1c6c36076e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -82,7 +82,7 @@ jobs: - name: Upload logs on failure if: failure() && steps.build-docs.outcome == 'failure' - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: test-build-docs-container_failed path: build-logs/ From 683027aded85ebde0c2695377c0cbba86cac4397 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:12 -0700 Subject: [PATCH 19/34] Bump actions/attest-build-provenance to v4.2.2 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docker-image-build-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index 4c5a64b72f..14ee79a19d 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -78,7 +78,7 @@ jobs: # This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see [Using artifact attestations to establish provenance for builds](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). - name: Generate artifact attestation - uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2 + uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 with: subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} subject-digest: ${{ steps.push.outputs.digest }} From b1df128a0090285d1a2c25302e2c554b18289417 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:12 -0700 Subject: [PATCH 20/34] Bump actions/configure-pages to v6.0.0 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docs-build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-build-and-deploy.yml b/.github/workflows/docs-build-and-deploy.yml index a6987ea8a2..e11a10dc52 100644 --- a/.github/workflows/docs-build-and-deploy.yml +++ b/.github/workflows/docs-build-and-deploy.yml @@ -52,7 +52,7 @@ jobs: fetch-depth: 0 - name: Setup Pages - uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 + uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 # Check out all submodules because we might :literalinclude: something from one - name: Checkout all submodules From 8e184ed1c5ca4bec37c39d0a53f12b23ef74a3e9 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:12 -0700 Subject: [PATCH 21/34] Bump actions/upload-pages-artifact to v5.0.0 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docs-build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-build-and-deploy.yml b/.github/workflows/docs-build-and-deploy.yml index e11a10dc52..f801934b55 100644 --- a/.github/workflows/docs-build-and-deploy.yml +++ b/.github/workflows/docs-build-and-deploy.yml @@ -66,7 +66,7 @@ jobs: ./build_docs_to_publish -d --site-root https://escomp.github.io/CTSM - name: Upload artifact - uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8 # v3 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: # Upload publish dir path: 'doc/_publish' From 864e51f2fd7584a04fcd47729df9d8354b64ca66 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:13 -0700 Subject: [PATCH 22/34] Bump actions/deploy-pages to v5.0.1 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docs-build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-build-and-deploy.yml b/.github/workflows/docs-build-and-deploy.yml index f801934b55..ad8700c822 100644 --- a/.github/workflows/docs-build-and-deploy.yml +++ b/.github/workflows/docs-build-and-deploy.yml @@ -73,4 +73,4 @@ jobs: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@f33f41b675f0ab2dc5a6863c9a170fe83af3571e # v4 + uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 From d070bff87fe9172639fadc8a31e342fd782f6a7a Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:13 -0700 Subject: [PATCH 23/34] Bump docker/login-action to v4.7.0 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docker-image-build-publish.yml | 2 +- .github/workflows/docker-image-common.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index 14ee79a19d..6173e7345f 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -46,7 +46,7 @@ jobs: # Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} diff --git a/.github/workflows/docker-image-common.yml b/.github/workflows/docker-image-common.yml index 01c678eaa9..365fc45139 100644 --- a/.github/workflows/docker-image-common.yml +++ b/.github/workflows/docker-image-common.yml @@ -46,7 +46,7 @@ jobs: # Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} From 666e86f20ee56786ecb0d24aeb9fb9f849844516 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:13 -0700 Subject: [PATCH 24/34] Bump docker/metadata-action to v6.2.0 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docker-image-common.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image-common.yml b/.github/workflows/docker-image-common.yml index 365fc45139..b5900d2ee5 100644 --- a/.github/workflows/docker-image-common.yml +++ b/.github/workflows/docker-image-common.yml @@ -55,7 +55,7 @@ jobs: # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels. - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0 with: images: ${{ env.REGISTRY }}/${{ steps.set-image-name.outputs.IMAGE_NAME }} From 708f118c70157c3738b989b743aa6dc60f250302 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:13 -0700 Subject: [PATCH 25/34] Bump docker/setup-buildx-action to v4.4.1 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docker-image-build-publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index 6173e7345f..db7084d2bb 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -54,9 +54,8 @@ jobs: # This step sets up Docker Buildx, which is needed for the multi-platform build in the next step # https://docs.docker.com/build/ci/github-actions/multi-platform/ - # v3.1.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 # This step uses the `docker/build-push-action` action to build the image, based on the ctsm-docs `Dockerfile`. # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see [Usage](https://github.com/docker/build-push-action#usage) in the README of the `docker/build-push-action` repository. From e31598abbe785d4cdb26a8e1238eaf697036df23 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:30:13 -0700 Subject: [PATCH 26/34] Bump docker/build-push-action to v7.4.0 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docker-image-build-publish.yml | 3 +-- .github/workflows/docker-image-common.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index db7084d2bb..4d42832878 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -61,10 +61,9 @@ jobs: # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see [Usage](https://github.com/docker/build-push-action#usage) in the README of the `docker/build-push-action` repository. # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. # Note that we should avoid relying on the "latest" tag for anything, but it's good practice to have one. - # v6.15.0 - name: Push Docker image id: push - uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: doc/ctsm-docs_container platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/docker-image-common.yml b/.github/workflows/docker-image-common.yml index b5900d2ee5..82ac552772 100644 --- a/.github/workflows/docker-image-common.yml +++ b/.github/workflows/docker-image-common.yml @@ -62,10 +62,9 @@ jobs: # This step uses the `docker/build-push-action` action to build the image, based on the ctsm-docs `Dockerfile`. # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see [Usage](https://github.com/docker/build-push-action#usage) in the README of the `docker/build-push-action` repository. # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. - # v6.15.0 - name: Build Docker image id: build-image - uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: doc/ctsm-docs_container push: false From bc9170d62c3df2095eec5e3fd06cfa5873c1a7ca Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 12:31:12 -0700 Subject: [PATCH 27/34] Fix version comments on two action pins Co-Authored-By: Claude Opus 5.5 --- .github/workflows/check-testlists.yml | 2 +- .github/workflows/docs-common.yml | 2 +- .github/workflows/docs-omnibus.yml | 2 +- .github/workflows/docs-update-ctsm_pylib.yml | 2 +- .github/workflows/docs-update-dependency-common.yml | 4 ++-- .github/workflows/python-tests.yml | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index 09f4a704b9..c5631a3165 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Set up the conda environment - - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 + - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0 with: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index 5f4afe5a79..1ce2da0341 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -54,7 +54,7 @@ jobs: # Do this if using conda - name: Set up conda environment if: ${{ inputs.use_conda }} - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 + uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0 with: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} diff --git a/.github/workflows/docs-omnibus.yml b/.github/workflows/docs-omnibus.yml index 38772941bc..63b23d56d1 100644 --- a/.github/workflows/docs-omnibus.yml +++ b/.github/workflows/docs-omnibus.yml @@ -36,7 +36,7 @@ jobs: # Set up conda - name: Set up conda environment - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 + uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0 with: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml diff --git a/.github/workflows/docs-update-ctsm_pylib.yml b/.github/workflows/docs-update-ctsm_pylib.yml index fb174a4fbf..e4bd1800a3 100644 --- a/.github/workflows/docs-update-ctsm_pylib.yml +++ b/.github/workflows/docs-update-ctsm_pylib.yml @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Create issue - uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 + uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/docs-update-dependency-common.yml b/.github/workflows/docs-update-dependency-common.yml index fb54dca978..d5c5f6f925 100644 --- a/.github/workflows/docs-update-dependency-common.yml +++ b/.github/workflows/docs-update-dependency-common.yml @@ -38,7 +38,7 @@ jobs: bin/git-fleximod update -o - name: Set up conda environment - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 + uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0 with: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} @@ -67,7 +67,7 @@ jobs: bin/git-fleximod update -o - name: Set up conda environment - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 + uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0 with: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index fe32161826..5c9f08d318 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -35,7 +35,7 @@ jobs: bin/git-fleximod update cime # Set up the conda environment - - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 + - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0 with: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Set up the conda environment - - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1 + - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0 with: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml From 6b86b4bed4cd6973ec5bd41447fc40391a638f04 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 13:57:08 -0700 Subject: [PATCH 28/34] Change one more workflow back to ubuntu-latest --- .github/workflows/fleximod_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fleximod_test.yaml b/.github/workflows/fleximod_test.yaml index 925320fb11..bea1aaefb0 100644 --- a/.github/workflows/fleximod_test.yaml +++ b/.github/workflows/fleximod_test.yaml @@ -14,7 +14,7 @@ on: jobs: fleximod-test: - runs-on: ubuntu-26.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: From 4e1427ac23c58083cb17caac9df64fda2b58c595 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 14:03:50 -0700 Subject: [PATCH 29/34] Update Dockerfile to use Python 3.13.13. --- doc/ctsm-docs_container/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ctsm-docs_container/Dockerfile b/doc/ctsm-docs_container/Dockerfile index 0dbe818675..84c9c4494b 100644 --- a/doc/ctsm-docs_container/Dockerfile +++ b/doc/ctsm-docs_container/Dockerfile @@ -2,7 +2,7 @@ # A base linux install + packages for building CTSM documentation # ################################################################### -FROM python:3.13.2-alpine +FROM python:3.13.13-alpine # Update the default packages and install some other necessary ones RUN apk update From 0540e12b1abdc81d7f6e4b06ee3c2286d949e36e Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 14:05:18 -0700 Subject: [PATCH 30/34] py_env_create: "Old" is now 3.13.2. --- py_env_create | 6 +++--- python/conda_env_ctsm_py_old_3.13.2.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/py_env_create b/py_env_create index cf34131e41..ac59a1d169 100755 --- a/py_env_create +++ b/py_env_create @@ -17,9 +17,9 @@ cd "${SCRIPT_DIR}" condadir="${SCRIPT_DIR}/python" default_new_env_name=ctsm_pylib -default_old_env_name=ctsm_pylib_3_7_9 +default_old_env_name=ctsm_pylib_3_13_2 default_condafile="${condadir}/conda_env_ctsm_py.yml" -default_condafile_old="${condadir}/conda_env_ctsm_py_old_3.7.9.yml" +default_condafile_old="${condadir}/conda_env_ctsm_py_old_3.13.2.yml" condafile="${default_condafile}" quiet="" @@ -109,7 +109,7 @@ usage() { echo "[-o|--overwrite] " echo " Overwrite existing env with same name, if any. Incompatible with -r/--rename-existing." echo "[--old] " - echo " Install the previous version of ctsm_pylib (Python 3.7.9). Changes these to old-version defaults:" + echo " Install the previous version of ctsm_pylib. Changes these to old-version defaults:" echo " env name: ${default_old_env_name}" echo " file: ${default_condafile_old}" echo "[-q|--quiet] " diff --git a/python/conda_env_ctsm_py_old_3.13.2.yml b/python/conda_env_ctsm_py_old_3.13.2.yml index 2de08415ac..80e3d0ae22 100644 --- a/python/conda_env_ctsm_py_old_3.13.2.yml +++ b/python/conda_env_ctsm_py_old_3.13.2.yml @@ -2,7 +2,7 @@ # which used Python 3.13.2. Doing so is only useful for running CTSM python tools in repos from # before the subsequent ctsm_pylib version (with Python 3.13.13) was introduced. # -name: ctsm_pylib +name: ctsm_pylib_3_13_2 channels: - conda-forge - defaults From 875abb0142cb72d197eb953b173c290c54fdba72 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 14:07:33 -0700 Subject: [PATCH 31/34] push-and-attest job now gets artifact-metadata: write --- .github/workflows/docker-image-build-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-image-build-publish.yml b/.github/workflows/docker-image-build-publish.yml index 4d42832878..d3c382a4d6 100644 --- a/.github/workflows/docker-image-build-publish.yml +++ b/.github/workflows/docker-image-build-publish.yml @@ -39,6 +39,7 @@ jobs: packages: write attestations: write id-token: write + artifact-metadata: write steps: - name: Checkout repository From 7a6c18a0204f725b037e6c8aea17437e6cc7870d Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 14:09:03 -0700 Subject: [PATCH 32/34] Avoid deprecated option in conda-incubator/setup-miniconda --- .github/workflows/check-testlists.yml | 2 +- .github/workflows/docs-common.yml | 2 +- .github/workflows/docs-omnibus.yml | 2 +- .github/workflows/docs-update-dependency-common.yml | 4 ++-- .github/workflows/python-tests.yml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-testlists.yml b/.github/workflows/check-testlists.yml index c5631a3165..6567c08a40 100644 --- a/.github/workflows/check-testlists.yml +++ b/.github/workflows/check-testlists.yml @@ -33,7 +33,7 @@ jobs: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml channels: conda-forge - auto-activate-base: false + auto-activate: false - name: Print installed Python packages run: conda list diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index 1ce2da0341..e73711cd02 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -59,7 +59,7 @@ jobs: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} channels: conda-forge - auto-activate-base: false + auto-activate: false - name: Print installed Python packages if: ${{ ! inputs.use_conda }} diff --git a/.github/workflows/docs-omnibus.yml b/.github/workflows/docs-omnibus.yml index 63b23d56d1..231e6e66c7 100644 --- a/.github/workflows/docs-omnibus.yml +++ b/.github/workflows/docs-omnibus.yml @@ -41,7 +41,7 @@ jobs: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml channels: conda-forge - auto-activate-base: false + auto-activate: false - name: Print installed Python packages run: conda list diff --git a/.github/workflows/docs-update-dependency-common.yml b/.github/workflows/docs-update-dependency-common.yml index d5c5f6f925..d6498f1e72 100644 --- a/.github/workflows/docs-update-dependency-common.yml +++ b/.github/workflows/docs-update-dependency-common.yml @@ -43,7 +43,7 @@ jobs: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} channels: conda-forge - auto-activate-base: false + auto-activate: false - name: Print installed Python packages run: conda list @@ -72,7 +72,7 @@ jobs: activate-environment: ${{ inputs.conda_env_name }} environment-file: ${{ inputs.conda_env_file }} channels: conda-forge - auto-activate-base: false + auto-activate: false - name: Check that Makefile method works run: | diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 5c9f08d318..1440729ea9 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -40,7 +40,7 @@ jobs: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml channels: conda-forge - auto-activate-base: false + auto-activate: false - name: Print installed Python packages run: conda list @@ -63,7 +63,7 @@ jobs: activate-environment: ctsm_pylib environment-file: python/conda_env_ctsm_py.yml channels: conda-forge - auto-activate-base: false + auto-activate: false - name: Print installed Python packages run: conda list From acdc9bcd916d1beae9ecdd63f13443f5b0ca3dc9 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 14:14:48 -0700 Subject: [PATCH 33/34] Simplify "Print installed Python packages" --- .github/workflows/docs-common.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/docs-common.yml b/.github/workflows/docs-common.yml index e73711cd02..d2e157e327 100644 --- a/.github/workflows/docs-common.yml +++ b/.github/workflows/docs-common.yml @@ -62,12 +62,7 @@ jobs: auto-activate: false - name: Print installed Python packages - if: ${{ ! inputs.use_conda }} - run: pip list - - - name: Print installed Python packages (conda) - if: ${{ inputs.use_conda }} - run: conda list + run: ${{ inputs.use_conda && 'conda list' || 'pip list' }} - name: Build Sphinx docs with makefile run: | From d5b84e2cb9748d5499e8a78962db2320f946f912 Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Tue, 3 Nov 2026 14:19:46 -0700 Subject: [PATCH 34/34] ctsm-docs image is a proper new version. --- doc/ctsm-docs_container/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ctsm-docs_container/Dockerfile b/doc/ctsm-docs_container/Dockerfile index 84c9c4494b..22937da769 100644 --- a/doc/ctsm-docs_container/Dockerfile +++ b/doc/ctsm-docs_container/Dockerfile @@ -29,4 +29,4 @@ CMD ["/bin/bash", "-l"] LABEL org.opencontainers.image.title="Container for building CTSM documentation" LABEL org.opencontainers.image.source=https://github.com/ESCOMP/CTSM -LABEL org.opencontainers.image.version="v2.0.1b" +LABEL org.opencontainers.image.version="v2.0.2"