@@ -14,6 +14,7 @@ concurrency:
1414
1515env :
1616 FORCE_COLOR : 3
17+ MICROMAMBA_VERSION : " 2.0.2-2"
1718
1819jobs :
1920 detect-ci-trigger :
@@ -57,11 +58,11 @@ jobs:
5758 - name : Setup micromamba
5859 uses : mamba-org/setup-micromamba@v2
5960 with :
61+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
6062 environment-file : ${{env.CONDA_ENV_FILE}}
6163 environment-name : xarray-tests
6264 create-args : >-
6365 python=${{env.PYTHON_VERSION}}
64- conda
6566 cache-environment : true
6667 cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
6768
7071 python -m pip install --no-deps -e .
7172 - name : Version info
7273 run : |
73- conda info -a
74- conda list
7574 python xarray/util/print_versions.py
7675 - name : Run doctests
7776 run : |
@@ -105,20 +104,18 @@ jobs:
105104 - name : Setup micromamba
106105 uses : mamba-org/setup-micromamba@v2
107106 with :
107+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
108108 environment-file : ${{env.CONDA_ENV_FILE}}
109109 environment-name : xarray-tests
110110 create-args : >-
111111 python=${{env.PYTHON_VERSION}}
112- conda
113112 cache-environment : true
114113 cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
115114 - name : Install xarray
116115 run : |
117116 python -m pip install --no-deps -e .
118117 - name : Version info
119118 run : |
120- conda info -a
121- conda list
122119 python xarray/util/print_versions.py
123120 - name : Install mypy
124121 run : |
@@ -159,20 +156,18 @@ jobs:
159156 - name : Setup micromamba
160157 uses : mamba-org/setup-micromamba@v2
161158 with :
159+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
162160 environment-file : ${{env.CONDA_ENV_FILE}}
163161 environment-name : xarray-tests
164162 create-args : >-
165163 python=${{env.PYTHON_VERSION}}
166- conda
167164 cache-environment : true
168165 cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
169166 - name : Install xarray
170167 run : |
171168 python -m pip install --no-deps -e .
172169 - name : Version info
173170 run : |
174- conda info -a
175- conda list
176171 python xarray/util/print_versions.py
177172 - name : Install mypy
178173 run : |
@@ -218,20 +213,18 @@ jobs:
218213 - name : Setup micromamba
219214 uses : mamba-org/setup-micromamba@v2
220215 with :
216+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
221217 environment-file : ${{env.CONDA_ENV_FILE}}
222218 environment-name : xarray-tests
223219 create-args : >-
224220 python=${{env.PYTHON_VERSION}}
225- conda
226221 cache-environment : true
227222 cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
228223 - name : Install xarray
229224 run : |
230225 python -m pip install --no-deps -e .
231226 - name : Version info
232227 run : |
233- conda info -a
234- conda list
235228 python xarray/util/print_versions.py
236229 - name : Install pyright
237230 run : |
@@ -277,20 +270,18 @@ jobs:
277270 - name : Setup micromamba
278271 uses : mamba-org/setup-micromamba@v2
279272 with :
273+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
280274 environment-file : ${{env.CONDA_ENV_FILE}}
281275 environment-name : xarray-tests
282276 create-args : >-
283277 python=${{env.PYTHON_VERSION}}
284- conda
285278 cache-environment : true
286279 cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
287280 - name : Install xarray
288281 run : |
289282 python -m pip install --no-deps -e .
290283 - name : Version info
291284 run : |
292- conda info -a
293- conda list
294285 python xarray/util/print_versions.py
295286 - name : Install pyright
296287 run : |
@@ -313,7 +304,8 @@ jobs:
313304 name : Minimum Version Policy
314305 runs-on : " ubuntu-latest"
315306 needs : detect-ci-trigger
316- if : needs.detect-ci-trigger.outputs.triggered == 'false'
307+ # disabled until `conda` is compatible with the new `libmambapy`
308+ if : false && needs.detect-ci-trigger.outputs.triggered == 'false'
317309 defaults :
318310 run :
319311 shell : bash -l {0}
@@ -326,12 +318,13 @@ jobs:
326318 - name : Setup micromamba
327319 uses : mamba-org/setup-micromamba@v2
328320 with :
321+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
329322 environment-name : xarray-tests
330323 create-args : >-
331324 python=3.12
332325 pyyaml
333- conda
334326 python-dateutil
327+ libmambapy
335328
336329 - name : All-deps minimum versions policy
337330 run : |
0 commit comments