Skip to content

Commit 679720a

Browse files
committed
fix merge conflict
2 parents 91e0357 + 59d7736 commit 679720a

223 files changed

Lines changed: 13963 additions & 1837 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: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ commands:
4141
command: |
4242
. /opt/conda/etc/profile.d/conda.sh
4343
conda activate esmvaltool
44-
mamba --version
4544
pytest -n 4 --junitxml=test-reports/report.xml
4645
esmvaltool version
4746
esmvaltool -- --help
47+
esmvaltool develop compare -- --help
4848
ncl -V
4949
cdo --version
5050
- store_test_results:
@@ -96,7 +96,6 @@ commands:
9696
conda activate esmvaltool
9797
mamba list >> /logs/conda.txt
9898
pip install << parameters.flags >> ".[<<parameters.extra>>]"> /logs/install.txt 2>&1
99-
esmvaltool install Julia > /logs/install_julia.txt 2>&1
10099
if [[ "<<parameters.flags>>" != *'--editable'* ]]
101100
then
102101
rm -r esmvaltool
@@ -137,7 +136,6 @@ jobs:
137136
conda activate esmvaltool
138137
mkdir /logs
139138
pip install .[test] > /logs/install.txt 2>&1
140-
esmvaltool install Julia > /logs/install_julia.txt 2>&1
141139
- run:
142140
name: Check Python code style and mistakes
143141
command: |
@@ -209,7 +207,6 @@ jobs:
209207
conda activate esmvaltool
210208
mamba list >> /logs/conda.txt
211209
pip install --editable .[develop]
212-
esmvaltool install Julia > /logs/install_julia.txt 2>&1
213210
git clone https://github.com/ESMValGroup/ESMValCore $HOME/ESMValCore
214211
pip install --editable $HOME/ESMValCore[develop]
215212
- log_versions
@@ -272,11 +269,9 @@ jobs:
272269
# Install prerequisites
273270
mkdir /logs
274271
# Install ESMValTool in a new conda environment
275-
mamba create -y --name esmvaltool -c conda-forge esmvaltool julia 'python=3.11' >> /logs/conda.txt 2>&1
272+
mamba create -y --name esmvaltool -c conda-forge esmvaltool 'python=3.11' >> /logs/conda.txt 2>&1
276273
# Activate the environment
277274
set +x; conda activate esmvaltool; set -x
278-
# install the Julia dependencies
279-
esmvaltool install Julia > /logs/install_Julia.txt 2>&1
280275
# Log versions
281276
mamba env export > /logs/environment.yml
282277
# Test installation

.circleci/install_triggers

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
^\.circleci/
22
^environment\.yml$
3-
^esmvaltool/install/
43
^pyproject.toml$
54
^setup\.py$
65
^setup\.cfg$

.codacy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ exclude_paths: [
2424
'esmvaltool/cmor/tables/**',
2525
'tests/**',
2626
'esmvaltool/utils/recipe_test_workflow/app/configure/bin/test_configure.py',
27+
'esmvaltool/utils/recipe_test_workflow/app/generate_report/bin/test_generate_html_report.py',
2728
]

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
# Enable version updates for GitHub Actions
9+
- package-ecosystem: "github-actions"
10+
# Workflow files stored in the default location of `.github/workflows`
11+
# You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.
12+
directory: "/"
13+
schedule:
14+
interval: "weekly"

.github/workflows/check-rtw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# Checks-out your repository under $GITHUB_WORKSPACE, so your job
3737
# can access it
3838
- name: Checkout repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040

4141
- name: Setup Cylc
4242
uses: cylc/setup-cylc@v1

.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.event_name != 'schedule' || github.repository == 'ESMValGroup/ESMValTool' # avoid scheduled GHAs in forks
1818
steps:
1919
- name: Check out a copy of the repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121

2222
- name: Check whether the citation metadata from CITATION.cff is valid
2323
uses: citation-file-format/cffconvert-github-action@2.0.0

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

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,20 @@ jobs:
2121
runs-on: 'ubuntu-latest'
2222
if: github.repository == 'ESMValGroup/ESMValTool' # avoid GAs in forks
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
2525
with:
2626
fetch-depth: 0
2727
- uses: conda-incubator/setup-miniconda@v3
2828
with:
2929
auto-update-conda: true
3030
activate-environment: esmvaltool-fromlock
31-
python-version: "3.12"
31+
python-version: "3.13"
3232
miniforge-version: "latest"
3333
use-mamba: true
3434
- name: Show conda config
3535
run: |
3636
conda update -n base -c conda-forge conda
3737
conda --version
38-
# setup-miniconda@v3 installs an old conda and mamba
39-
# forcing a modern mamba updates both mamba and conda
40-
# unpin mamba after conda-lock=3 release
41-
# see github.com/ESMValGroup/ESMValTool/issues/3782
42-
conda install -c conda-forge "mamba>=1.4.8,<2"
43-
conda config --show-sources
44-
conda config --show
45-
conda --version
4638
mamba --version
4739
- name: Python info
4840
run: |
@@ -81,7 +73,7 @@ jobs:
8173
# Automated PR
8274
# see https://github.com/marketplace/actions/create-pull-request
8375
- name: Create Automated PR if conda lock file has changed
84-
uses: peter-evans/create-pull-request@v3
76+
uses: peter-evans/create-pull-request@v7
8577
with:
8678
token: ${{ secrets.GITHUB_TOKEN }}
8779
commit-message: Updating Linux condalock file

.github/workflows/cron_esmvalbot_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: 'ubuntu-latest'
1919
if: github.repository == 'ESMValGroup/ESMValTool' # avoid GAs in forks
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 0
2424
- name: Create empty commit on branch

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: ["3.11", "3.12"]
24+
python-version: ["3.11", "3.12"] # add "3.13" when pkg built
2525
name: Linux Python ${{ matrix.python-version }}
2626
steps:
2727
- uses: conda-incubator/setup-miniconda@v3
@@ -72,7 +72,7 @@ jobs:
7272
# - run: which conda 2>&1 | tee conda_install_osx_artifacts_python_${{ matrix.python-version }}/conda_path.txt
7373
# - run: python -V 2>&1 | tee conda_install_osx_artifacts_python_${{ matrix.python-version }}/python_version.txt
7474
# # ncurses needs to be from conda-forge and not main channel
75-
# # for now it's turned off since we're not testing R/Julia installs
75+
# # for now it's turned off since we're not testing R installs
7676
# # - run: conda uninstall -y ncurses
7777
# # - run: conda list ncurses
7878
# # - run: conda install -y conda-forge::ncurses

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
if: github.repository == 'ESMValGroup/ESMValTool' # avoid GAs in forks
3232
strategy:
3333
matrix:
34-
python-version: ["3.11", "3.12"]
34+
python-version: ["3.11", "3.12", "3.13"]
3535
fail-fast: false
3636
name: Linux Python ${{ matrix.python-version }}
3737
steps:
38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v5
3939
with:
4040
fetch-depth: 0
4141
- uses: conda-incubator/setup-miniconda@v3

0 commit comments

Comments
 (0)