From 13d7daf0b5a1dc19dd22b916a091e5e6fe9050a6 Mon Sep 17 00:00:00 2001 From: Harry <64917871+harryfinbow@users.noreply.github.com> Date: Mon, 18 Mar 2024 18:18:03 +0000 Subject: [PATCH] poetry: add auth-app extra to githubkit (#552) Using GitHub App authentication causes the worker to crash on startup with following error: `RuntimeError: JWT support for GitHub APP should be installed with 'pip install githubkit[auth-app]'` Adding the `auth-app` extra to the `githubkit` Python package fixes this by allowing the worker to authenticate to GitHub using both token and app auth. --- poetry.lock | 2 +- pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2156521d..cb80f253 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3017,4 +3017,4 @@ dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "ba51c5e08bb27a8d1c6a70d4867f8a7d46bd95e3246d012290561e6772d61f72" +content-hash = "f411f5f2417a59f034978b28038e0718929a1db757f8ce661a8d8f2548c0adab" diff --git a/pyproject.toml b/pyproject.toml index b67cf77b..0ea31084 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,9 @@ google-cloud-compute = "^1.17.0" boto3 = "^1.28.85" botocore = "^1.31.85" boto3-stubs = { extras = ["ec2"], version = "^1.34.54" } -githubkit = { git = "https://github.com/yanyongyu/githubkit", rev = "a4275ac3d3babd64061f3693353db740e6a8e892" } +githubkit = { extras = [ + "auth-app", +], git = "https://github.com/yanyongyu/githubkit", rev = "a4275ac3d3babd64061f3693353db740e6a8e892" } rq-scheduler = "^0.13.1"