Skip to content

chore(deps): bump pygithub from 2.8.1 to 2.9.1 - #24299

Merged
Jefffrey merged 1 commit into
mainfrom
dependabot/uv/pygithub-2.9.1
Aug 14, 2026
Merged

Jefffrey merged 1 commit into
mainfrom
dependabot/uv/pygithub-2.9.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 12, 2026

Copy link
Copy Markdown
Contributor

Bumps pygithub from 2.8.1 to 2.9.1.

Release notes

Sourced from pygithub's releases.

v2.9.1

Bug Fixes

Full Changelog: PyGithub/PyGithub@v2.9.0...v2.9.1

v2.9.0

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:

# Use lazy mode
g = Github(auth=auth, lazy=True)
these method calls do not send requests to the GitHub API
user = g.get_user("PyGithub")    # get the user
repo = user.get_repo("PyGithub") # get the user's repo
pull = repo.get_pull(3403)       # get a known pull request
issue = pull.as_issue()          # turn the pull request into an issue
these method and property calls send requests to Github API
issue.create_reaction("rocket")  # create a reaction
created = repo.created_at        # get property of lazy object repo
once a lazy object has been fetched, all properties are available (no more requests)
licence = repo.license

All PyGithub classes that implement CompletableGithubObject support 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_page is usually 300, in contrast to the "usual" per_page maximum of 100).

Objects with paginated properties:

  • Commit.files
  • Comparison.commits
  • EnterpriseConsumedLicenses.users

This PR makes iterating those paginated properties use the configured per_page setting.

... (truncated)

Changelog

Sourced from pygithub's changelog.

Version 2.9.1 (April 14, 2026)

Bug Fixes ^^^^^^^^^

  • Fix getting release by tag in lazy mode ([#3469](https://github.com/pygithub/pygithub/issues/3469) <https://github.com/PyGithub/PyGithub/pull/3469>) (7d1ba281e <https://github.com/PyGithub/PyGithub/commit/7d1ba281e>)

Version 2.9.0 (March 22, 2026)

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 CompletableGithubObject\s optionally lazy (if useful). See [#3403](https://github.com/pygithub/pygithub/issues/3403) <https://github.com/PyGithub/PyGithub/pull/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:

.. code-block:: python

# Use lazy mode
g = Github(auth=auth, lazy=True)

these method calls do not send requests to the GitHub API

user = g.get_user("PyGithub") # get the user repo = user.get_repo("PyGithub") # get the user's repo pull = repo.get_pull(3403) # get a known pull request issue = pull.as_issue() # turn the pull request into an issue

these method and property calls send requests to Github API

issue.create_reaction("rocket") # create a reaction created = repo.created_at # get property of lazy object repo

once a lazy object has been fetched, all properties are available (no more requests)

licence = repo.license

All PyGithub classes that implement CompletableGithubObject support 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.

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @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)

@Jefffrey
Jefffrey added this pull request to the merge queue Aug 14, 2026
Merged via the queue into main with commit ede32c1 Aug 14, 2026
37 checks passed
@Jefffrey
Jefffrey deleted the dependabot/uv/pygithub-2.9.1 branch August 14, 2026 06:04
imtherealnaska pushed a commit to imtherealnaska/datafusion that referenced this pull request Aug 16, 2026
Bumps [pygithub](https://github.com/pygithub/pygithub) from 2.8.1 to
2.9.1.
<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.9.1</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix getting release by tag in lazy mode by <a
href="https://github.com/EnricoMi"><code>@​EnricoMi</code></a> in <a
href="https://redirect.github.com/PyGithub/PyGithub/pull/3469">PyGithub/PyGithub#3469</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/PyGithub/PyGithub/compare/v2.9.0...v2.9.1">https://github.com/PyGithub/PyGithub/compare/v2.9.0...v2.9.1</a></p>
<h2>v2.9.0</h2>
<h3>Notable changes</h3>
<h4>Lazy PyGithub objects</h4>
<p>The notion of lazy objects has been added to some PyGithub classes in
version 2.6.0. This release now makes all
<code>CompletableGithubObject</code>s optionally lazy (if useful). See
<a
href="https://redirect.github.com/PyGithub/PyGithub/pull/3403">PyGithub/PyGithub#3403</a>
for a complete list.</p>
<p>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:</p>
<pre lang="python"><code># Use lazy mode
g = Github(auth=auth, lazy=True)
<h1>these method calls do not send requests to the GitHub API</h1>
<p>user = g.get_user(&quot;PyGithub&quot;)    # get the user
repo = user.get_repo(&quot;PyGithub&quot;) # get the user's repo
pull = repo.get_pull(3403)       # get a known pull request
issue = pull.as_issue() # turn the pull request into an issue</p>
<h1>these method and property calls send requests to Github API</h1>
<p>issue.create_reaction(&quot;rocket&quot;)  # create a reaction
created = repo.created_at        # get property of lazy object repo</p>
<h1>once a lazy object has been fetched, all properties are available
(no more requests)</h1>
<p>licence = repo.license
</code></pre></p>
<p>All PyGithub classes that implement
<code>CompletableGithubObject</code> support lazy mode (if useful). This
is only useful for classes that have methods creating, changing, or
getting objects.</p>
<p>By default, PyGithub objects are not lazy.</p>
<h4>PyGithub objects with a paginated property</h4>
<p>The GitHub API has the &quot;feature&quot; 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 (<code>per_page</code> is usually 300, in contrast to
the &quot;usual&quot; <code>per_page</code> maximum of 100).</p>
<p>Objects with paginated properties:</p>
<ul>
<li>Commit.files</li>
<li>Comparison.commits</li>
<li>EnterpriseConsumedLicenses.users</li>
</ul>
<p>This PR makes iterating those paginated properties use the configured
<code>per_page</code> setting.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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.9.1 (April 14, 2026)</h2>
<p>Bug Fixes
^^^^^^^^^</p>
<ul>
<li>Fix getting release by tag in lazy mode
(<code>[apache#3469](PyGithub/PyGithub#3469)
&lt;https://github.com/PyGithub/PyGithub/pull/3469&gt;</code><em>)
(<code>7d1ba281e
&lt;https://github.com/PyGithub/PyGithub/commit/7d1ba281e&gt;</code></em>)</li>
</ul>
<h2>Version 2.9.0 (March 22, 2026)</h2>
<p>Notable changes
^^^^^^^^^^^^^^^</p>
<p>Lazy PyGithub objects

&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</p>
<p>The notion of lazy objects has been added to some PyGithub classes in
version 2.6.0.
This release now makes all <code>CompletableGithubObject</code>\s
optionally lazy (if useful).
See <code>[apache#3403](PyGithub/PyGithub#3403)
&lt;https://github.com/PyGithub/PyGithub/pull/3403&gt;</code>_ for a
complete list.</p>
<p>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:</p>
<p>.. code-block:: python</p>
<pre><code># Use lazy mode
g = Github(auth=auth, lazy=True)
<h1>these method calls do not send requests to the GitHub API</h1>
<p>user = g.get_user(&quot;PyGithub&quot;)    # get the user
repo = user.get_repo(&quot;PyGithub&quot;) # get the user's repo
pull = repo.get_pull(3403)       # get a known pull request
issue = pull.as_issue() # turn the pull request into an issue</p>
<h1>these method and property calls send requests to Github API</h1>
<p>issue.create_reaction(&quot;rocket&quot;)  # create a reaction
created = repo.created_at        # get property of lazy object repo</p>
<h1>once a lazy object has been fetched, all properties are available
(no more requests)</h1>
<p>licence = repo.license
</code></pre></p>
<p>All PyGithub classes that implement
<code>CompletableGithubObject</code> support lazy mode (if useful).
This is only useful for classes that have methods creating, changing, or
getting objects.</p>
<p>By default, PyGithub objects are not lazy.</p>
<p>PyGithub objects with a paginated property

&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</p>
<p>The GitHub API has the &quot;feature&quot; of paginated
properties.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/73742d410da73e44a477b0e3f05dfba1749022af"><code>73742d4</code></a>
Release 2.9.1 (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3478">#3478</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/7d1ba281e4bf02cb6d3772f11b17c7d6088052d8"><code>7d1ba28</code></a>
Fix getting release by tag in lazy mode (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3469">#3469</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/3a17ecf4a5a4dc873f2632470a712497b38eea88"><code>3a17ecf</code></a>
Release 2.9.0 (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3465">#3465</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/b1a9b7e2a37b515b141e01091b7c964ff883fe1e"><code>b1a9b7e</code></a>
Consider per-page settings when iterating paginated properties (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3377">#3377</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/24305f6d60869a849dadd0d271b4753ceac3658d"><code>24305f6</code></a>
Update test key pair (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3453">#3453</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/f2540db50423aa124beaeb8c7bfba7098a549c82"><code>f2540db</code></a>
Deprecate <code>Reaction.delete</code> (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3435">#3435</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/19e1c5032397a95c58fe25760723ffc24cbe0ec8"><code>19e1c50</code></a>
Add <code>throw</code> option to <code>Workflow.create_dispatch</code>
to raise exceptions (<a
href="https://redirect.github.com/pygithub/pygithub/issues/2966">#2966</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/646190988f3dd18e790969868b9ffe3c71acf254"><code>6461909</code></a>
Add Secret Scanning Alerts and Improve Code Scan Alerts (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3307">#3307</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/95648db4780e977b5bad8c19f669ec3f8c2b1a49"><code>95648db</code></a>
Add Python 3.14 to CI and tox (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3429">#3429</a>)</li>
<li><a
href="https://github.com/PyGithub/PyGithub/commit/3716bab10b7a99445ef50d698d6b2d681620ac88"><code>3716bab</code></a>
Use <code>GET</code> url or <code>_links.self</code> as object url (<a
href="https://redirect.github.com/pygithub/pygithub/issues/3421">#3421</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pygithub/pygithub/compare/v2.8.1...v2.9.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pygithub&package-manager=uv&previous-version=2.8.1&new-version=2.9.1)](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 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants