Skip to content

Commit 800c82d

Browse files
authored
Add extra context around required pip flags
1 parent b854c07 commit 800c82d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/maintainer/adding_pkgs.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,16 @@ while adding ``pip`` to the host requirements:
363363
host:
364364
- pip
365365
366-
These options should be used to ensure a clean installation of the package without its
367-
dependencies. This helps make sure that we're only including this package,
368-
and not accidentally bringing any dependencies along into the conda package.
366+
`conda-forge` configures `pip` to ensure a clean installation of the package
367+
without its dependencies so no extra flags are required to be passed. This
368+
helps make sure that we're only including this package, and not accidentally
369+
bringing any dependencies along into the conda package.
370+
371+
.. warning::
372+
373+
If your package uses `outputs` you may have to manually specify the flags
374+
`--no-deps --no-build-isolation` due to a bug in `conda-build`. See
375+
https://github.com/conda/conda-build/issues/3993
369376

370377
Usually pure-Python packages only require ``python``, ``setuptools`` and ``pip``
371378
as ``host`` requirements; the real package dependencies are only

0 commit comments

Comments
 (0)