Skip to content

chore(deps): update dependency pygithub to v1.59.1#11

Open
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/pygithub-1.x
Open

chore(deps): update dependency pygithub to v1.59.1#11
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/pygithub-1.x

Conversation

@renovate-sh-app
Copy link

@renovate-sh-app renovate-sh-app bot commented Nov 28, 2025

This PR contains the following updates:

Package Change Age Confidence
pygithub ==1.51==1.59.1 age confidence

Release Notes

pygithub/pygithub (pygithub)

v1.59.1

Compare Source

Bug Fixes

v1.59.0

Compare Source

Important

This release introduces new way of authentication. All authentication-related arguments github.Github(login_or_token=…, password=…, jwt=…, app_auth=…) and github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…) are replaced by a single auth=… argument. Module github.Auth provides classes for all supported ways of authentication: Login, Token, AppAuth, AppAuthToken, AppInstallationAuth, AppUserAuth. Old arguments are deprecated but continue to work. They are scheduled for removal for version 2.0 release.

This project has decided to move all typing information from .pyi files into the respective .py source files. This will happen gradually over time.

Breaking Changes

  • The position argument in github.PullRequest.create_review_comment(position=…) has been renamed to line.
    This breaks user code that calls create_review_comment with keyword argument position. Call with line=… instead.
    Calling this method with positional arguments is not breaking.
  • The jwt_expiry, jwt_issued_at and jwt_algorithm arguments in github.GithubIntegration() have changed their position.
    User code calling github.GithubIntegration(…) with these arguments as positional arguments breaks.
    Please use keyword arguments: github.GithubIntegration(…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…).
  • The since argument in github.PullRequest.get_review_comments(…) has changed position.User code callinggithub.PullRequest.get_review_comments(…)with this argument as positional argument breaks. Please use keyword argument:github.PullRequest.get_review_comments(since=…)`.

Deprecations

  • The use of github.Github(login_or_token=…) is deprecated, use github.Github(auth=github.Auth.Login(…)) or github.Github(auth=github.Auth.Token(…)) instead.
  • The use of github.Github(password=…) is deprecated, use github.Github(auth=github.Auth.Login(…)) instead.
  • The use of github.Github(jwt=…) is deprecated, use github.Github(auth=github.AppAuth(…)) or github.Github(auth=github.AppAuthToken(…)) instead.
  • The use of github.Github(app_auth=…) is deprecated, use github.Github(auth=github.Auth.AppInstallationAuth(…)) instead.
  • The use of github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…) is deprecated, use github.GithubIntegration(auth=github.Auth.AppAuth(…)) instead.
  • The use of github.GithubIntegration.create_jwt is deprecated, use github.Github(auth=github.Auth.AppAuth), github.Auth.AppAuth.token or github.Auth.AppAuth.create_jwt(expiration) instead.
  • The use of AppAuthentication is deprecated, use github.Auth.AppInstallationAuth instead.
  • The use of github.Github.get_app() without providing argument slug is deprecated, use github.GithubIntegration(auth=github.Auth.AppAuth(…)).get_app().

Bug Fixes

Improvements

Maintenance

v1.58.2

Compare Source

Fixes

v1.58.1

Compare Source

Changes

Bug Fixes

v1.58.0

Compare Source

Bug Fixes & Improvements

v1.57

Compare Source

Breaking Changes

  • Add support for Python 3.11, drop support for Python 3.6 (#​2332) (1e2f10d)

Bug Fixes & Improvements

v1.56

Compare Source

Important

This is the last release that will support Python 3.6.

Bug Fixes & Improvements

v1.55

Compare Source

Breaking Changes

  • Remove client_id/client_secret authentication (#​1888) (901af8c)
  • Adjust to Github API changes regarding emails (#​1890) (2c77cfa)
    • This impacts what AuthenticatedUser.get_emails() returns
  • PublicKey.key_id could be int on Github Enterprise (#​1894) (ad124ef)
  • Export headers in GithubException (#​1887) (ddd437a)

Bug Fixes & Improvements

v1.54.1

Compare Source

v1.54.0.1

Compare Source

  • Hotfix release to better support Python 3.5 users.
  • Pin pyjwt to <2.0 (502caed)

v1.54

Compare Source

Important

This is the last release that will support Python 3.5.

Breaking Changes

The Github.get_installation(integer) method has been removed.
Repository.create_deployment()'s payload parameter is now a dictionary.

Bug Fixes & Improvements

v1.53

Compare Source

v1.52

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Need help?

You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.

| datasource | package  | from | to     |
| ---------- | -------- | ---- | ------ |
| pypi       | pygithub | 1.51 | 1.59.1 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
@github-actions
Copy link

😢 zizmor failed with exit code 14.

Expand for full output
error[unpinned-uses]: unpinned action reference
  --> ./.github/workflows/push.yaml:18:9
   |
18 |         uses: docker/setup-buildx-action@v1
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High

error[unpinned-uses]: unpinned action reference
  --> ./.github/workflows/push.yaml:21:9
   |
21 |         uses: docker/login-action@v1
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High

error[unpinned-uses]: unpinned action reference
  --> ./.github/workflows/push.yaml:28:9
   |
28 |         uses: docker/build-push-action@v2
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High

6 findings (2 ignored, 1 suppressed): 0 informational, 0 low, 0 medium, 3 high

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants