Closed Bug 1847116 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41331 - Bump pygithub from 1.58.2 to 1.59.1 in /tools

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox118 fixed)

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 41331 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/41331
Details from upstream follow.

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:

Bump pygithub from 1.58.2 to 1.59.1 in /tools

Bumps pygithub from 1.58.2 to 1.59.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>v1.59.1</h2>
<h2>Bug Fixes</h2>
<ul>
<li>Safely coerce responseHeaders to int (<a href="https://redirect.github.com/pygithub/pygithub/issues/2697">#2697</a>) (adbfce92)</li>
</ul>
<h2>v1.59.0</h2>
<h2>Important</h2>
<p>This release introduces new way of authentication. All authentication-related arguments <code>github.Github(login_or_token=…, password=…, jwt=…, app_auth=…)</code> and <code>github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)</code> are replaced by a single <code>auth=…</code> argument. Module <code>github.Auth</code> provides classes for all supported ways of authentication: <code>Login</code>, <code>Token</code>, <code>AppAuth</code>, <code>AppAuthToken</code>, <code>AppInstallationAuth</code>, <code>AppUserAuth</code>. Old arguments are deprecated but continue to work. They are scheduled for removal for version 2.0 release.</p>
<p>This project has decided to move all typing information from <code>.pyi</code> files into the respective <code>.py</code> source files. This will happen gradually over time.</p>
<h2>Breaking Changes</h2>
<ul>
<li>The <code>position</code> argument in <code>github.PullRequest.create_review_comment(position=…)</code> has been renamed to <code>line</code>.
This breaks user code that calls <code>create_review_comment</code> with keyword argument <code>position</code>. Call with <code>line=…</code> instead.
Calling this method with positional arguments is not breaking.</li>
<li>The <code>jwt_expiry</code>, <code>jwt_issued_at</code> and <code>jwt_algorithm</code> arguments in <code>github.GithubIntegration()</code> have changed their position.
User code calling <code>github.GithubIntegration(…)</code> with these arguments as positional arguments breaks.
Please use keyword arguments: <code>github.GithubIntegration(…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)</code>.</li>
<li>The <code>since</code> argument in <code>github.PullRequest.get_review_comments(…)</code> has changed position.<code>User code calling</code>github.PullRequest.get_review_comments(…)<code>with this argument as positional argument breaks. Please use keyword argument:</code>github.PullRequest.get_review_comments(since=…)`.</li>
</ul>
<h2>Deprecations</h2>
<ul>
<li>The use of <code>github.Github(login_or_token=…)</code> is deprecated, use <code>github.Github(auth=github.Auth.Login(…))</code> or <code>github.Github(auth=github.Auth.Token(…))</code> instead.</li>
<li>The use of <code>github.Github(password=…)</code> is deprecated, use <code>github.Github(auth=github.Auth.Login(…))</code> instead.</li>
<li>The use of <code>github.Github(jwt=…)</code> is deprecated, use <code>github.Github(auth=github.AppAuth(…))</code> or <code>github.Github(auth=github.AppAuthToken(…))</code> instead.</li>
<li>The use of <code>github.Github(app_auth=…)</code> is deprecated, use <code>github.Github(auth=github.Auth.AppInstallationAuth(…))</code> instead.</li>
<li>The use of <code>github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)</code> is deprecated, use <code>github.GithubIntegration(auth=github.Auth.AppAuth(…))</code> instead.</li>
<li>The use of <code>github.GithubIntegration.create_jwt</code> is deprecated, use <code>github.Github(auth=github.Auth.AppAuth)</code>, <code>github.Auth.AppAuth.token</code> or <code>github.Auth.AppAuth.create_jwt(expiration)</code> instead.</li>
<li>The use of <code>AppAuthentication</code> is deprecated, use <code>github.Auth.AppInstallationAuth</code> instead.</li>
<li>The use of <code>github.Github.get_app()</code> without providing argument <code>slug</code> is deprecated, use <code>github.GithubIntegration(auth=github.Auth.AppAuth(…)).get_app()</code>.</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>Test and fix UTC issue with AppInstallationAuth (<a href="https://redirect.github.com/pygithub/pygithub/issues/2561">#2561</a>) (ff3b80f8)</li>
<li>Make Requester.__createException robust against missing message and body (<a href="https://redirect.github.com/pygithub/pygithub/issues/2159">#2159</a>) (7be3f763)</li>
<li>Fix auth issues with <code>Installation.get_repos</code> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2547">#2547</a>) (64075120)</li>
<li>Fix broken urls in docstrings (<a href="https://redirect.github.com/pygithub/pygithub/issues/2393">#2393</a>) (f82ad61c)</li>
<li>Raise error on unsupported redirects, log supported redirects (<a href="https://redirect.github.com/pygithub/pygithub/issues/2524">#2524</a>) (17cd0b79)</li>
<li>Fix GithubIntegration that uses expiring jwt (<a href="https://redirect.github.com/pygithub/pygithub/issues/2460">#2460</a>) (5011548c)</li>
<li>Add expiration argument back to GithubIntegration.create_jwt (<a href="https://redirect.github.com/pygithub/pygithub/issues/2439">#2439</a>) (822fc05c)</li>
<li>Add crypto extras to pyjwt, which pulls in cryptogaphy package (<a href="https://redirect.github.com/pygithub/pygithub/issues/2443">#2443</a>) (554b2b28)</li>
<li>Remove RLock from Requester (<a href="https://redirect.github.com/pygithub/pygithub/issues/2446">#2446</a>) (45f3d723)</li>
<li>Move CI to Python 3.11 release and 3.12 dev (<a href="https://redirect.github.com/pygithub/pygithub/issues/2434">#2434</a>) (e414c322)</li>
<li>Pass Requester base URL to integration (<a href="https://redirect.github.com/pygithub/pygithub/issues/2420">#2420</a>) (bdceae2f)</li>
</ul>
<h2>Improvements</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/PyGithub/PyGithub/blob/v1.59.1/doc/changes.rst">pygithub's changelog</a>.</em></p>
<blockquote>
<h2>Version 1.59.1 (July 03, 2023)</h2>
<p><strong>Bug Fixes</strong></p>
<ul>
<li>Safely coerce responseHeaders to int (<a href="https://redirect.github.com/pygithub/pygithub/issues/2697">#2697</a>) (adbfce92)</li>
</ul>
<h2>Version 1.59.0 (June 22, 2023)</h2>
<p><strong>Important</strong></p>
<p>This release introduces new way of authentication. All authentication-related arguments <code>github.Github(login_or_token=…, password=…, jwt=…, app_auth=…)</code>
and <code>github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)</code> are replaced by a single <code>auth=…</code> argument.
Module <code>github.Auth</code> provides classes for all supported ways of authentication: <code>Login</code>, <code>Token</code>, <code>AppAuth</code>, <code>AppAuthToken</code>, <code>AppInstallationAuth</code>, <code>AppUserAuth</code>.
Old arguments are deprecated but continue to work. They are scheduled for removal for version 2.0 release.</p>
<p>This project has decided to move all typing information from <code>.pyi</code> files into the respective <code>.py</code> source files.
This will happen gradually over time.</p>
<p><strong>Breaking Changes</strong></p>
<ul>
<li>The <code>position</code> argument in <code>github.PullRequest.create_review_comment(position=…)</code> has been renamed to <code>line</code>.
This breaks user code that calls <code>create_review_comment</code> with keyword argument <code>position</code>. Call with <code>line=…</code> instead.
Calling this method with positional arguments is not breaking.</li>
<li>The <code>jwt_expiry</code>, <code>jwt_issued_at</code> and <code>jwt_algorithm</code> arguments in <code>github.GithubIntegration()</code> have changed their position.
User code calling <code>github.GithubIntegration(…)</code> with these arguments as positional arguments breaks.
Please use keyword arguments: <code>github.GithubIntegration(…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)</code>.</li>
<li>The <code>since</code> argument in <code>github.PullRequest.get_review_comments(…)</code> has changed position.<code>User code calling</code>github.PullRequest.get_review_comments(…)<code>with this argument as positional argument breaks. Please use keyword argument:</code>github.PullRequest.get_review_comments(since=…)``.</li>
</ul>
<p><strong>Deprecations</strong></p>
<ul>
<li>The use of <code>github.Github(login_or_token=…)</code> is deprecated, use <code>github.Github(auth=github.Auth.Login(…))</code> or <code>github.Github(auth=github.Auth.Token(…))</code> instead.</li>
<li>The use of <code>github.Github(password=…)</code> is deprecated, use <code>github.Github(auth=github.Auth.Login(…))</code> instead.</li>
<li>The use of <code>github.Github(jwt=…)</code> is deprecated, use <code>github.Github(auth=github.AppAuth(…))</code> or <code>github.Github(auth=github.AppAuthToken(…))</code> instead.</li>
<li>The use of <code>github.Github(app_auth=…)</code> is deprecated, use <code>github.Github(auth=github.Auth.AppInstallationAuth(…))</code> instead.</li>
<li>The use of <code>github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)</code> is deprecated, use <code>github.GithubIntegration(auth=github.Auth.AppAuth(…))</code> instead.</li>
<li>The use of <code>github.GithubIntegration.create_jwt</code> is deprecated, use <code>github.Github(auth=github.Auth.AppAuth)</code>, <code>github.Auth.AppAuth.token</code> or <code>github.Auth.AppAuth.create_jwt(expiration)</code> instead.</li>
<li>The use of <code>AppAuthentication</code> is deprecated, use <code>github.Auth.AppInstallationAuth</code> instead.</li>
<li>The use of <code>github.Github.get_app()</code> without providing argument <code>slug</code> is deprecated, use <code>github.GithubIntegration(auth=github.Auth.AppAuth(…)).get_app()</code>.</li>
</ul>
<p><strong>Bug Fixes</strong></p>
<ul>
<li>Test and fix UTC issue with AppInstallationAuth (<a href="https://redirect.github.com/pygithub/pygithub/issues/2561">#2561</a>) (ff3b80f8)</li>
<li>Make Requester.__createException robust against missing message and body (<a href="https://redirect.github.com/pygithub/pygithub/issues/2159">#2159</a>) (7be3f763)</li>
<li>Fix auth issues with <code>Installation.get_repos</code> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2547">#2547</a>) (64075120)</li>
<li>Fix broken urls in docstrings (<a href="https://redirect.github.com/pygithub/pygithub/issues/2393">#2393</a>) (f82ad61c)</li>
<li>Raise error on unsupported redirects, log supported redirects (<a href="https://redirect.github.com/pygithub/pygithub/issues/2524">#2524</a>) (17cd0b79)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/PyGithub/PyGithub/commit/8c60234954be68c666417690cfee0463401af7c0"><code>8c60234</code></a> Publish version 1.59.1</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/d64a47a3628b47f859fd83ec15deb29cdb67ea98"><code>d64a47a</code></a> Run CI un release branches</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/a02d0caf8c7256fe7aa3ce34f5450ec9a301905f"><code>a02d0ca</code></a> Fix lint for previous commit</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/adbfce923a83c14cb7fdc9530cf8b473cb3e3e25"><code>adbfce9</code></a> Safely coerce responseHeaders to int (<a href="https://redirect.github.com/pygithub/pygithub/issues/2697">#2697</a>)</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/14ae2cad4ceeefe9a0f70916af03f0a2017ca213"><code>14ae2ca</code></a> Release 1.59.0 (<a href="https://redirect.github.com/pygithub/pygithub/issues/2563">#2563</a>)</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/ff3b80f8f190fa11e66afd4c393a94fed8bbb83c"><code>ff3b80f</code></a> Test and fix UTC issue with AppInstallationAuth (<a href="https://redirect.github.com/pygithub/pygithub/issues/2561">#2561</a>)</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/d514222cb138491f646dacb607d1998592279ed8"><code>d514222</code></a> Add type stub for MainClass.get_project_column (<a href="https://redirect.github.com/pygithub/pygithub/issues/2502">#2502</a>)</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/ea45237d3bd7bc3c6a28b3bc2ad466b5c552a8c0"><code>ea45237</code></a> Sync GithubIntegration <strong>init</strong> arguments with github.Github (<a href="https://redirect.github.com/pygithub/pygithub/issues/2556">#2556</a>)</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/f4e9dcb3411d2aa4d9ad042a80f3466601431e7b"><code>f4e9dcb</code></a> Update MAINTAINERS (<a href="https://redirect.github.com/pygithub/pygithub/issues/2545">#2545</a>)</li>
<li><a href="https://github.com/PyGithub/PyGithub/commit/006766f9856224eccd37485b90e56e8deb87a37a"><code>006766f</code></a> Link to stable docs, update introduction in package used by pypi, move auth a...</li>
<li>Additional commits viewable in <a href="https://github.com/pygithub/pygithub/compare/v1.58.2...v1.59.1">compare view</a></li>
</ul>
</details>
<br />

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.


<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 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>

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Test result changes from PR not available.
Pushed by ctuns@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/25f2a8a0e2c8 [wpt PR 41331] - Bump pygithub from 1.58.2 to 1.59.1 in /tools, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.