diff --git a/conda_lock/conda_lock.py b/conda_lock/conda_lock.py index a7659d3f8..e174b59eb 100644 --- a/conda_lock/conda_lock.py +++ b/conda_lock/conda_lock.py @@ -1107,6 +1107,7 @@ def run_lock( _conda_exe = determine_conda_executable( conda_exe, mamba=mamba, micromamba=micromamba ) + logger.debug(f"Using conda executable: {_conda_exe}") make_lock_files( conda=_conda_exe, src_files=environment_files, diff --git a/conda_lock/conda_solver.py b/conda_lock/conda_solver.py index b0d6490ba..f75016c1a 100644 --- a/conda_lock/conda_solver.py +++ b/conda_lock/conda_solver.py @@ -493,10 +493,7 @@ def update_specs_for_arch( for package in set(installed).difference(updated): entry = installed[package] fn = f'{entry["dist_name"]}.tar.bz2' - if is_micromamba(conda): - channel = f'{entry["base_url"]}' - else: - channel = f'{entry["base_url"]}/{entry["platform"]}' + channel = f'{entry["base_url"]}/{entry["platform"]}' url = f"{channel}/{fn}" md5 = locked[package].hash.md5 if md5 is None: