conda-incubator / conda-project

Tool for encapsulating, running, and reproducing projects with Conda environments
https://conda-incubator.github.io/conda-project/
BSD 3-Clause "New" or "Revised" License
28 stars 11 forks source link

`conda project lock` adds pip dependency to python #172

Open JeanChristopheMorinPerso opened 1 month ago

JeanChristopheMorinPerso commented 1 month ago

I have noticed that when running conda project lock, it will add pip: '' to the dependencies of python while conda project install --force won't.

Adding pip: '' seems to be an undesirable effect IMO. Setting $CONDA_ADD_PIP_AS_PYTHON_DEPENDENCY to 0 fixes that problem.