Bump pygithub from 1.58.2 to 2.6.1
Bumps pygithub from 1.58.2 to 2.6.1.
Release notes
Sourced from pygithub's releases.
v2.6.1
Bug Fixes
- Fix broken pickle support for
Authclasses by@EnricoMiin PyGithub/PyGithub#3211- Remove schema from
Deployment, removemessageattribute by@EnricoMiin PyGithub/PyGithub#3223- Fix incorrect deprecated import by
@EnricoMiin PyGithub/PyGithub#3225- Add
CodeSecurityConfigRepositoryreturned byget_repos_for_code_security_configby@EnricoMiin PyGithub/PyGithub#3219- Make
GitTag.verificationreturnGitCommitVerificationby@EnricoMiin PyGithub/PyGithub#3226Maintenance
- Mention removal of
AppAuth.private_keyin changelog by@EnricoMiin PyGithub/PyGithub#3212Full Changelog: https://github.com/PyGithub/PyGithub/compare/v2.6.0...v2.6.1
v2.6.0
Breaking Changes
- Rework
ViewsandClonesby@EnricoMiin PyGithub/PyGithub#3168: View and clones traffic information returned byRepository.get_views_trafficandRepository.get_clones_trafficnow return proper PyGithub objects, instead of adict, with all information that used to be provided by thedict:Code like
repo.get_views_traffic().["views"].timestamp repo.get_clones_traffic().["clones"].timestampshould be replaced with
repo.get_views_traffic().views.timestamp repo.get_clones_traffic().clones.timestamp
- Fix typos by
@kianmengin PyGithub/PyGithub#3086: PropertyOrganizationCustomProperty.respository_idrenamed toOrganizationCustomProperty.repository_id.New Features
- Add capability for global laziness by
@EnricoMiin PyGithub/PyGithub#2746- Add Support for GitHub Copilot Seat Management in Organizations by
@pashafateevin PyGithub/PyGithub#3082- Get branches where commit is head by
@EnricoMiin PyGithub/PyGithub#3083- Support downloading a Release Asset by
@neel-min PyGithub/PyGithub#3060- Add
Repository.merge_upstreammethod by@Felixoidin PyGithub/PyGithub#3175- Support updating pull request draft status by
@didotin PyGithub/PyGithub#3104- Add transfer ownership method to Repository by
@tanannie22in PyGithub/PyGithub#3091- Add enable and disable a Workflow by
@nickrmccloreyin PyGithub/PyGithub#3088- Add support for managing Code Security Configrations by
@billnapierin PyGithub/PyGithub#3095- Allow for private_key / sign function in AppAuth by
@EnricoMiin PyGithub/PyGithub#3065Improvements
- Update RateLimit object with all the new categories GitHub added. by
@billnapierin PyGithub/PyGithub#3096
... (truncated)
Changelog
Sourced from pygithub's changelog.
Version 2.6.1 (February 21, 2025)
Bug Fixes ^^^^^^^^^
- Fix broken pickle support for
Authclasses ([#3211](https://github.com/pygithub/pygithub/issues/3211) <https://github.com/PyGithub/PyGithub/pull/3211>) (f975552a <https://github.com/PyGithub/PyGithub/commit/f975552a>)- Remove schema from
Deployment, removemessageattribute ([#3223](https://github.com/pygithub/pygithub/issues/3223) <https://github.com/PyGithub/PyGithub/pull/3223>) (d12e7d4c <https://github.com/PyGithub/PyGithub/commit/d12e7d4c>)- Fix incorrect deprecated import (
[#3225](https://github.com/pygithub/pygithub/issues/3225) <https://github.com/PyGithub/PyGithub/pull/3225>) (93297440 <https://github.com/PyGithub/PyGithub/commit/93297440>)- Add
CodeSecurityConfigRepositoryreturned byget_repos_for_code_security_config([#3219](https://github.com/pygithub/pygithub/issues/3219) <https://github.com/PyGithub/PyGithub/pull/3219>) (f997a2f6 <https://github.com/PyGithub/PyGithub/commit/f997a2f6>)- Make
GitTag.verificationreturnGitCommitVerification([#3226](https://github.com/pygithub/pygithub/issues/3226) <https://github.com/PyGithub/PyGithub/pull/3226>) (048a1a38 <https://github.com/PyGithub/PyGithub/commit/048a1a38>)Maintenance ^^^^^^^^^^^
- Mention removal of
AppAuth.private_keyin changelog ([#3212](https://github.com/pygithub/pygithub/issues/3212) <https://github.com/PyGithub/PyGithub/pull/3212>) (f5dc1c76 <https://github.com/PyGithub/PyGithub/commit/f5dc1c76>)Version 2.6.0 (February 15, 2025)
Breaking Changes ^^^^^^^^^^^^^^^^
Rework
ViewsandClones([#3168](https://github.com/pygithub/pygithub/issues/3168) <https://github.com/PyGithub/PyGithub/pull/3168>) (f7d52249 <https://github.com/PyGithub/PyGithub/commit/f7d52249>):View and clones traffic information returned by
Repository.get_views_trafficandRepository.get_clones_trafficnow return proper PyGithub objects, instead of adict, with all information that used to be provided by thedict:Code like
.. code-block:: python
repo.get_views_traffic().["views"].timestamp repo.get_clones_traffic().["clones"].timestamp
should be replaced with
.. code-block:: python
repo.get_views_traffic().views.timestamp repo.get_clones_traffic().clones.timestamp
Add
GitCommitVerificationclass ([#3028](https://github.com/pygithub/pygithub/issues/3028) <https://github.com/PyGithub/PyGithub/pull/3028>) (822e6d71 <https://github.com/PyGithub/PyGithub/commit/822e6d71>):Changes the return value of
GitTag.verificationandGitCommit.verificationfromdicttoGitCommitVerification.Code like
.. code-block:: python
tag.verification["reason"] commit.verification["reason"]
... (truncated)
Commits
da30d6eReleasing v2.6.1 (#3230)f997a2fAddCodeSecurityConfigRepositoryreturned by `get_repos_for_code_security_c...048a1a3MakeGitTag.verificationreturnGitCommitVerification(#3226)9329744Fix incorrect deprecated import (#3225)d12e7d4Remove schema fromDeployment, removemessageattribute (#3223)f975552Fix broken pickle support forAuthclasses (#3211)f5dc1c7Mention removal ofAppAuth.private_keyin changelog (#3212)e3e07d7Fix PyPi upload (#3200)620c839Fix PyPi upload (#3199)bf98e17Release 2.6.0 (#3198)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.