Skip to content

Commit 1697acc

Browse files
committed
Merge branch 'main' into python3.14
2 parents c578248 + bf60005 commit 1697acc

231 files changed

Lines changed: 7938 additions & 7109 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ commands:
6666
- run:
6767
name: Install git+ssh
6868
environment:
69-
DEBIAN_FRONTEND: noninteractive # needed to install tzdata
69+
DEBIAN_FRONTEND: noninteractive # needed to install tzdata
7070
command: apt update && apt install -y git ssh
7171
- checkout
7272
- check_changes
@@ -155,7 +155,7 @@ jobs:
155155
name: Install gpg (required by codecov orb)
156156
command: apt update && apt install -y gpg
157157
- codecov/upload:
158-
files: 'test-reports/coverage.xml'
158+
files: "test-reports/coverage.xml"
159159
disable_search: true
160160

161161
test_installation_from_source_test_mode:
@@ -209,7 +209,7 @@ jobs:
209209
# Install prerequisites
210210
mkdir /logs
211211
# Create and activate conda environment
212-
mamba create -y --name esmvaltool 'python=3.11'
212+
mamba create -y --name esmvaltool 'python=3.12'
213213
set +x; conda activate esmvaltool; set -x
214214
# Install
215215
mamba install -y esmvalcore

.git-blame-ignore-revs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
# Use ruff formatter (#2524)
22
436558caacda69d4966a5aff35959ce9188cac37
3+
# Enable more ruff rules (#2715)
4+
77c370314bac1e72400392ed98c8f2f75b1b5a98
5+
02583113c99304e4e99bd010a05856ea429259ea
6+
0e8e7164ef96c574f77367948f51c7ab822bb694
7+
e2f8cab2cc5a509452ca720e50f041f46f380ee2

.github/workflows/build-and-deploy-on-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# IMPORTANT: this permission is mandatory for trusted publishing
2020
id-token: write
2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525
- name: Set up Python 3.13

.github/workflows/citation_file_validator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
1818
steps:
1919
- name: Check out a copy of the repository
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121
- name: Check whether the citation metadata from CITATION.cff is valid
2222
uses: citation-file-format/cffconvert-github-action@2.0.0
2323
with:

.github/workflows/create-condalock-file.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: 'ubuntu-latest'
2222
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
2323
steps:
24-
- uses: actions/checkout@v5
24+
- uses: actions/checkout@v6
2525
with:
2626
fetch-depth: 0
2727
- uses: conda-incubator/setup-miniconda@v3
@@ -72,7 +72,7 @@ jobs:
7272
# Automated PR
7373
# see https://github.com/marketplace/actions/create-pull-request
7474
- name: Create Automated PR if conda lock file has changed
75-
uses: peter-evans/create-pull-request@v7
75+
uses: peter-evans/create-pull-request@v8
7676
with:
7777
token: ${{ secrets.GITHUB_TOKEN }}
7878
commit-message: Updating Linux condalock file

.github/workflows/install-from-conda.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
4141
strategy:
4242
matrix:
43-
python-version: ["3.11", "3.12", "3.13"]
43+
python-version: ["3.12", "3.13"]
4444
# fail-fast set to False allows all other tests
4545
# in the workflow to run regardless of any fail
4646
fail-fast: false
@@ -66,7 +66,7 @@ jobs:
6666
esmvaltool version 2>&1 | tee conda_install_linux_artifacts_python_${{ matrix.python-version }}/version.txt
6767
- name: Upload artifacts
6868
if: ${{ always() }} # upload artifacts even if fail
69-
uses: actions/upload-artifact@v5
69+
uses: actions/upload-artifact@v6
7070
with:
7171
name: Conda_Install_Linux_python_${{ matrix.python-version }}
7272
path: conda_install_linux_artifacts_python_${{ matrix.python-version }}
@@ -76,7 +76,7 @@ jobs:
7676
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
7777
strategy:
7878
matrix:
79-
python-version: ["3.11", "3.12", "3.13"]
79+
python-version: ["3.12", "3.13"]
8080
architecture: ["x64"] # need to force Intel, arm64 builds have issues
8181
fail-fast: false
8282
name: OSX Python ${{ matrix.python-version }}
@@ -102,7 +102,7 @@ jobs:
102102
esmvaltool version 2>&1 | tee conda_install_osx_artifacts_python_${{ matrix.python-version }}/version.txt
103103
- name: Upload artifacts
104104
if: ${{ always() }} # upload artifacts even if fail
105-
uses: actions/upload-artifact@v5
105+
uses: actions/upload-artifact@v6
106106
with:
107107
name: Conda_Install_OSX_python_${{ matrix.python-version }}
108108
path: conda_install_osx_artifacts_python_${{ matrix.python-version }}

.github/workflows/install-from-condalock-file.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
3131
strategy:
3232
matrix:
33-
python-version: ["3.11", "3.12", "3.13"]
33+
python-version: ["3.12", "3.13"]
3434
fail-fast: false
3535
name: Linux Python ${{ matrix.python-version }}
3636
steps:
37-
- uses: actions/checkout@v5
37+
- uses: actions/checkout@v6
3838
with:
3939
fetch-depth: 0
4040
- uses: conda-incubator/setup-miniconda@v3
@@ -56,7 +56,7 @@ jobs:
5656
- run: pytest -n 2 -m "not installation"
5757
- name: Upload artifacts
5858
if: ${{ always() }} # upload artifacts even if fail
59-
uses: actions/upload-artifact@v5
59+
uses: actions/upload-artifact@v6
6060
with:
6161
name: Source_Install_Linux_python_${{ matrix.python-version }}
6262
path: source_install_linux_artifacts_python_${{ matrix.python-version }}

.github/workflows/install-from-pypi.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
4141
strategy:
4242
matrix:
43-
python-version: ["3.11", "3.12", "3.13"]
43+
python-version: ["3.12", "3.13"]
4444
# fail-fast set to False allows all other tests
4545
# in the workflow to run regardless of any fail
4646
fail-fast: false
4747
name: Linux Python ${{ matrix.python-version }}
4848
steps:
49-
- uses: actions/checkout@v5
49+
- uses: actions/checkout@v6
5050
- uses: conda-incubator/setup-miniconda@v3
5151
with:
5252
activate-environment: esmvalcore
@@ -69,7 +69,7 @@ jobs:
6969
esmvaltool version 2>&1 | tee pip_install_linux_artifacts_python_${{ matrix.python-version }}/version.txt
7070
- name: Upload artifacts
7171
if: ${{ always() }} # upload artifacts even if fail
72-
uses: actions/upload-artifact@v5
72+
uses: actions/upload-artifact@v6
7373
with:
7474
name: PIP_Install_Linux_python_${{ matrix.python-version }}
7575
path: pip_install_linux_artifacts_python_${{ matrix.python-version }}
@@ -79,12 +79,12 @@ jobs:
7979
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
8080
strategy:
8181
matrix:
82-
python-version: ["3.11", "3.12", "3.13"]
82+
python-version: ["3.12", "3.13"]
8383
architecture: ["x64"] # need to force Intel, arm64 builds have issues
8484
fail-fast: false
8585
name: OSX Python ${{ matrix.python-version }}
8686
steps:
87-
- uses: actions/checkout@v5
87+
- uses: actions/checkout@v6
8888
- uses: conda-incubator/setup-miniconda@v3
8989
with:
9090
architecture: ${{ matrix.architecture }}
@@ -107,7 +107,7 @@ jobs:
107107
esmvaltool version 2>&1 | tee pip_install_osx_artifacts_python_${{ matrix.python-version }}/version.txt
108108
- name: Upload artifacts
109109
if: ${{ always() }} # upload artifacts even if fail
110-
uses: actions/upload-artifact@v5
110+
uses: actions/upload-artifact@v6
111111
with:
112112
name: PIP_Install_OSX_python_${{ matrix.python-version }}
113113
path: pip_install_osx_artifacts_python_${{ matrix.python-version }}

.github/workflows/install-from-source.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
3939
strategy:
4040
matrix:
41-
python-version: ["3.11", "3.12", "3.13"]
41+
python-version: ["3.12", "3.13"]
4242
fail-fast: false
4343
name: Linux Python ${{ matrix.python-version }}
4444
steps:
45-
- uses: actions/checkout@v5
45+
- uses: actions/checkout@v6
4646
with:
4747
fetch-depth: 0
4848
- uses: conda-incubator/setup-miniconda@v3
@@ -66,7 +66,7 @@ jobs:
6666
esmvaltool version 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/version.txt
6767
- name: Upload artifacts
6868
if: ${{ always() }} # upload artifacts even if fail
69-
uses: actions/upload-artifact@v5
69+
uses: actions/upload-artifact@v6
7070
with:
7171
name: Source_Install_Linux_python_${{ matrix.python-version }}
7272
path: source_install_linux_artifacts_python_${{ matrix.python-version }}
@@ -76,12 +76,12 @@ jobs:
7676
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
7777
strategy:
7878
matrix:
79-
python-version: ["3.11", "3.12", "3.13"]
79+
python-version: ["3.12", "3.13"]
8080
architecture: ["x64"] # need to force Intel, arm64 builds have issues
8181
fail-fast: false
8282
name: OSX Python ${{ matrix.python-version }}
8383
steps:
84-
- uses: actions/checkout@v5
84+
- uses: actions/checkout@v6
8585
with:
8686
fetch-depth: 0
8787
- uses: conda-incubator/setup-miniconda@v3
@@ -107,7 +107,7 @@ jobs:
107107
esmvaltool version 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/version.txt
108108
- name: Upload artifacts
109109
if: ${{ always() }} # upload artifacts even if fail
110-
uses: actions/upload-artifact@v5
110+
uses: actions/upload-artifact@v6
111111
with:
112112
name: Source_Install_OSX_python_${{ matrix.python-version }}
113113
path: source_install_osx_artifacts_python_${{ matrix.python-version }}

.github/workflows/run-tests-monitor.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
2424
strategy:
2525
matrix:
26-
python-version: ["3.11", "3.12", "3.13"]
26+
python-version: ["3.12", "3.13"]
2727
fail-fast: false
2828
name: Linux Python ${{ matrix.python-version }}
2929
steps:
30-
- uses: actions/checkout@v5
30+
- uses: actions/checkout@v6
3131
with:
3232
fetch-depth: 0
3333
- uses: conda-incubator/setup-miniconda@v3
@@ -46,7 +46,7 @@ jobs:
4646
- run: python tests/parse_pymon.py
4747
- name: Upload artifacts
4848
if: ${{ always() }} # upload artifacts even if fail
49-
uses: actions/upload-artifact@v5
49+
uses: actions/upload-artifact@v6
5050
with:
5151
name: Test_Linux_python_${{ matrix.python-version }}
5252
path: test_linux_artifacts_python_${{ matrix.python-version }}
@@ -56,12 +56,12 @@ jobs:
5656
if: github.repository == 'ESMValGroup/ESMValCore' # avoid GAs in forks
5757
strategy:
5858
matrix:
59-
python-version: ["3.11", "3.12", "3.13"]
59+
python-version: ["3.12", "3.13"]
6060
architecture: ["x64"] # need to force Intel, arm64 builds have issues
6161
fail-fast: false
6262
name: OSX Python ${{ matrix.python-version }}
6363
steps:
64-
- uses: actions/checkout@v5
64+
- uses: actions/checkout@v6
6565
with:
6666
fetch-depth: 0
6767
- uses: conda-incubator/setup-miniconda@v3
@@ -83,7 +83,7 @@ jobs:
8383
- run: python tests/parse_pymon.py
8484
- name: Upload artifacts
8585
if: ${{ always() }} # upload artifacts even if fail
86-
uses: actions/upload-artifact@v5
86+
uses: actions/upload-artifact@v6
8787
with:
8888
name: Test_OSX_python_${{ matrix.python-version }}
8989
path: test_osx_artifacts_python_${{ matrix.python-version }}

0 commit comments

Comments
 (0)