Bump pygithub from 1.59.1 to 2.3.0
Bumps pygithub from 1.59.1 to 2.3.0.
Release notes
Sourced from pygithub's releases.
v2.3.0
New features
- Support oauth for enterprise
@EnricoMi(#2780)- Support creation of Dependabot Organization and Repository Secrets
@thomascrowley(#2874)Improvements
- Create release with optional
nameandmessagewhengenerate_release_notesis true@heitorpolidoro(#2868)- Add missing attributes to
WorkflowJob@xvega(#2921)- Add
createdandcheck_suite_idfilter for Repository Workflow runs@treee111(#2891)- Assert requester argument type in Auth
@EnricoMi(#2912)Bug Fixes
- Revert having allowed values for
add_to_collaborators@jodelasur(#2905)Maintenance
- Fix imports in authentication docs
@wurstbrot(#2923)- CI: add docformatter to precommit
@Borda(#2614)- Add
.swpfils to.gitignore@boomanaiden154(#2903)- Fix instructions building docs in
CONTRIBUTING.md@wakamex(#2900)- Explicitly name the modules built in
pyproject.toml@treee111(#2894)v2.2.0
Breaking Changes
The
github.Comparison.Comparisoninstance returned byRepository.compareprovides acommitsproperty that used to return alist[github.Commit.Commit], which has now been changed toPaginatedList[github.Commit.Commit]. This breaks user code that assumes alist:commits = repo.compare("v0.6", "v0.7").commits no_of_commits = len(commits) # will raise a TypeErrorThis will raise a
TypeError: object of type 'PaginatedList' has no len(), as the returnedPaginatedListdoes not support thelen()method. Use thetotalCountproperty instead:commits = repo.compare("v0.6", "v0.7").commits no_of_commits = commits.totalCountNew features
- Add support to call GraphQL API
Improvements
- Add parent_team_id, maintainers and notification_setting for creating and updating teams. by
@Cheshirezin PyGithub/PyGithub#2863- Add support for issue reactions summary by
@smuzaffarin PyGithub/PyGithub#2866- Support for DependabotAlert APIs by
@coopernetesin PyGithub/PyGithub#2879- Derive GraphQL URL from base_url by
@EnricoMiin PyGithub/PyGithub#2880- Make
Repository.compare().commitsreturn paginated list by@EnricoMiin PyGithub/PyGithub#2882
... (truncated)
Changelog
Sourced from pygithub's changelog.
Version 2.3.0 (March 21, 2024)
New features ^^^^^^^^^^^^
- Support OAuth for enterprise (#2780) (e4106e00)
- Support creation of Dependabot Organization and Repository Secrets (#2874) (0784f835)
Improvements ^^^^^^^^^^^^
- Create release with optional name and message when generate_release_notes is true (#2868) (d65fc30d)
- Add missing attributes to WorkflowJob (#2921) (9e092458)
- Add
createdandcheck_suite_idfilter for Repository WorkflowRuns (#2891) (c788985c)- Assert requester argument type in Auth (#2912) (0b8435fc)
Bug Fixes ^^^^^^^^^
- Revert having allowed values for add_to_collaborators (#2905) (b542438e)
Maintenance ^^^^^^^^^^^
- Fix imports in authentication docs (#2923) (e3d36535)
- CI: add docformatter to precommit (#2614) (96ad19ae)
- Add .swp files to gitignore (#2903) (af529abe)
- Fix instructions building docs in CONTRIBUTING.md (#2900) (cd8e528d)
- Explicitly name the modules built in pyproject.toml (#2894) (4d461734)
Version 2.2.0 (January 28, 2024)
Breaking Changes ^^^^^^^^^^^^^^^^
- The
github.Comparison.Comparisoninstance returned byRepository.compareprovides acommitsproperty that used to return alist[github.Commit.Commit], which has now been changed toPaginatedList[github.Commit.Commit]. This breaks user code that assumes alist:.. code-block:: python
commits = repo.compare("v0.6", "v0.7").commits no_of_commits = len(commits)This will raise a
TypeError: object of type 'PaginatedList' has no len(), as the returnedPaginatedListdoes not support thelen()method. Use thetotalCountproperty instead:.. code-block:: python
... (truncated)
Commits
7266e81Release v2.3.0 (#2926)e4106e0Support oauth for enterprise (#2780)d65fc30Create release with optional name and message when generate_release_notes is ...0784f83Support creation of Dependabot Organization and Repository Secrets (#2874)9e09245Add missing attributes to WorkflowJob (#2921)e3d3653Fix imports in authentication docs (#2923)c788985Addcreatedandcheck_suite_idfilter for Repository WorkflowRuns (#2891)0b8435fAssert requester argument type in Auth (#2912)96ad19aCI: add docformatter to precommit (#2614)b542438Revert having allowed values for add_to_collaborators (#2905)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)