From a1c3bdf29a73336904e7c5ec83db5330fa6c3861 Mon Sep 17 00:00:00 2001 From: jaimergp Date: Fri, 13 Oct 2023 01:01:06 +0200 Subject: [PATCH] Fallback to input package filename if not found in the index; it should be equivalent anyway --- conda_build/render.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_build/render.py b/conda_build/render.py index 881898dc9d..fa428e07f6 100644 --- a/conda_build/render.py +++ b/conda_build/render.py @@ -384,7 +384,7 @@ def execute_download_actions(m, actions, env, package_subset=None, require_files with utils.LoggingContext(): pfe.execute() for pkg_dir in pkgs_dirs: - _loc = os.path.join(pkg_dir, index[pkg].fn) + _loc = os.path.join(pkg_dir, index.get(pkg, pkg).fn) if os.path.isfile(_loc): pkg_loc = _loc break