Skip to content

Commit 257b9d6

Browse files
authored
Merge pull request #1353 from ForgottenProgramme/patch-8
Added 'debugging with mamba' in FAQs
2 parents d7be88c + 356a6d7 commit 257b9d6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/maintainer/maintainer_faq.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,23 @@ FAQ
6868
:ref:`(Q) <mfaq_anaconda_delay>` **Why does my new version appear on Anaconda Cloud, but is not installable with conda?**
6969

7070
For certain, high-traffic channels (main & conda-forge), Anaconda uses a `CDN <https://cloudflare.com/learning/cdn/what-is-a-cdn/>`_ to decrease costs. The CDN is only reindexed every 20 minutes, however `Anaconda.org https://anaconda.org>`_ uses the original channel that the CDN mirrors. Therefore, packages will show up on the `Anaconda Cloud https://anaconda.org>`_ about 20 to 40 minutes before they are downloadable via conda. You can use ``conda search <pkg>`` to see if the package is installable, because this command reads from the CDN.
71+
72+
.. _mfaq_mamba_local:
73+
74+
:ref:`(Q) <mfaq_mamba_local>` **How can I make debugging solver failures on the CI faster?**
75+
76+
An alternative to the conda solver is the mamba solver. The mamba solver has a faster solve speed and prints better error messages that make debugging simpler.
77+
78+
You can configure the conda-forge CI to run a debug build using the mamba solver with the following changes:
79+
80+
- Set ``build_with_mambabuild: True`` in ``conda-forge.yaml`` file
81+
- Rerender with ``conda-smithy`` (to rerender manually use ``conda smithy rerender`` from the command line)
82+
[Note: Builds made with ``mambabuild`` won't be uploaded to ``conda-forge``. These builds are purely for debugging purposes.]
83+
84+
You can also do this locally by using:
85+
86+
- ``conda install boa -c conda-forge``
87+
- ``conda mambabuild myrecipe``
88+
For more details visit `this <https://boa-build.readthedocs.io/en/latest/mambabuild.html>`_ page.
89+
90+

0 commit comments

Comments
 (0)