You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/maintainer/conda_forge_yml.rst
+37-4Lines changed: 37 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,10 @@ Top-level fields
31
31
* :ref:`choco`
32
32
* :ref:`circle`
33
33
* :ref:`conda_build`
34
+
* :ref:`conda_build_tool`
34
35
* :ref:`conda_forge_output_validation`
36
+
* :ref:`conda_install_tool`
37
+
* :ref:`conda_solver`
35
38
* :ref:`docker`
36
39
* :ref:`github`
37
40
* :ref:`idle_timeout_minutes`
@@ -192,12 +195,10 @@ Leaving this field empty implicitly requests to build a package natively. i.e.
192
195
193
196
build_with_mambabuild
194
197
---------------------
195
-
This option, when enabled, configures the conda-forge CI to run a debug build using the ``mamba`` solver. Check `this <https://conda-forge.org/docs/maintainer/maintainer_faq.html#mfaq-mamba-local>`__ to know more.
196
198
197
-
.. code-block:: yaml
199
+
.. warning::
198
200
199
-
build_with_mambabuild:
200
-
True
201
+
This option has been deprecated. See :ref:`conda_build_tool` for more information.
201
202
202
203
.. _channel_priority:
203
204
@@ -276,6 +277,18 @@ artifacts. The currently supported options are
276
277
# can be large. conda-build has a default of 22.
277
278
zstd_compression_level: 16
278
279
280
+
.. _conda_build_tool:
281
+
282
+
conda_build_tool
283
+
----------------
284
+
285
+
Use this option to choose which tool is used to build your recipe. Currently allowed options are:
286
+
287
+
- ``conda-build``: Vanilla ``conda build ...`` with no explicit solver configuration. Note that it will still respect the value configured in :ref:`conda_solver`, if any.
288
+
- ``conda-build+classic``: ``conda build ...`` with the ``classic`` solver enforced.
289
+
- ``conda-build+conda-libmamba-solver``: ``conda build ...`` with the ``conda-libmamba-solver`` solver enforced.
290
+
- ``mambabuild``: ``conda mambabuild ...`` as provided by ``boa``.
291
+
279
292
.. _conda_forge_output_validation:
280
293
281
294
conda_forge_output_validation
@@ -285,6 +298,26 @@ This field must be set to ``True`` for feedstocks in the ``conda-forge`` GitHub
285
298
organization. It enables the required feedstock artifact validation as described
286
299
in :ref:`output_validation`.
287
300
301
+
.. _conda_install_tool:
302
+
303
+
conda_install_tool
304
+
------------------
305
+
306
+
Use this option to choose which tool is used to provision the tooling in your feedstock.
307
+
Currently allowed options are:
308
+
309
+
- ``conda``: ``conda install ...``. You can change which solver to use via :ref:`conda_solver`.
310
+
- ``mamba``: ``mamba install ...`` as provided by the `mamba project <https://github.com/mamba-org/mamba>`__. ``conda_solver`` has no effect here.
311
+
312
+
.. _conda_solver:
313
+
314
+
conda_solver
315
+
------------
316
+
317
+
Choose which ``conda`` solver plugin to use for feedstock builds.
318
+
Note this configuration might affect :ref:`conda_build_tool` (e.g. when set to ``conda-build``)
319
+
and :ref:`conda_install_tool` (e.g. when set to ``conda``).
0 commit comments