From 1a77fd2b3f8c017f860a37089d26d7605f48563a Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Thu, 21 Mar 2024 16:52:33 -0500 Subject: [PATCH 1/3] ENH update webservices dispatch action docker image for new releases --- conda_forge_webservices/update_me.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_forge_webservices/update_me.py b/conda_forge_webservices/update_me.py index cab84e1bd..5ba7ac039 100644 --- a/conda_forge_webservices/update_me.py +++ b/conda_forge_webservices/update_me.py @@ -14,7 +14,7 @@ LOGGER = logging.getLogger("conda_forge_webservices.update_me") -PKGS = ["conda-smithy"] +PKGS = ["conda-smithy", "conda", "conda-build"] def _run_git_command(args): From c701290218e2a08d77584a7fe50718f68e7947ac Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Thu, 21 Mar 2024 17:01:37 -0500 Subject: [PATCH 2/3] Update update_me.py --- conda_forge_webservices/update_me.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/conda_forge_webservices/update_me.py b/conda_forge_webservices/update_me.py index 5ba7ac039..e7d032fac 100644 --- a/conda_forge_webservices/update_me.py +++ b/conda_forge_webservices/update_me.py @@ -4,6 +4,7 @@ import tempfile import shutil import logging +import github from git import Repo import requests @@ -97,3 +98,11 @@ def main(): finally: if tmpdir is not None: shutil.rmtree(tmpdir) + + try: + gh = github.Github(get_app_token_for_webservices_only()) + repo = gh.get_repo("conda-forge/webservices-dispatch-action") + workflow = repo.get_workflow("tests.yml") + workflow.create_dispatch("main") + except Exception as e: + print(f"workflow_dispatch for webservices-dispatch-action failed: {e}") From d34a3a46be34ce43a06a3376331015496bb5c581 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Thu, 21 Mar 2024 17:06:15 -0500 Subject: [PATCH 3/3] Update conda_forge_webservices/update_me.py Co-authored-by: jakirkham --- conda_forge_webservices/update_me.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_forge_webservices/update_me.py b/conda_forge_webservices/update_me.py index e7d032fac..51135885b 100644 --- a/conda_forge_webservices/update_me.py +++ b/conda_forge_webservices/update_me.py @@ -15,7 +15,7 @@ LOGGER = logging.getLogger("conda_forge_webservices.update_me") -PKGS = ["conda-smithy", "conda", "conda-build"] +PKGS = ["conda-smithy", "conda", "conda-build", "conda-libmamba-solver", "mamba"] def _run_git_command(args):