From 62728c208a31c4667927408f109838ddda5d58e1 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 30 Jun 2025 12:18:49 -0400 Subject: Allow git commit hashes in "version" field --- src/lib/delivery/delivery_install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/delivery/delivery_install.c b/src/lib/delivery/delivery_install.c index 7badecb..9e28093 100644 --- a/src/lib/delivery/delivery_install.c +++ b/src/lib/delivery/delivery_install.c @@ -243,7 +243,7 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha if (INSTALL_PKG_PIP_DEFERRED & type) { struct Test *info = requirement_from_test(ctx, name); if (info) { - if (!strcmp(info->version, "HEAD")) { + if (!strcmp(info->version, "HEAD") || is_git_sha(info->version)) { struct StrList *tag_data = strlist_init(); if (!tag_data) { SYSERROR("%s", "Unable to allocate memory for tag data\n"); -- cgit