From f01b132902ddd45a72246e2222b5d86c2ec9edbc Mon Sep 17 00:00:00 2001 From: ngam <67342040+ngam@users.noreply.github.com> Date: Sat, 14 May 2022 13:36:55 +0000 Subject: [PATCH 1/3] add missing pins for singularity hpc --- recipe/gen_patch_json.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipe/gen_patch_json.py b/recipe/gen_patch_json.py index bca0dd2c9d..e187dcfd8f 100644 --- a/recipe/gen_patch_json.py +++ b/recipe/gen_patch_json.py @@ -1493,6 +1493,10 @@ def _gen_new_index_per_key(repodata, subdir, index_key): else: record["depends"][i] = record["depends"][i] + ",<0.7.0.a0" + # add missing pins for singularity-hpc + if record_name == "singularity-hpc" and record.get("timestamp", 0) < 1652410323526: + record["depends"].append("jinja2, jsonschema, requests, ruamel.yaml, spython >=0.2.0") + return index From c5bd43d303070a303829d3a25926e957de9648ee Mon Sep 17 00:00:00 2001 From: ngam <67342040+ngam@users.noreply.github.com> Date: Sat, 14 May 2022 13:39:02 +0000 Subject: [PATCH 2/3] add quotes --- recipe/gen_patch_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/gen_patch_json.py b/recipe/gen_patch_json.py index e187dcfd8f..3e666dc25b 100644 --- a/recipe/gen_patch_json.py +++ b/recipe/gen_patch_json.py @@ -1495,7 +1495,7 @@ def _gen_new_index_per_key(repodata, subdir, index_key): # add missing pins for singularity-hpc if record_name == "singularity-hpc" and record.get("timestamp", 0) < 1652410323526: - record["depends"].append("jinja2, jsonschema, requests, ruamel.yaml, spython >=0.2.0") + record["depends"].append("jinja2", "jsonschema", "requests", "ruamel.yaml", "spython >=0.2.0") return index From a55722417b8dbe423bbcbf6fdcc3c8abafab8b94 Mon Sep 17 00:00:00 2001 From: ngam <67342040+ngam@users.noreply.github.com> Date: Sat, 14 May 2022 13:42:11 +0000 Subject: [PATCH 3/3] oops list --- recipe/gen_patch_json.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipe/gen_patch_json.py b/recipe/gen_patch_json.py index 3e666dc25b..d10a1388bd 100644 --- a/recipe/gen_patch_json.py +++ b/recipe/gen_patch_json.py @@ -1495,7 +1495,11 @@ def _gen_new_index_per_key(repodata, subdir, index_key): # add missing pins for singularity-hpc if record_name == "singularity-hpc" and record.get("timestamp", 0) < 1652410323526: - record["depends"].append("jinja2", "jsonschema", "requests", "ruamel.yaml", "spython >=0.2.0") + record["depends"].append("jinja2") + record["depends"].append("jsonschema") + record["depends"].append("requests") + record["depends"].append("ruamel.yaml") + record["depends"].append("spython >=0.2.0") return index