Skip to content

Commit

Permalink
Fallback to solved record filename to find the downloaded tarball in …
Browse files Browse the repository at this point in the history
…`get_upstream_pins` (#5037)

Fallback to input package filename if not found in the index; it should be equivalent anyway.
  • Loading branch information
jaimergp authored Oct 18, 2023
1 parent d480c32 commit f7cf445
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conda_build/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 19 additions & 0 deletions news/5037-conda-libmamba-solver-pins
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Fallback to solved record filename to find the downloaded tarball in `get_upstream_pins`. (#4991 via #5037)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>

0 comments on commit f7cf445

Please sign in to comment.