aboutsummaryrefslogtreecommitdiff
path: root/src/deliverable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/deliverable.c')
-rw-r--r--src/deliverable.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index cb3487a..3aad47f 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -967,7 +967,12 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha
if (INSTALL_PKG_CONDA_DEFERRED & type) {
strcat(cmd, " --use-local");
} else if (INSTALL_PKG_PIP_DEFERRED & type) {
- strcat(cmd, " --upgrade");
+ // Don't change the baseline package set unless we're working with a
+ // new build. Release candidates will need to keep packages as stable
+ // as possible between releases.
+ if (!ctx->meta.based_on) {
+ strcat(cmd, " --upgrade");
+ }
}
for (size_t x = 0; manifest[x] != NULL; x++) {