From 0da951730e4d42f21ea93122dc221b335e7aabee Mon Sep 17 00:00:00 2001 From: "duncan.macleod" Date: Mon, 2 Oct 2023 15:18:06 +0100 Subject: [PATCH 1/3] inspect_pkg: just print file name in get_hash_input rather than trying to strip off the suffix --- conda_build/inspect_pkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_build/inspect_pkg.py b/conda_build/inspect_pkg.py index 6e5e9a4980..e38c5aa9e7 100644 --- a/conda_build/inspect_pkg.py +++ b/conda_build/inspect_pkg.py @@ -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: From 7ba7d3f6602a9c36efc6ff3b0cf4e30cfb2fd94d Mon Sep 17 00:00:00 2001 From: "duncan.macleod" Date: Mon, 2 Oct 2023 15:25:32 +0100 Subject: [PATCH 2/3] news: add item for #5021 --- news/5021-get_hash_input | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 news/5021-get_hash_input diff --git a/news/5021-get_hash_input b/news/5021-get_hash_input new file mode 100644 index 0000000000..e75a5af6d2 --- /dev/null +++ b/news/5021-get_hash_input @@ -0,0 +1,19 @@ +### Enhancements + +* + +### Bug fixes + +* Print package file name in get_hash_input (#5021) + +### Deprecations + +* + +### Docs + +* + +### Other + +* From aacc241e95e9a6be1676a3b1cfbb753f50658d16 Mon Sep 17 00:00:00 2001 From: Duncan Macleod Date: Mon, 2 Oct 2023 16:15:03 +0100 Subject: [PATCH 3/3] news: update syntax for #5021 Co-authored-by: Bianca Henderson --- news/5021-get_hash_input | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news/5021-get_hash_input b/news/5021-get_hash_input index e75a5af6d2..f92b78db55 100644 --- a/news/5021-get_hash_input +++ b/news/5021-get_hash_input @@ -4,7 +4,7 @@ ### Bug fixes -* Print package file name in get_hash_input (#5021) +* Print package file name in `get_hash_input`. (#5021) ### Deprecations