This repository was archived by the owner on Jul 17, 2026. It is now read-only.
Update dependency PyGithub to v2.9.1#1182
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
2 times, most recently
from
August 11, 2025 03:18
e558ef8 to
c9b80a2
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
21 times, most recently
from
August 19, 2025 07:14
da6d9bb to
2026179
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
2 times, most recently
from
August 19, 2025 18:30
1aacb9a to
b1e9ad0
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
2 times, most recently
from
August 28, 2025 22:27
26a039b to
ab09f78
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
from
September 2, 2025 12:24
ab09f78 to
1dd607d
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
3 times, most recently
from
September 3, 2025 18:29
0f0540d to
56d4853
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
3 times, most recently
from
September 14, 2025 22:08
657778f to
dd0e0da
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
4 times, most recently
from
September 15, 2025 00:44
4c9ab5f to
50ea296
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
3 times, most recently
from
September 16, 2025 05:29
b4358a7 to
9c0b18c
Compare
renovate
Bot
force-pushed
the
renovate/pygithub-2.x
branch
7 times, most recently
from
September 17, 2025 22:23
47f4e83 to
3b2bbbf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
==2.6.1→==2.9.1Release Notes
pygithub/pygithub (PyGithub)
v2.9.1Compare Source
Bug Fixes
Full Changelog: PyGithub/PyGithub@v2.9.0...v2.9.1
v2.9.0Compare Source
Notable changes
Lazy PyGithub objects
The notion of lazy objects has been added to some PyGithub classes in version 2.6.0. This release now makes all
CompletableGithubObjects optionally lazy (if useful). See PyGithub/PyGithub#3403 for a complete list.In lazy mode, getting a PyGithub object does not send a request to the GitHub API. Only accessing methods and properties sends the necessary requests to the GitHub API:
All PyGithub classes that implement
CompletableGithubObjectsupport lazy mode (if useful). This is only useful for classes that have methods creating, changing, or getting objects.By default, PyGithub objects are not lazy.
PyGithub objects with a paginated property
The GitHub API has the "feature" of paginated properties. Some objects returned by the API have a property that allows for pagination. Fetching subsequent pages of that property means fetching the entire object (with all other properties) and the specified page of the paginated property. Iterating over the paginated property means fetching all other properties multiple times. Fortunately, the allowed size of each page (
per_pageis usually 300, in contrast to the "usual"per_pagemaximum of 100).Objects with paginated properties:
This PR makes iterating those paginated properties use the configured
per_pagesetting.It further allows to specify an individual
per_pagewhen either retrieving such objects, or fetching paginated properties.See Classes with paginated properties for details.
Drop Python 3.8 support due to End-of-Life
Python 3.8 reached its end-of-life September 6, 2024. Support has been removed with this release.
Deprecations
deleteofReactionis deprecated, useIssueComment.delete_reaction,PullRequestComment.delete_reaction,CommitComment.delete_reactionorIssue.delete_reactioninstead.Issue.assigneeand parameterIssue.edit(assignee=…)are deprecated,use
Issue.assigneesandIssue.edit(assignees=…)instead.Organization.edit_hookis deprecated, useOrganization.get_hook(id).edit(…)instead.If you need to avoid
Organization.get_hook(id)to fetch theHookobject from Github API,use a lazy Github instance:
Team.add_to_membersandTeam.remove_from_membersare deprecated,use
Team.add_membershiporTeam.remove_membershipinstead.New Features
Improvements
api.by @EnricoMi in PyGithub/PyGithub#3419throwoption toWorkflow.create_dispatchto raise exceptions by @dblanchette in PyGithub/PyGithub#2966GETurl or_links.selfas object url by @EnricoMi in PyGithub/PyGithub#3421typeparameter to get_issues by @nrysk in PyGithub/PyGithub#3381Bug Fixes
PaginatedList.totalCountreturning 0 with GitHub deprecation notices by @odedperezcodes in PyGithub/PyGithub#3382Maintenance
Reaction.deleteby @iarspider in PyGithub/PyGithub#3435Issue.assigneeby @EnricoMi in PyGithub/PyGithub#3366Orginization.edit_hookby @EnricoMi in PyGithub/PyGithub#3404Team.add_to_membersandTeam.remove_from_membersby @EnricoMi in PyGithub/PyGithub#3368New Contributors
Full Changelog: PyGithub/PyGithub@v2.8.0...v2.9.0
v2.8.1Compare Source
What's Changed
Bug Fixes
Full Changelog: PyGithub/PyGithub@v2.8.0...v2.8.1
v2.8.0Compare Source
What's Changed
New Features
Improvements
Repository.get_automated_security_fixesmethod by @zstyblik in PyGithub/PyGithub#3303Issueclass with API spec by @EnricoMi in PyGithub/PyGithub#3338NamedUser | Organization | Enterpriseby @EnricoMi in PyGithub/PyGithub#3224Enterpriseclass with API spec by @EnricoMi in PyGithub/PyGithub#3342GitReleaseAssetclass with API spec by @EnricoMi in PyGithub/PyGithub#3343Teamrepo methods by @EnricoMi in PyGithub/PyGithub#3356Bug Fixes
Repository.get_git_refby @csalerno-asml in PyGithub/PyGithub#2992GitRelease.name, deprecateGitRelease.titleby @EnricoMi in PyGithub/PyGithub#3346"COMMENT"as the default event forcreate_reviewby @eddie-santos in PyGithub/PyGithub#3078maintainersinOrganization.create_teamby @interifter in PyGithub/PyGithub#3291Maintenance
PaginatedListby @sam93210 in PyGithub/PyGithub#3039github_actionslabel to Maintenance section by @EnricoMi in PyGithub/PyGithub#3357New Contributors
Full Changelog: PyGithub/PyGithub@v2.7.0...v2.8.0
v2.7.0Compare Source
What's Changed
Breaking Changes
Github.get_rate_limit()now returnsRateLimitOverviewrather thanRateLimit(PyGithub/PyGithub#3205).Code like
should be replaced with
GitTag.verificationnow returnsGitCommitVerificationrather thandict[str, Any](PyGithub/PyGithub#3226).Code like
should be replaced with
New Features
Improvements
OrganizationInvitationby @EnricoMi in PyGithub/PyGithub#3207RepositoryAdvisorytests with OpenAPI spec by @EnricoMi in PyGithub/PyGithub#3215ProjectColumnandProjectCardtests with OpenAPI spec by @EnricoMi in PyGithub/PyGithub#3216CopilotSeatclass with API spec by @EnricoMi in PyGithub/PyGithub#3232HookDeliverySummaryclass with API spec by @EnricoMi in PyGithub/PyGithub#3233RequiredPullRequestReviewsclass with API spec by @EnricoMi in PyGithub/PyGithub#3234RequiredStatusChecksclass with API spec by @EnricoMi in PyGithub/PyGithub#3236Teamclass with API spec by @EnricoMi in PyGithub/PyGithub#3237deprecated.deprecated()withtyping_extensions.deprecated()by @lazka in PyGithub/PyGithub#3255prevent_self_reviewproperty toRepository.createEnvironmentby @gopidesupavan in PyGithub/PyGithub#3246PullRequest.get_issue_timelinemethod by @kukarkinmm in PyGithub/PyGithub#3259reversed()onPaginatedListby @mfocko in PyGithub/PyGithub#3260Requesterexception handling by @jsmolar in PyGithub/PyGithub#3299delete_self_hosted_runnertoOrganizationby @uncleDecart in PyGithub/PyGithub#3306Bug Fixes
Authclasses by @EnricoMi in PyGithub/PyGithub#3211Deployment, removemessageattribute by @EnricoMi in PyGithub/PyGithub#3223CodeSecurityConfigRepositoryreturned byget_repos_for_code_security_configby @EnricoMi in PyGithub/PyGithub#3219Branch.get_required_status_checksreturn type by @EnricoMi in PyGithub/PyGithub#3235multi_selectandtrue_falseoptions toCustomProperty.value_typeby @gfog-floqast in PyGithub/PyGithub#3173TimingData.run_duration_msoptional by @LifeLex in PyGithub/PyGithub#3268Dependencies
Maintenance
AppAuth.private_keyin changelog by @EnricoMi in PyGithub/PyGithub#3212HookDeliveryRequestand…Responseprivate headers fields by @EnricoMi in PyGithub/PyGithub#3221PaginatedList[int]by @EnricoMi in PyGithub/PyGithub#3240Organization.get_repos_for_code_security_configtest by @billnapier in PyGithub/PyGithub#3239TimingDataby @EnricoMi in PyGithub/PyGithub#3206New Contributors
Full Changelog: PyGithub/PyGithub@v2.6.0...v2.7.0
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.