r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.37k stars 162 forks source link

Update conda's base environment without having to auto-activate #1012

Open Pipboyguy opened 1 year ago

Pipboyguy commented 1 year ago

Many user would want conda's auto_activate_base: false configuration set, because having the base environment always activated when starting a new shell means having to deal with environment conflicts when dealing with apt, brew and other packages that use python in the background.

Not having this setting set to true makes Topgrade skip conda when upgrading.

Is there a way we can make topgrade updgrade conda without having the base environment activated.

In my own case, the conda executable is visible, the base env just isn't activate.

Something like conda update -n base --all -y