Description
openedon Mar 9, 2018
Currently we patch setuptools
to know when conda-build
is running and disable pulling in dependencies. This is a good thing and avoids a fair number of issues. However am unaware of us doing anything on this front with pip
, which could be problematic if users start pulling in dependencies that way by accident. As this has become a recommendation for Python packages in conda-forge ( conda-forge/conda-forge.github.io#518 ), this deserves more consideration.
One option would be to address this in conda-build
, this could amount to setting a pip.conf
or pip.in
for pip
to use based on one internally included and maintained in conda-build
. Another option would be to set a number of environment variables for the active build environment to get the same effect. In either case this should allow us to block downloads, avoid build isolation, disable caching, and any other behavior that might be confusing or problematic for end users building conda
packages with pip
.
Activity