Skip to content

Commit f0fce05

Browse files
authored
Docs: update conda config key to mention build.tools.python (#10672)
Make it clear that when using `conda` it's required to use `build.tools.python` with Conda or Mamba. Related #8595 (comment)
1 parent 74aed03 commit f0fce05

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/user/config-file/v2.rst

+9
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,11 @@ Configuration for Conda support.
236236
237237
version: 2
238238
239+
build:
240+
os: "ubuntu-22.04"
241+
tools:
242+
python: "mambaforge-22.9"
243+
239244
conda:
240245
environment: environment.yml
241246
@@ -247,6 +252,10 @@ The path to the Conda `environment file <https://conda.io/projects/conda/en/late
247252
:Type: ``path``
248253
:Required: ``false``
249254

255+
.. note::
256+
257+
When using Conda, it's required to specify ``build.tools.python`` to tell Read the Docs to use whether Conda or Mamba to create the environment.
258+
250259
build
251260
~~~~~
252261

0 commit comments

Comments
 (0)