Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 21, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pygithub ==1.55 -> ==1.59.1 age adoption passing 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


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Nov 21, 2022

Codecov Report

Merging #40 (251cd09) into main (0108e16) will not change coverage.
The diff coverage is n/a.

❗ Current head 251cd09 differs from pull request most recent head 2abead6. Consider uploading reports for the commit 2abead6 to get more accurate results

@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   90.98%   90.98%           
=======================================
  Files          12       12           
  Lines         233      233           
  Branches       19       19           
=======================================
  Hits          212      212           
  Misses         21       21           

@renovate renovate bot changed the title chore(deps): update dependency pygithub to v1.57 Update dependency pygithub to v1.57 Dec 17, 2022
@renovate renovate bot changed the title Update dependency pygithub to v1.57 chore(deps): update dependency pygithub to v1.57 Dec 17, 2022
@renovate renovate bot changed the title chore(deps): update dependency pygithub to v1.57 chore(deps): update dependency pygithub to v1.58.0 Mar 16, 2023
@renovate renovate bot changed the title chore(deps): update dependency pygithub to v1.58.0 chore(deps): update dependency pygithub to v1.58.2 Jun 1, 2023
@renovate renovate bot changed the title chore(deps): update dependency pygithub to v1.58.2 chore(deps): update dependency pygithub to v1.59.0 Jun 23, 2023
@renovate renovate bot changed the title chore(deps): update dependency pygithub to v1.59.0 chore(deps): update dependency pygithub to v1.59.1 Aug 4, 2023
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