Skip to content

Commit

Permalink
Print package file name in get_hash_input (#5021)
Browse files Browse the repository at this point in the history
* inspect_pkg: use entire file name in get_hash_input rather than trying to strip off the suffix

---------

Co-authored-by: Bianca Henderson <[email protected]>
  • Loading branch information
duncanmmacleod and beeankha authored Oct 4, 2023
1 parent 9129862 commit c4abce5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conda_build/inspect_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def inspect_objects(packages, prefix=sys.prefix, groupby="package"):
def get_hash_input(packages):
hash_inputs = {}
for pkg in ensure_list(packages):
pkgname = os.path.basename(pkg)[:-8]
pkgname = os.path.basename(pkg)
hash_inputs[pkgname] = {}
hash_input = package_has_file(pkg, "info/hash_input.json")
if hash_input:
Expand Down
19 changes: 19 additions & 0 deletions news/5021-get_hash_input
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Print package file name in `get_hash_input`. (#5021)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>

0 comments on commit c4abce5

Please sign in to comment.