Update dependency PyGithub to >=1.59,<1.60 #196
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=1.57,<1.58
->>=1.59,<1.60
Release Notes
pygithub/pygithub (PyGithub)
v1.59.1
Compare Source
Bug Fixes
adbfce9
)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=…)
andgithub.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)
are replaced by a singleauth=…
argument. Modulegithub.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
position
argument ingithub.PullRequest.create_review_comment(position=…)
has been renamed toline
.This breaks user code that calls
create_review_comment
with keyword argumentposition
. Call withline=…
instead.Calling this method with positional arguments is not breaking.
jwt_expiry
,jwt_issued_at
andjwt_algorithm
arguments ingithub.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=…)
.since
argument ingithub.PullRequest.get_review_comments(…)
has changed position.User code calling
github.PullRequest.get_review_comments(…)with this argument as positional argument breaks. Please use keyword argument:
github.PullRequest.get_review_comments(since=…)`.Deprecations
github.Github(login_or_token=…)
is deprecated, usegithub.Github(auth=github.Auth.Login(…))
orgithub.Github(auth=github.Auth.Token(…))
instead.github.Github(password=…)
is deprecated, usegithub.Github(auth=github.Auth.Login(…))
instead.github.Github(jwt=…)
is deprecated, usegithub.Github(auth=github.AppAuth(…))
orgithub.Github(auth=github.AppAuthToken(…))
instead.github.Github(app_auth=…)
is deprecated, usegithub.Github(auth=github.Auth.AppInstallationAuth(…))
instead.github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)
is deprecated, usegithub.GithubIntegration(auth=github.Auth.AppAuth(…))
instead.github.GithubIntegration.create_jwt
is deprecated, usegithub.Github(auth=github.Auth.AppAuth)
,github.Auth.AppAuth.token
orgithub.Auth.AppAuth.create_jwt(expiration)
instead.AppAuthentication
is deprecated, usegithub.Auth.AppInstallationAuth
instead.github.Github.get_app()
without providing argumentslug
is deprecated, usegithub.GithubIntegration(auth=github.Auth.AppAuth(…)).get_app()
.Bug Fixes
ff3b80f
)7be3f76
)Installation.get_repos
(#2547) (6407512
)f82ad61
)17cd0b7
)5011548
)822fc05
)554b2b2
)45f3d72
)e414c32
)bdceae2
)Improvements
517ad33
)804c310
)6d4b6d1
)6a21761
)AppUserAuth
for Github App user tokens (#2546) (f291a36
)0384e2f
)daf62bd
)MainClass.get_app
return completedGithubApp
when slug is given (#2543) (84912a6
)fc2d0e1
)a8e7c42
)name
filter toRepository.get_artifacts()
(#2459) (9f52e94
)name
,display_title
andpath
attributes toWorkflowRun
(#2397) (1081638
)create_fork
arguments (#2493) (b94a83c
)ref
to Deployment (#2489) (e8075c4
)check_suite_id
integer toWorkflow.get_runs
(#2466) (a485451
)generate_release_notes
parameter tocreate_git_release
andcreate_git_tag_and_release
(#2417) (49b3ae1
)c2f12bd
)8c4b946
)artifact_id
argument toRepository.get_artifact()
(#2458) (4fa0a5f
)e296dbd
)bab4180
)5aa544a
)4198dbf
)Maintenance
d514222
)ea45237
)f4e9dcb
)006766f
)cb50dec
)b6258f4
)52fc107
)217d424
)8e8cfb3
)03a2f69
)GithubCredentials.py
to CONTRIBUTING.md (#2482) (297317b
)600217f
)300c501
)def5223
)9c96faa
)3ea91a3
)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 - 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.
This PR has been generated by Mend Renovate. View repository job log here.