Skip to content

Commit 4b368a2

Browse files
authored
Merge pull request #2003 from jaimergp/conda_build_tool
Document `conda_build_tool`, `conda_install_tool` and `conda_solver`
2 parents 3a28e36 + fdf4f76 commit 4b368a2

File tree

2 files changed

+38
-5
lines changed

2 files changed

+38
-5
lines changed

src/maintainer/conda_forge_yml.rst

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ Top-level fields
3131
* :ref:`choco`
3232
* :ref:`circle`
3333
* :ref:`conda_build`
34+
* :ref:`conda_build_tool`
3435
* :ref:`conda_forge_output_validation`
36+
* :ref:`conda_install_tool`
37+
* :ref:`conda_solver`
3538
* :ref:`docker`
3639
* :ref:`github`
3740
* :ref:`idle_timeout_minutes`
@@ -192,12 +195,10 @@ Leaving this field empty implicitly requests to build a package natively. i.e.
192195

193196
build_with_mambabuild
194197
---------------------
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.
196198

197-
.. code-block:: yaml
199+
.. warning::
198200

199-
build_with_mambabuild:
200-
True
201+
This option has been deprecated. See :ref:`conda_build_tool` for more information.
201202

202203
.. _channel_priority:
203204

@@ -276,6 +277,18 @@ artifacts. The currently supported options are
276277
# can be large. conda-build has a default of 22.
277278
zstd_compression_level: 16
278279
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+
279292
.. _conda_forge_output_validation:
280293

281294
conda_forge_output_validation
@@ -285,6 +298,26 @@ This field must be set to ``True`` for feedstocks in the ``conda-forge`` GitHub
285298
organization. It enables the required feedstock artifact validation as described
286299
in :ref:`output_validation`.
287300

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``).
320+
288321
.. _docker:
289322

290323
docker

src/user/announcements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ virtual package, but the details of how we will achieve this are still being wor
4747
As you may be aware, we have delayed the deprecation of our CentOS 6 build
4848
system the ``linux64`` platform several times. We have now set a formal deprecation
4949
date to be June 30, 2024. This date matches the
50-
`end of extended life-cycle support <https://endoflife.software/operating-systems/linux/red-hat-enterprise-linux-rhel>`_
50+
`end of extended life-cycle support <https://access.redhat.com/articles/4038291>`__
5151
from RedHat for RHEL 6. After this date, we build packages against
5252
CentOS 7 by default for ``linux64``.
5353

0 commit comments

Comments
 (0)