Skip to content

Commit

Permalink
Add extra context around required pip flags
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirschfeld authored Dec 13, 2023
1 parent b854c07 commit 800c82d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/maintainer/adding_pkgs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,16 @@ while adding ``pip`` to the host requirements:
host:
- pip
These options should be used to ensure a clean installation of the package without its
dependencies. This helps make sure that we're only including this package,
and not accidentally bringing any dependencies along into the conda package.
`conda-forge` configures `pip` to ensure a clean installation of the package
without its dependencies so no extra flags are required to be passed. This
helps make sure that we're only including this package, and not accidentally
bringing any dependencies along into the conda package.

.. warning::

If your package uses `outputs` you may have to manually specify the flags
`--no-deps --no-build-isolation` due to a bug in `conda-build`. See
https://github.com/conda/conda-build/issues/3993

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

0 comments on commit 800c82d

Please sign in to comment.