Skip to content

Commit

Permalink
poetry: add auth-app extra to githubkit (#552)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
harryfinbow authored Mar 18, 2024
1 parent 3645562 commit 13d7daf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down

0 comments on commit 13d7daf

Please sign in to comment.