Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump pygithub from 2.3.0 to 2.4.0 (#62)
Bumps [pygithub](https://github.com/pygithub/pygithub) from 2.3.0 to 2.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pygithub/pygithub/releases">pygithub's releases</a>.</em></p> <blockquote> <h2>v2.4.0</h2> <h2>New features</h2> <ul> <li>Allow custom authentication <a href="https://github.com/kliem"><code>@kliem</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2987">#2987</a>)</li> </ul> <h2>Improvements</h2> <ul> <li>Add <code>has_discussions</code> to <code>AuthenticatedUser</code> and <code>Repository</code> classes <a href="https://github.com/cwlls"><code>@cwlls</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/3020">#3020</a>)</li> <li>Update more <code>SecurityAndAnalysis</code> attributes <a href="https://github.com/squatched"><code>@squatched</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/3025">#3025</a>)</li> <li>Implement support for re-running only failed workflow jobs. <a href="https://github.com/chrisgavin"><code>@chrisgavin</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2983">#2983</a>)</li> <li>Add possibility to mark a thread/notification as done <a href="https://github.com/m42e"><code>@m42e</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2985">#2985</a>)</li> <li>Add "pull_request_review_id" to PullRequestComment object <a href="https://github.com/stroebs"><code>@stroebs</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/3000">#3000</a>)</li> <li>Add minimize and unminimize functions for IssueComment class <a href="https://github.com/arash77"><code>@arash77</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/3005">#3005</a>)</li> <li>Support Organization/Repository custom properties <a href="https://github.com/jackylamhk"><code>@jackylamhk</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2968">#2968</a>)</li> <li>Add <code>dict</code> type to <code>add_attribute</code> script <a href="https://github.com/jackylamhk"><code>@jackylamhk</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2977">#2977</a>)</li> <li>Allow for deleting and restoring branch associated with PR <a href="https://github.com/austinsasko"><code>@austinsasko</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/1784">#1784</a>)</li> <li>Add "archived_at" to Organization object. <a href="https://github.com/billnapier"><code>@billnapier</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2974">#2974</a>)</li> <li>Adds Security & Analysis To Repository <a href="https://github.com/squatched"><code>@squatched</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2960">#2960</a>)</li> <li>Add added_by and last_used attributes to RepositoryKey <a href="https://github.com/ramiro"><code>@ramiro</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2952">#2952</a>)</li> <li>Add <code>make_latest</code> to <code>GitRelease.update_release</code> <a href="https://github.com/treee111"><code>@treee111</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2888">#2888</a>)</li> <li>Make Commit.files return PaginatedList <a href="https://github.com/iarspider"><code>@iarspider</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2939">#2939</a>)</li> </ul> <h2>Bug Fixes</h2> <ul> <li>Fix GraphQL Queries with Variables <a href="https://github.com/kgal-pan"><code>@kgal-pan</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/3002">#3002</a>)</li> </ul> <h2>Maintenance</h2> <ul> <li>Remove support for Python 3.7 <a href="https://github.com/EnricoMi"><code>@EnricoMi</code></a> <a href="https://github.com/khneal"><code>@khneal</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/3008">#3008</a>, <a href="https://redirect.github.com/pygithub/pygithub/issues/2975">#2975</a>)</li> <li>docs: add missing code-block <a href="https://github.com/kumy"><code>@kumy</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2982">#2982</a>)</li> <li>Update README.md <a href="https://github.com/KPCOFGS"><code>@KPCOFGS</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2961">#2961</a>)</li> <li>CI: Fix test success job <a href="https://github.com/EnricoMi"><code>@EnricoMi</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/3010">#3010</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst">pygithub's changelog</a>.</em></p> <blockquote> <h2>Version 2.4.0 (August 26, 2024)</h2> <p>Breaking Changes ^^^^^^^^^^^^^^^^</p> <ul> <li>The <code>github.Commit.Commit</code> class provides a <code>files</code> property that used to return a <code>list[github.File.File]</code>, which has now been changed to <code>PaginatedList[github.File.File]</code>. This breaks user code that assumes a <code>list</code>:</li> </ul> <p>.. code-block:: python</p> <pre><code>files = repo.get_commit("7266e812ed2976ea36a4303edecfe5d75522343f").files no_of_files = len(files) </code></pre> <p>This will raise a <code>TypeError: object of type 'PaginatedList' has no len()</code>, as the returned <code>PaginatedList</code> does not support the <code>len()</code> method. Use the <code>totalCount</code> property instead:</p> <p>.. code-block:: python</p> <pre><code>files = repo.get_commit("7266e812ed2976ea36a4303edecfe5d75522343f").files no_of_files = files.totalCount </code></pre> <ul> <li>Removed support for Python 3.7.</li> </ul> <p>New features ^^^^^^^^^^^^</p> <ul> <li>Allow custom authentication (<a href="https://redirect.github.com/pygithub/pygithub/issues/2987">#2987</a>) (32b826fd)</li> </ul> <p>Improvements ^^^^^^^^^^^^</p> <ul> <li>Add <code>has_discussions</code> to <code>AuthenticatedUser</code> and <code>Repository</code> classes (<a href="https://redirect.github.com/pygithub/pygithub/issues/3020">#3020</a>) (75224167)</li> <li>Update more <code>SecurityAndAnalysis</code> attributes (<a href="https://redirect.github.com/pygithub/pygithub/issues/3025">#3025</a>) (fa168279)</li> <li>Implement support for re-running only failed workflow jobs. (<a href="https://redirect.github.com/pygithub/pygithub/issues/2983">#2983</a>) (23e87563)</li> <li>Add possibility to mark a thread/notification as done (<a href="https://redirect.github.com/pygithub/pygithub/issues/2985">#2985</a>) (5ba24379)</li> <li>Add "pull_request_review_id" to PullRequestComment object (<a href="https://redirect.github.com/pygithub/pygithub/issues/3000">#3000</a>) (6a59cf82)</li> <li>Add minimize and unminimize functions for IssueComment class (<a href="https://redirect.github.com/pygithub/pygithub/issues/3005">#3005</a>) (09c4f58e)</li> <li>Support Organization/Repository custom properties (<a href="https://redirect.github.com/pygithub/pygithub/issues/2968">#2968</a>) (c5e6b702)</li> <li>Add <code>dict</code> type to <code>add_attribute</code> script (<a href="https://redirect.github.com/pygithub/pygithub/issues/2977">#2977</a>) (2a04f9cc)</li> <li>Allow for deleting and restoring branch associated with PR (<a href="https://redirect.github.com/pygithub/pygithub/issues/1784">#1784</a>) (4ba1e412)</li> <li>Add "archived_at" to Organization object. (<a href="https://redirect.github.com/pygithub/pygithub/issues/2974">#2974</a>) (cc766a6f)</li> <li>Adds Security & Analysis To Repository (<a href="https://redirect.github.com/pygithub/pygithub/issues/2960">#2960</a>) (f22af54d)</li> <li>Add added_by and last_used attributes to RepositoryKey (<a href="https://redirect.github.com/pygithub/pygithub/issues/2952">#2952</a>) (5dffa64d)</li> <li>Add <code>make_latest</code> to <code>GitRelease.update_release</code> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2888">#2888</a>) (60136105)</li> <li>Make Commit.files return PaginatedList (<a href="https://redirect.github.com/pygithub/pygithub/issues/2939">#2939</a>) (fa885f00)</li> </ul> <p>Bug Fixes ^^^^^^^^^</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyGithub/PyGithub/commit/85087354078e426125dbbf88041bbaa6f35d8199"><code>8508735</code></a> Release v2.4.0 (<a href="https://redirect.github.com/pygithub/pygithub/issues/3027">#3027</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/75224167542e5d976c687d85c925a3747c3625ac"><code>7522416</code></a> Add <code>has_discussions</code> to <code>AuthenticatedUser</code> and <code>Repository</code> classes (<a href="https://redirect.github.com/pygithub/pygithub/issues/3020">#3020</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/fa1682796173050ba6f606e05c19b1fe914a2d87"><code>fa16827</code></a> Update more <code>SecurityAndAnalysis</code> attributes (<a href="https://redirect.github.com/pygithub/pygithub/issues/3025">#3025</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/23e8756397e9935e6a3307826de29c04cf853e94"><code>23e8756</code></a> Implement support for re-running only failed workflow jobs. (<a href="https://redirect.github.com/pygithub/pygithub/issues/2983">#2983</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/d0e05072cf286012295adbb44bf42018d8e0e0fd"><code>d0e0507</code></a> Complete dropping Python 3.7 (<a href="https://redirect.github.com/pygithub/pygithub/issues/2975">#2975</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/32b826fdfd1169c43441e5168922941077c25113"><code>32b826f</code></a> Allow custom authentication (<a href="https://redirect.github.com/pygithub/pygithub/issues/2987">#2987</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/5ba24379ed47271d24b26f6ebd245c26f1594ec8"><code>5ba2437</code></a> Add possibility to mark a thread/notification as done (<a href="https://redirect.github.com/pygithub/pygithub/issues/2985">#2985</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/61d37dceb49af7c857512bb19d86f1c3928f7791"><code>61d37dc</code></a> CI: Fix test success job (<a href="https://redirect.github.com/pygithub/pygithub/issues/3010">#3010</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/38197d64e63b7a5d0b814b6b892a5cfc5a90159d"><code>38197d6</code></a> Revert "Add has_discussions field to Repository class" (<a href="https://redirect.github.com/pygithub/pygithub/issues/3009">#3009</a>)</li> <li><a href="https://github.com/PyGithub/PyGithub/commit/7213cd05a741bf2c4b5dbddc42d3192f91156865"><code>7213cd0</code></a> Add has_discussions field to Repository class (<a href="https://redirect.github.com/pygithub/pygithub/issues/2995">#2995</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pygithub/pygithub/compare/v2.3.0...v2.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pygithub&package-manager=pip&previous-version=2.3.0&new-version=2.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information