pygithub breaking changes
Updated December 4, 2026
On this page
Latest version 2.11.0, released December 4, 2026. Source repository
Its 2.10.0 release drops Python 3.9. Python end of life dates.
- From 1.59.0 to 2.10.0: 1,589 breaking changes in 13 versions.
- From 1.45 to 2.10.0: 1,858 breaking changes in 27 versions.
pygithub 2.10.0 breaking changes
- Removed
Python 3.9 reached end-of-life and support has been removed in this release; users on Python 3.9 must upgrade their interpreter. github.com - Behavior changed
GithubRetry
Caps rate limit backoff in GithubRetry in PyGithub 2.10.0 github.com - Signature changed
github.AdvisoryCredit.SimpleCredit.login
Was login: str | github.NamedUser.NamedUser; now login: str | NamedUser. pypi.org - Signature changed
github.AdvisoryCreditDetailed.AdvisoryCreditDetailed.user
Was user: github.NamedUser.NamedUser; now user: NamedUser. pypi.org - Signature changed
github.ApplicationOAuth.ApplicationOAuth.get_access_token
Was def get_access_token(self, code: str, state: str | None = None) -> AccessToken; now def get_access_token(self, code: str, code_verifier: str | None = None) -> AccessToken. pypi.org - Signature changed
github.ApplicationOAuth.Requester.__init__
Was def __init__(self, auth: Auth | None, base_url: str, timeout: int, user_agent: str, per_page: int, verify: bool | str, retry: int | Retry | None, pool_size: int | None, seconds_between_requests: float | None = None... pypi.org - Signature changed
github.Artifact.WorkflowRun.triggering_actor
Was triggering_actor: github.NamedUser.NamedUser; now triggering_actor: NamedUser. pypi.org - Signature changed
github.Auth.GithubIntegration.__init__
Was def __init__(self, integration_id: int | str | None = None, private_key: str | None = None, base_url: str = Consts.DEFAULT_BASE_URL, *, timeout: int = Consts.DEFAULT_TIMEOUT, user_agent: str = Consts.DEFAULT_USER_AGENT, per_page: int =... pypi.org - Signature changed
github.AuthenticatedUser.Event.actor
Was actor: github.NamedUser.NamedUser; now actor: NamedUser. pypi.org - Signature changed
github.AuthenticatedUser.Event.org
Was org: github.Organization.Organization; now org: Organization. pypi.org - Signature changed
github.AuthenticatedUser.Event.repo
Was repo: github.Repository.Repository; now repo: Repository. pypi.org - Signature changed
github.AuthenticatedUser.Gist.files
Was files: dict[str, github.GistFile.GistFile]; now files: dict[str, GistFile]. pypi.org - Signature changed
github.AuthenticatedUser.Gist.fork_of
Was fork_of: github.Gist.Gist; now fork_of: Gist. pypi.org - Signature changed
github.AuthenticatedUser.Gist.owner
Was owner: github.NamedUser.NamedUser; now owner: NamedUser. pypi.org - Signature changed
github.AuthenticatedUser.Gist.user
Was user: github.NamedUser.NamedUser; now user: NamedUser. pypi.org - Signature changed
github.AuthenticatedUser.Installation.get_repos
Was def get_repos(self) -> PaginatedList[github.Repository.Repository]; now def get_repos(self) -> PaginatedList[Repository]. pypi.org - Signature changed
github.AuthenticatedUser.Migration.repositories
Was repositories: list[github.Repository.Repository]; now repositories: list[Repository]. pypi.org - Signature changed
github.AuthenticatedUser.Notification.get_issue
Was def get_issue(self) -> github.Issue.Issue; now def get_issue(self) -> Issue. pypi.org - Signature changed
github.AuthenticatedUser.Notification.get_pull_request
Was def get_pull_request(self) -> github.PullRequest.PullRequest; now def get_pull_request(self) -> PullRequest. pypi.org - Signature changed
github.AuthenticatedUser.Notification.repository
Was repository: github.Repository.Repository; now repository: Repository. pypi.org - Signature changed
github.AuthenticatedUser.Notification.subject
Was subject: github.NotificationSubject.NotificationSubject; now subject: NotificationSubject. pypi.org - Signature changed
github.AuthenticatedUser.Organization.create_project
Was def create_project(self, name: str, body: Opt[str] = NotSet) -> github.Project.Project; now def create_project(self, name: str, body: Opt[str] = NotSet) -> Project. pypi.org - Signature changed
github.AuthenticatedUser.Organization.create_repo
Was def create_repo(self, name: str, description: Opt[str] = NotSet, homepage: Opt[str] = NotSet, private: Opt[bool] = NotSet, visibility: Opt[str] = NotSet, has_issues: Opt[bool] = NotSet, has_wiki: Opt[bool] = NotSet, has_downloads... pypi.org - Signature changed
github.AuthenticatedUser.Organization.create_secret
Was def create_secret(self, secret_name: str, unencrypted_value: str, visibility: str = 'all', selected_repositories: Opt[list[github.Repository.Repository]] = NotSet, secret_type: str = 'actions') ->... pypi.org - Signature changed
github.AuthenticatedUser.Organization.create_variable
Was def create_variable(self, variable_name: str, value: str, visibility: str = 'all', selected_repositories: github.GithubObject.Opt[list[github.Repository.Repository]] = NotSet) -> github.OrganizationVariable.OrganizationVariable; now... pypi.org - Signature changed
github.AuthenticatedUser.Organization.get_hook
Was def get_hook(self, id: int) -> github.Hook.Hook; now def get_hook(self, id: int) -> Hook. pypi.org - Signature changed
github.AuthenticatedUser.Organization.get_hook_deliveries
Was def get_hook_deliveries(self, hook_id: int) -> PaginatedList[github.HookDelivery.HookDeliverySummary]; now def get_hook_deliveries(self, hook_id: int) -> PaginatedList[HookDeliverySummary]. pypi.org - Signature changed
github.AuthenticatedUser.Organization.get_hook_delivery
Was def get_hook_delivery(self, hook_id: int, delivery_id: int) -> github.HookDelivery.HookDelivery; now def get_hook_delivery(self, hook_id: int, delivery_id: int) -> HookDelivery. pypi.org - Signature changed
github.AuthenticatedUser.Project.create_column
Was def create_column(self, name: str) -> github.ProjectColumn.ProjectColumn; now def create_column(self, name: str) -> ProjectColumn. pypi.org - Signature changed
github.AuthenticatedUser.Project.get_columns
Was def get_columns(self) -> PaginatedList[github.ProjectColumn.ProjectColumn]; now def get_columns(self) -> PaginatedList[ProjectColumn]. pypi.org - Signature changed
github.AuthenticatedUser.Repository.create_autolink
Was def create_autolink(self, key_prefix: str, url_template: str, is_alphanumeric: Opt[bool] = NotSet) -> github.Autolink.Autolink; now def create_autolink(self, key_prefix: str, url_template: str, is_alphanumeric: Opt[bool] = NotSet) ->... pypi.org - Signature changed
github.AuthenticatedUser.Repository.create_pull
Was def create_pull(self, base: str, head: str, *, title: Opt[str] = NotSet, body: Opt[str] = NotSet, maintainer_can_modify: Opt[bool] = NotSet, draft: Opt[bool] = NotSet, issue: Opt[github.Issue.Issue] = NotSet) ->... pypi.org - Signature changed
github.AuthenticatedUser.Repository.create_repository_advisory
Was def create_repository_advisory(self, summary: str, description: str, severity_or_cvss_vector_string: str, cve_id: str | None = None, vulnerabilities: Iterable[github.AdvisoryVulnerability.AdvisoryVulnerabilityInput] | None = None... pypi.org - Signature changed
github.AuthenticatedUser.Repository.create_secret
Was def create_secret(self, secret_name: str, unencrypted_value: str, secret_type: str = 'actions') -> github.Secret.Secret; now def create_secret(self, secret_name: str, unencrypted_value: str, secret_type: str = 'actions') -> Secret. pypi.org - Signature changed
github.AuthenticatedUser.Repository.create_variable
Was def create_variable(self, variable_name: str, value: str) -> github.Variable.Variable; now def create_variable(self, variable_name: str, value: str) -> Variable. pypi.org - Signature changed
github.AuthenticatedUser.Repository.get_hook_deliveries
Was def get_hook_deliveries(self, hook_id: int) -> PaginatedList[github.HookDelivery.HookDeliverySummary]; now def get_hook_deliveries(self, hook_id: int) -> PaginatedList[HookDeliverySummary]. pypi.org - Signature changed
github.AuthenticatedUser.Repository.get_hook_delivery
Was def get_hook_delivery(self, hook_id: int, delivery_id: int) -> github.HookDelivery.HookDelivery; now def get_hook_delivery(self, hook_id: int, delivery_id: int) -> HookDelivery. pypi.org - Signature changed
github.AuthenticatedUser.Repository.get_repository_advisories
Was def get_repository_advisories(self) -> PaginatedList[github.RepositoryAdvisory.RepositoryAdvisory]; now def get_repository_advisories(self) -> PaginatedList[RepositoryAdvisory]. pypi.org - Signature changed
github.AuthenticatedUser.Repository.get_repository_advisory
Was def get_repository_advisory(self, ghsa: str) -> github.RepositoryAdvisory.RepositoryAdvisory; now def get_repository_advisory(self, ghsa: str) -> RepositoryAdvisory. pypi.org - Signature changed
github.AuthenticatedUser.Repository.get_secret
Was def get_secret(self, secret_name: str, secret_type: str = 'actions') -> github.Secret.Secret; now def get_secret(self, secret_name: str, secret_type: str = 'actions') -> Secret. pypi.org - Signature changed
github.AuthenticatedUser.Repository.get_secrets
Was def get_secrets(self, secret_type: str = 'actions') -> PaginatedList[github.Secret.Secret]; now def get_secrets(self, secret_type: str = 'actions') -> PaginatedList[Secret]. pypi.org - Signature changed
github.AuthenticatedUser.Repository.get_variable
Was def get_variable(self, variable_name: str) -> github.Variable.Variable; now def get_variable(self, variable_name: str) -> Variable. pypi.org - Signature changed
github.AuthenticatedUser.Repository.get_variables
Was def get_variables(self) -> PaginatedList[github.Variable.Variable]; now def get_variables(self) -> PaginatedList[Variable]. pypi.org - Signature changed
github.AuthenticatedUser.Repository.report_security_vulnerability
Was def report_security_vulnerability(self, summary: str, description: str, severity_or_cvss_vector_string: str, cve_id: str | None = None, vulnerabilities: Iterable[github.AdvisoryVulnerability.AdvisoryVulnerabilityInput] | None = None... pypi.org - Signature changed
github.AuthenticatedUser.Repository.template_repository
Was template_repository: github.Repository.Repository; now template_repository: Repository. pypi.org - Signature changed
github.Branch.RequiredPullRequestReviews.dismissal_teams
Was dismissal_teams: list[Team]; now dismissal_teams: list[Team] | None. pypi.org - Signature changed
github.Branch.RequiredPullRequestReviews.dismissal_users
Was dismissal_users: list[NamedUser]; now dismissal_users: list[NamedUser] | None. pypi.org - Signature changed
github.CheckRun.Deployment.create_status
Was def create_status(self, state: str, target_url: Opt[str] = NotSet, description: Opt[str] = NotSet, environment: Opt[str] = NotSet, environment_url: Opt[str] = NotSet, auto_inactive: Opt[bool] = NotSet) ->... pypi.org - Signature changed
github.CheckRun.Deployment.get_status
Was def get_status(self, id_: int) -> github.DeploymentStatus.DeploymentStatus; now def get_status(self, id_: int) -> DeploymentStatus. pypi.org - Signature changed
github.CheckRun.Deployment.get_statuses
Was def get_statuses(self) -> PaginatedList[github.DeploymentStatus.DeploymentStatus]; now def get_statuses(self) -> PaginatedList[DeploymentStatus]. pypi.org
And 166 more in this version. Sign up to see every change
pygithub 2.9.0 breaking changes
- Removed
Python 3.8 reached end-of-life and support was removed in this release. Users on Python 3.8 must upgrade Python before installing this version. github.com - Removed
github.Commit.CompletableGithubObject
github.Commit.CompletableGithubObject was removed in PyGithub 2.9.0 pypi.org - Removed
github.CommitComment.Reaction.__eq__
github.CommitComment.Reaction.__eq__ was removed in PyGithub 2.9.0 pypi.org - Removed
github.CommitComment.Reaction.__hash__
github.CommitComment.Reaction.__hash__ was removed in PyGithub 2.9.0 pypi.org - Removed
github.CommitComment.Reaction.__ne__
github.CommitComment.Reaction.__ne__ was removed in PyGithub 2.9.0 pypi.org - Removed
github.CommitComment.Reaction.complete
github.CommitComment.Reaction.complete was removed in PyGithub 2.9.0 pypi.org - Removed
github.CommitComment.Reaction.completed
github.CommitComment.Reaction.completed was removed in PyGithub 2.9.0 pypi.org - Removed
github.CommitComment.Reaction.update
github.CommitComment.Reaction.update was removed in PyGithub 2.9.0 pypi.org - Removed
github.Reaction.Consts
github.Reaction.Consts was removed in PyGithub 2.9.0 pypi.org - Behavior changed
Commit.files
Iterating Commit.files now uses the configured per_page setting rather than a fixed page size. github.com
And 51 more in this version. Sign up to see every change
pygithub 2.8.0 breaking changes
- Default changed
create_review
The COMMENT default event was removed from create_review, so pass the review event explicitly. github.com - Signature changed
github.ApplicationOAuth.Requester.graphql_node
Was def graphql_node(self, node_id: str, graphql_schema: str, node_type: str) -> tuple[dict[str, Any], dict[str, Any]]; now def graphql_node(self, node_id: str, output_schema: str, node_type: str) -> tuple[dict[str, Any], dict[str, Any]]. pypi.org - Signature changed
github.ApplicationOAuth.Requester.graphql_node_class
Was def graphql_node_class(self, node_id: str, graphql_schema: str, klass: type[T_gh], node_type: str | None = None) -> T_gh; now def graphql_node_class(self, node_id: str, output_schema: str, klass: type[T_gh], node_type: str | None =... pypi.org - Signature changed
github.AuthenticatedUser.Invitation.invitee
Was invitee: NamedUser; now invitee: NamedUser | Organization. pypi.org - Signature changed
github.AuthenticatedUser.Invitation.inviter
Was inviter: NamedUser; now inviter: NamedUser | Organization. pypi.org - Signature changed
github.AuthenticatedUser.Migration.owner
Was owner: github.NamedUser.NamedUser; now owner: NamedUser | Organization. pypi.org - Signature changed
github.AuthenticatedUser.Organization.create_team
Was def create_team(self, name: str, repo_names: Opt[list[Repository]] = NotSet, permission: Opt[str] = NotSet, privacy: Opt[str] = NotSet, description: Opt[str] = NotSet, parent_team_id: Opt[int] = NotSet, maintainers: Opt[list[int]] =... pypi.org - Signature changed
github.AuthenticatedUser.Organization.delete_self_hosted_runner
Was def delete_self_hosted_runner(self, runner_id: str) -> None; now def delete_self_hosted_runner(self, runner_id: int) -> None. pypi.org - Signature changed
github.AuthenticatedUser.Organization.get_self_hosted_runners
Was def get_self_hosted_runners(self) -> PaginatedList[SelfHostedActionsRunner]; now def get_self_hosted_runners(self, name: Opt[str] = NotSet) -> PaginatedList[SelfHostedActionsRunner]. pypi.org - Signature changed
github.AuthenticatedUser.Project.creator
Was creator: github.NamedUser.NamedUser; now creator: NamedUser | Organization. pypi.org
And 48 more in this version. Sign up to see every change
pygithub 2.7.0 breaking changes
- Removed
github.AuthenticatedUser.Issue.score
github.AuthenticatedUser.Issue.score was removed in PyGithub 2.7.0 pypi.org - Removed
github.AuthenticatedUser.NamedUser.score
github.AuthenticatedUser.NamedUser.score was removed in PyGithub 2.7.0 pypi.org - Removed
github.Branch.Commit.score
github.Branch.Commit.score was removed in PyGithub 2.7.0 pypi.org - Removed
github.Commit.Commit.score
github.Commit.Commit.score was removed in PyGithub 2.7.0 pypi.org - Removed
github.ContentFile.ContentFile.score
github.ContentFile.ContentFile.score was removed in PyGithub 2.7.0 pypi.org - Removed
github.HookDelivery.github
HookDelivery.github was removed in PyGithub 2.7.0 pypi.org - Removed
github.Issue.Issue.score
github.Issue.Issue.score was removed in PyGithub 2.7.0 pypi.org - Removed
github.MainClass.Commit
github.MainClass.Commit was removed in PyGithub 2.7.0 pypi.org - Removed
github.MainClass.ContentFile
github.MainClass.ContentFile was removed in PyGithub 2.7.0 pypi.org - Removed
github.MainClass.Issue
github.MainClass.Issue was removed in PyGithub 2.7.0 pypi.org
And 45 more in this version. Sign up to see every change
pygithub 2.6.1 breaking changes
- Removed
Deployment.message
The message attribute was removed from Deployment, along with its schema. Code that reads Deployment.message will fail. github.com - Removed
github.CheckRun.Deployment.message
github.CheckRun.Deployment.message was removed in PyGithub 2.6.1 pypi.org - Removed
github.Deployment.Deployment.message
github.Deployment.Deployment.message was removed in PyGithub 2.6.1 pypi.org - Behavior changed
GitTag.verification
GitTag.verification returns a GitCommitVerification object now. Code that depends on its previous return type must be updated. github.com - Signature changed
github.AuthenticatedUser.Organization.get_repos_for_code_security_config
Was def get_repos_for_code_security_config(self, id: int, status: Opt[str] = NotSet) -> PaginatedList[Repository]; now def get_repos_for_code_security_config(self, id: int, status: Opt[str] = NotSet) ->... pypi.org - Signature changed
github.GitTag.GitTag.verification
Was verification: dict[str, Any]; now verification: GitCommitVerification. pypi.org - Signature changed
github.Organization.Organization.get_repos_for_code_security_config
Was def get_repos_for_code_security_config(self, id: int, status: Opt[str] = NotSet) -> PaginatedList[Repository]; now def get_repos_for_code_security_config(self, id: int, status: Opt[str] = NotSet) ->... pypi.org - Signature changed
github.Repository.GitTag.verification
Was verification: dict[str, Any]; now verification: GitCommitVerification. pypi.org
pygithub 2.6.0 breaking changes
- Removed
github.AppAuthentication.AppAuth.private_key
github.AppAuthentication.AppAuth.private_key was removed in PyGithub 2.6.0 pypi.org - Removed
github.AppAuthentication.AppInstallationAuth.private_key
github.AppAuthentication.AppInstallationAuth.private_key was removed in PyGithub 2.6.0 pypi.org - Removed
github.Auth.AppAuth.private_key
github.Auth.AppAuth.private_key was removed in PyGithub 2.6.0 pypi.org - Removed
github.Auth.AppInstallationAuth.private_key
github.Auth.AppInstallationAuth.private_key was removed in PyGithub 2.6.0 pypi.org - Removed
github.Clones.Clones.timestamp
github.Clones.Clones.timestamp was removed in PyGithub 2.6.0 pypi.org - Removed
github.Organization.RepositoryCustomPropertyValues.respository_id
github.Organization.RepositoryCustomPropertyValues.respository_id was removed in PyGithub 2.6.0 pypi.org - Removed
github.OrganizationCustomProperty.RepositoryCustomPropertyValues.respository_id
github.OrganizationCustomProperty.RepositoryCustomPropertyValues.respository_id was removed in PyGithub 2.6.0 pypi.org - Removed
github.Repository.Clones.timestamp
github.Repository.Clones.timestamp was removed in PyGithub 2.6.0 pypi.org - Removed
github.Repository.View.timestamp
github.Repository.View.timestamp was removed in PyGithub 2.6.0 pypi.org - Removed
github.Requester.RequestsResponse.text
github.Requester.RequestsResponse.text was removed in PyGithub 2.6.0 pypi.org
And 142 more in this version. Sign up to see every change
Older versions
22 older versions, each with its first changes. Sign up to see every change
Show 22 older versions
pygithub 2.5.0 breaking changes
- Removed
github.TeamDiscussion.CompletableGithubObject
github.TeamDiscussion.CompletableGithubObject was removed in PyGithub 2.5.0 pypi.org - Removed
github.TeamDiscussion.github
TeamDiscussion.github was removed in PyGithub 2.5.0 pypi.org
And 8 more in this version.
pygithub 2.4.0 breaking changes
- Removed
Python 3.7 is no longer supported, so users on Python 3.7 must upgrade their Python version to use this release. github.com - Behavior changed
Commit.files
Commit.files returns a PaginatedList instead of a plain list, so code that relies on list-only behavior such as indexing or len may need to change. github.com
And 10 more in this version.
pygithub 2.3.0 breaking changes
- Signature changed
github.AuthenticatedUser.Organization.create_secret
Was def create_secret(self, secret_name: str, unencrypted_value: str, visibility: str = 'all', selected_repositories: Opt[list[github.Repository.Repository]] = NotSet) -> github.OrganizationSecret.OrganizationSecret; now def... pypi.org - Signature changed
github.AuthenticatedUser.Organization.get_public_key
Was def get_public_key(self) -> PublicKey; now def get_public_key(self, secret_type: str = 'actions') -> PublicKey. pypi.org
And 20 more in this version.
pygithub 2.2.0 breaking changes
- Removed
github.AppAuthentication.AppInstallationAuth.GithubIntegration
github.AppAuthentication.AppInstallationAuth.GithubIntegration was removed in PyGithub 2.2.0 pypi.org - Removed
github.AuthenticatedUser.Repository.update_environment
github.AuthenticatedUser.Repository.update_environment was removed in PyGithub 2.2.0 pypi.org
And 53 more in this version.
pygithub 2.1.1 breaking changes
- Configuration changed
The package now requires urllib 1.26.0 or greater, so environments pinning an older urllib must upgrade it before installing this release. github.com
pygithub 2.1.0.post0 breaking changes
- Removed
github.AccessToken.github
AccessToken.github was removed in PyGithub 2.1.0.post0 pypi.org - Removed
github.AuthenticatedUser.Organization.delete_secret
github.AuthenticatedUser.Organization.delete_secret was removed in PyGithub 2.1.0.post0 pypi.org
And 936 more in this version.
pygithub 2.0.0rc0 breaking changes
- Behavior changed
github.Github
Requests are now throttled by default (1 second between writes, 0.25 second between requests) and retryable 403 and 5xx responses are retried by default. Set seconds_between_requests, seconds_between_writes and retry to None to restore... github.com
pygithub 1.59.0 breaking changes
- Removed
github.AccessToken.NonCompletableGithubObject
github.AccessToken.NonCompletableGithubObject was removed in PyGithub 1.59.0 pypi.org - Removed
github.Authorization.CompletableGithubObject
github.Authorization.CompletableGithubObject was removed in PyGithub 1.59.0 pypi.org
And 108 more in this version.
pygithub 1.58.1 breaking changes
- Configuration changed
The pyjwt dependency now pulls in the cryptography package through a crypto extra. Installs may pull in extra packages. github.com - Configuration changed
Continuous integration now tests against Python 3.11 and 3.12 dev. This does not change which Python versions the package supports. github.com
And 1 more in this version.
pygithub 1.58.0 breaking changes
- Removed
github.Github.get_installation
Github.get_installation was removed in PyGithub 1.58.0 pypi.org - Removed
github.GithubIntegration.__init__
GithubIntegration() was removed in PyGithub 1.58.0 pypi.org
And 29 more in this version.
pygithub 1.57 breaking changes
- Removed
Python 3.6 is no longer supported; users on Python 3.6 must upgrade their interpreter to keep using this release line. github.com - Signature changed
github.AuthenticatedUser.Repository.create_project
Was def create_project(self, name: str, body: str = github.GithubObject.NotSet) -> Project; now def create_project(self, name: str, body: Union[str, _NotSetType] = github.GithubObject.NotSet) -> Project. pypi.org
And 9 more in this version.
pygithub 1.56 breaking changes
- Removed
This is the last release that supports Python 3.6. Move to a newer Python version before upgrading past this release. github.com - Behavior changed
GithubException
Adding headers to GithubException is a breaking change. Code that depends on the exception's exact contents may need updating. github.com
And 10 more in this version.
pygithub 1.55 breaking changes
- Removed
client_id.client_secret authentication
Client ID and client secret authentication is no longer supported, so code using it must switch to another authentication method. github.com - Behavior changed
AuthenticatedUser.get_emails
Adjusted to GitHub API changes regarding emails, so the return value of get_emails() differs and code relying on its previous output may need updating. github.com
And 17 more in this version.
pygithub 1.54.1 breaking changes
- Removed
Python 3.5 is no longer supported, so code running on Python 3.5 must upgrade its interpreter to keep using this release. github.com - Signature changed
github.AuthenticatedUser.Repository.get_deployment
Was def get_deployment(self, id_: int) -> Any; now def get_deployment(self, id_: int) -> Deployment. pypi.org
And 5 more in this version.
pygithub 1.54 breaking changes
- Removed
This is the last release supporting Python 3.5; users on Python 3.5 must stay on this version or upgrade Python. github.com - Removed
Github.get_installation
The Github.get_installation(integer) method has been removed; code calling it with an integer must be updated. github.com
And 11 more in this version.
pygithub 1.53 breaking changes
- Signature changed
github.AuthenticatedUser.Repository.create_repository_dispatch
Was def create_repository_dispatch(self, event_type: str, client_payload: Dict[str, str] = github.GithubObject.NotSet) -> bool; now def create_repository_dispatch(self, event_type: str, client_payload: Dict[str, Any] =... pypi.org - Signature changed
github.AuthenticatedUser.Repository.edit
Was def edit(self, name: Optional[str] = None, description: Union[str, _NotSetType] = github.GithubObject.NotSet, homepage: Union[str, _NotSetType] = github.GithubObject.NotSet, private: Union[bool, _NotSetType] =... pypi.org
And 16 more in this version.
pygithub 1.52 breaking changes
- Removed
github.AuthenticatedUser.Repository.topics
github.AuthenticatedUser.Repository.topics was removed in PyGithub 1.52 pypi.org - Removed
github.GithubObject.PullRequestReview.__eq__
github.GithubObject.PullRequestReview.__eq__ was removed in PyGithub 1.52 pypi.org
And 28 more in this version.
pygithub 1.51 breaking changes
- Signature changed
github.AuthenticatedUser.AuthenticatedUser.create_repo
Was def create_repo(self, name, description=github.GithubObject.NotSet, homepage=github.GithubObject.NotSet, private=github.GithubObject.NotSet, has_issues=github.GithubObject.NotSet, has_wiki=github.GithubObject.NotSet... pypi.org - Signature changed
github.Branch.Branch.edit_protection
Was def edit_protection(self, strict=github.GithubObject.NotSet, contexts=github.GithubObject.NotSet, enforce_admins=github.GithubObject.NotSet, dismissal_users=github.GithubObject.NotSet, dismissal_teams=github.GithubObject.NotSet... pypi.org
And 3 more in this version.
pygithub 1.50 breaking changes
- Removed
github.Consts.draftPullRequestPreview
Consts.draftPullRequestPreview was removed in PyGithub 1.50 pypi.org - Removed
len
Documentation for len() of PaginatedList dropped in PyGithub 1.50 github.com
And 3 more in this version.
pygithub 1.47 breaking changes
- Signature changed
github.PullRequest.PullRequest.update_branch
Was def update_branch(self, expected_head_sha); now def update_branch(self, expected_head_sha=github.GithubObject.NotSet). pypi.org
pygithub 1.46 breaking changes
- Removed
Python 2 support has been removed in this release. Users who still need Python 2 must stay on version 1.45. github.com - Signature changed
github.AuthenticatedUser.AuthenticatedUser.create_repo
Was def create_repo(self, name, description=github.GithubObject.NotSet, homepage=github.GithubObject.NotSet, private=github.GithubObject.NotSet, has_issues=github.GithubObject.NotSet, has_wiki=github.GithubObject.NotSet... pypi.org
And 2 more in this version.
pygithub 1.45 breaking changes
- Removed
This is the last PyGithub release that supports Python 2; later versions drop it. github.com - Removed
Branch.edit_{user,team}_push_restrictions
The edit_{user,team}_push_restrictions() methods were removed. Use add_, replace_ or remove_{user,team}_push_restrictions() instead. github.com
And 8 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.