Set the environment variable AUTOSWITCH_DEACTIVATE_CONDA to make sure a Conda environment and a virtualenv are not both active at the same time.
No unit test was added for the new setting, because I'm unsure how to write it, so it does not fail on systems without Anaconda or Miniconda. Should I add one executed conditionally, only when conda command is available?
Set the environment variable
AUTOSWITCH_DEACTIVATE_CONDA
to make sure a Conda environment and a virtualenv are not both active at the same time.No unit test was added for the new setting, because I'm unsure how to write it, so it does not fail on systems without Anaconda or Miniconda. Should I add one executed conditionally, only when
conda
command is available?