anaconda / anaconda-project

Tool for encapsulating, running, and reproducing data science projects
https://anaconda-project.readthedocs.io/en/latest/
Other
216 stars 88 forks source link

[ENH] Implicit "defaults" channel #387

Closed AlbertDeFusco closed 1 year ago

AlbertDeFusco commented 1 year ago

Starting in version 0.11.0 condarc "channels:" list is ignored.

Proposal:

Goal:

AlbertDeFusco commented 1 year ago

@jbednar and @jlstevens where should defaults go when not supplied in channels and when nodefaults is not also specified? First or last?

Conda env support for implicit utilization of ~/.condarc is to extend the channels listed in the environment.yml file. Meaning that "defaults" (and other channels) as added at the END. https://github.dev/conda/conda/blob/9bf4c1721da4d44739546109a78fb2edb40af95b/conda_env/installers/conda.py#L25

jbednar commented 1 year ago

I vote for implementingnodefaults and for otherwise assuming defaults is in the list.

@jbednar and @jlstevens where should defaults go when not supplied in channels and when nodefaults is not also specified? First or last?

Wherever anaconda-project behaves as it did before. Did it previously act like it was implicitly first, or implicitly last?

jlstevens commented 1 year ago

I will confirm it for myself but I believe it was implicitly last (as Albert mentioned above).

AlbertDeFusco commented 1 year ago

merged and released in 0.11.1