You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated pkgs/envs.txt does not honour info['channel_remap'], so the generated installer fails for locally built channels, by reclaiming the path of the package from the environment running constructor.
The problem seems in preconda.py.
Files pkgs/urls.txt and pkgs/urls are written using get_final_url(info, url) (within all_final_urls_md5s --> this honours channel_remap; but pkgs/envs_txt uses info["_urls"] directly.
You have the remap info already in final_urls_md5s, so the solution -hopefully- is as simple as:
Replace
# base environment file used with conda install --file# (list of specs/dists to install)write_env_txt(info, dst_dir, info["_urls"])
with
# base environment file used with conda install --file# (list of specs/dists to install)write_env_txt(info, dst_dir, final_urls_md5s)
The generated
pkgs/envs.txt
does not honourinfo['channel_remap']
, so the generated installer fails for locally built channels, by reclaiming the path of the package from the environment running constructor.The problem seems in
preconda.py
.Files
pkgs/urls.txt
andpkgs/urls
are written usingget_final_url(info, url)
(withinall_final_urls_md5s
--> this honours channel_remap; butpkgs/envs_txt
usesinfo["_urls"]
directly.You have the remap info already in
final_urls_md5s
, so the solution -hopefully- is as simple as:Replace
with
Equal change is required for sub environment:
replace
with
==> generated installer than works in my cases
Originally posted by @EisW in #559 (comment)
The text was updated successfully, but these errors were encountered: