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

Update dependency PyGithub to v1.59.1 #2629

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
PyGithub ==1.57 -> ==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


Configuration

📅 Schedule: Branch creation - "every 3 months on the first day of the month" (UTC), 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

This PR has been generated by Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Oct 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.45%. Comparing base (585068c) to head (245e40d).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2629   +/-   ##
=========================================
  Coverage     84.45%   84.45%           
  Complexity     1416     1416           
=========================================
  Files           251      251           
  Lines          6447     6447           
  Branches        291      291           
=========================================
  Hits           5445     5445           
  Misses          850      850           
  Partials        152      152           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@netlify
Copy link

netlify bot commented Oct 3, 2023

Deploy Preview for peppy-sprite-186812 canceled.

Name Link
🔨 Latest commit 245e40d
🔍 Latest deploy log https://app.netlify.com/sites/peppy-sprite-186812/deploys/65dbb746e0aa060008f0ed23

@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 6 times, most recently from 8dd93c2 to 3175a60 Compare October 17, 2023 13:10
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 2 times, most recently from 3fab2ad to eed1a48 Compare October 23, 2023 21:54
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 3 times, most recently from 2b6702f to 063a9d0 Compare October 31, 2023 20:38
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 4 times, most recently from e2e919f to d6fd492 Compare November 8, 2023 17:07
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 12 times, most recently from 02e4ef6 to f711b9f Compare November 20, 2023 08:05
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 4 times, most recently from 2c38c8c to 710352a Compare December 20, 2023 21:52
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 4 times, most recently from 0d4f1a5 to c81c070 Compare January 5, 2024 00:55
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 4 times, most recently from 108870c to a0a7496 Compare January 25, 2024 20:44
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 7 times, most recently from fb57b9b to 79754d2 Compare February 14, 2024 18:13
@renovate renovate bot force-pushed the renovate/pygithub-1.x branch 4 times, most recently from fdcc528 to 68a495e Compare February 22, 2024 06:26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@wslulciuc wslulciuc merged commit 57a19a0 into main Mar 5, 2024
17 checks passed
@wslulciuc wslulciuc deleted the renovate/pygithub-1.x branch March 5, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant