-
-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix test_utils.py not to xfail #987
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auvipy
requested changes
Sep 15, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the patch. can you please check the test failures?
for more information, see https://pre-commit.ci
pachewise
force-pushed
the
fix/test_utils
branch
from
September 23, 2024 13:25
a44fc0a
to
ee73f3a
Compare
jpadilla
approved these changes
Sep 28, 2024
auvipy
approved these changes
Sep 28, 2024
github-actions bot
pushed a commit
to bo4e/BO4E-CLI
that referenced
this pull request
Nov 18, 2024
Bumps [pyjwt[crypto]](https://github.com/jpadilla/pyjwt) from 2.9.0 to 2.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/releases">pyjwt[crypto]'s releases</a>.</em></p> <blockquote> <h2>2.10.0</h2> <h2>What's Changed</h2> <ul> <li>chore: use sequence for typing rather than list by <a href="https://github.com/imnotjames"><code>@imnotjames</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/970">jpadilla/pyjwt#970</a></li> <li>Add support for Python 3.13 by <a href="https://github.com/hugovk"><code>@hugovk</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/972">jpadilla/pyjwt#972</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/971">jpadilla/pyjwt#971</a></li> <li>Add an RTD config file to resolve RTD build failures by <a href="https://github.com/kurtmckee"><code>@kurtmckee</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/977">jpadilla/pyjwt#977</a></li> <li>docs: Update <code>iat</code> exception docs by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/974">jpadilla/pyjwt#974</a></li> <li>Remove algorithm requirement for JWT API by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/975">jpadilla/pyjwt#975</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/978">jpadilla/pyjwt#978</a></li> <li>Create SECURITY.md by <a href="https://github.com/auvipy"><code>@auvipy</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/973">jpadilla/pyjwt#973</a></li> <li>docs fix: decode_complete scope and algorithms by <a href="https://github.com/RbnRncn"><code>@RbnRncn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/982">jpadilla/pyjwt#982</a></li> <li>fix doctest for docs/usage.rst by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/986">jpadilla/pyjwt#986</a></li> <li>fix test_utils.py not to xfail by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/987">jpadilla/pyjwt#987</a></li> <li>Correct jwt.decode audience param doc expression by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/994">jpadilla/pyjwt#994</a></li> <li>Add PS256 encoding and decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/992">jpadilla/pyjwt#992</a></li> <li>Add API docs for PyJWK by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/980">jpadilla/pyjwt#980</a></li> <li>Refactor project configuration files from setup.cfg to pyproject.toml PEP-518 by <a href="https://github.com/cleder"><code>@cleder</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/995">jpadilla/pyjwt#995</a></li> <li>Add JWK support to JWT encode by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/979">jpadilla/pyjwt#979</a></li> <li>Update pre-commit hooks to lint pyproject.toml by <a href="https://github.com/cleder"><code>@cleder</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1002">jpadilla/pyjwt#1002</a></li> <li>Add EdDSA algorithm encoding/decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/993">jpadilla/pyjwt#993</a></li> <li>Ruff linter and formatter changes by <a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1001">jpadilla/pyjwt#1001</a></li> <li>Validate <code>sub</code> and <code>jti</code> claims for the token by <a href="https://github.com/Divan009"><code>@Divan009</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1005">jpadilla/pyjwt#1005</a></li> <li>Add ES256 usage by <a href="https://github.com/Gautam-Hegde"><code>@Gautam-Hegde</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1003">jpadilla/pyjwt#1003</a></li> <li>Encode EC keys with a fixed bit length by <a href="https://github.com/way-dave"><code>@way-dave</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/990">jpadilla/pyjwt#990</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1000">jpadilla/pyjwt#1000</a></li> <li>Drop support for Python 3.8 by <a href="https://github.com/kkirsche"><code>@kkirsche</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1007">jpadilla/pyjwt#1007</a></li> <li>Prepare 2.10.0 release by <a href="https://github.com/benvdh"><code>@benvdh</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1011">jpadilla/pyjwt#1011</a></li> <li>Bump codecov/codecov-action from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1014">jpadilla/pyjwt#1014</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1006">jpadilla/pyjwt#1006</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/imnotjames"><code>@imnotjames</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/970">jpadilla/pyjwt#970</a></li> <li><a href="https://github.com/kurtmckee"><code>@kurtmckee</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/977">jpadilla/pyjwt#977</a></li> <li><a href="https://github.com/pachewise"><code>@pachewise</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/974">jpadilla/pyjwt#974</a></li> <li><a href="https://github.com/RbnRncn"><code>@RbnRncn</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/982">jpadilla/pyjwt#982</a></li> <li><a href="https://github.com/peter279k"><code>@peter279k</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/994">jpadilla/pyjwt#994</a></li> <li><a href="https://github.com/cleder"><code>@cleder</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/995">jpadilla/pyjwt#995</a></li> <li><a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1001">jpadilla/pyjwt#1001</a></li> <li><a href="https://github.com/Divan009"><code>@Divan009</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1005">jpadilla/pyjwt#1005</a></li> <li><a href="https://github.com/Gautam-Hegde"><code>@Gautam-Hegde</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1003">jpadilla/pyjwt#1003</a></li> <li><a href="https://github.com/way-dave"><code>@way-dave</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/990">jpadilla/pyjwt#990</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0">https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt[crypto]'s changelog</a>.</em></p> <blockquote> <h2><code>v2.10.0 <https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0></code>__</h2> <p>Changed</p> <pre><code> - Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by @luhn in `[#975](jpadilla/pyjwt#975) <https://github.com/jpadilla/pyjwt/pull/975>`__ - Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `[#970](jpadilla/pyjwt#970) <https://github.com/jpadilla/pyjwt/pull/970>`__ - Add JWK support to JWT encode by @luhn in `[#979](jpadilla/pyjwt#979) <https://github.com/jpadilla/pyjwt/pull/979>`__ - Encoding and decoding payloads using the `none` algorithm by @jpadilla in `#c2629f6 <https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16>` <p>Before:</p> <p>.. code-block:: pycon</p> <p>>>> import jwt >>> jwt.encode({"payload": "abc"}, key=None, algorithm=None)</p> <p>After:</p> <p>.. code-block:: pycon</p> <p>>>> import jwt >>> jwt.encode({"payload": "abc"}, key=None, algorithm="none")</p> <ul> <li>Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens by <a href="https://github.com/Divan009"><code>@Divan009</code></a> in <code>[#1005](jpadilla/pyjwt#1005) &lt;https://github.com/jpadilla/pyjwt/pull/1005&gt;</code>__</li> <li>Refactor project configuration files from <code>setup.cfg</code> to <code>pyproject.toml</code> by <a href="https://github.com/cleder"><code>@cleder</code></a> in <code>[#995](jpadilla/pyjwt#995) &lt;https://github.com/jpadilla/pyjwt/pull/995&gt;</code>__</li> <li>Ruff linter and formatter changes by <a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> in <code>[#1001](jpadilla/pyjwt#1001) &lt;https://github.com/jpadilla/pyjwt/pull/1001&gt;</code>__</li> <li>Drop support for Python 3.8 (EOL) by <a href="https://github.com/kkirsche"><code>@kkirsche</code></a> in <code>[#1007](jpadilla/pyjwt#1007) &lt;https://github.com/jpadilla/pyjwt/pull/1007&gt;</code>__</li> </ul> <p>Fixed</p> <pre><code> - Encode EC keys with a fixed bit length by @etianen in `[#990](jpadilla/pyjwt#990) &lt;https://github.com/jpadilla/pyjwt/pull/990&gt;`__ - Add an RTD config file to resolve Read the Docs build failures by @kurtmckee in `[#977](jpadilla/pyjwt#977) &lt;https://github.com/jpadilla/pyjwt/pull/977&gt;`__ - Docs: Update ``iat`` exception docs by @pachewise in `[#974](jpadilla/pyjwt#974) &lt;https://github.com/jpadilla/pyjwt/pull/974&gt;`__ - Docs: Fix ``decode_complete`` scope and algorithms by @RbnRncn in `[#982](jpadilla/pyjwt#982) &lt;https://github.com/jpadilla/pyjwt/pull/982&gt;`__ - Fix doctest for ``docs/usage.rst`` by @pachewise in `[#986](jpadilla/pyjwt#986) &lt;https://github.com/jpadilla/pyjwt/pull/986&gt;`__ - Fix ``test_utils.py`` not to xfail by @pachewise in `[#987](jpadilla/pyjwt#987) &lt;https://github.com/jpadilla/pyjwt/pull/987&gt;`__ - Docs: Correct `jwt.decode` audience param doc expression by @peter279k in `[#994](jpadilla/pyjwt#994) &lt;https://github.com/jpadilla/pyjwt/pull/994&gt;`__ Added </code></pre> <ul> <li>Add support for python 3.13 by <a href="https://github.com/hugovk"><code>@hugovk</code></a> in <code>[#972](jpadilla/pyjwt#972) &lt;https://github.com/jpadilla/pyjwt/pull/972&gt;</code>__</li> <li>Create SECURITY.md by <a href="https://github.com/auvipy"><code>@auvipy</code></a> and <a href="https://github.com/jpadilla"><code>@jpadilla</code></a> in <code>[#973](jpadilla/pyjwt#973) &lt;https://github.com/jpadilla/pyjwt/pull/973&gt;</code>__</li> <li>Docs: Add PS256 encoding and decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <code>[#992](jpadilla/pyjwt#992) &lt;https://github.com/jpadilla/pyjwt/pull/992&gt;</code>__ </tr></table> </code></pre></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jpadilla/pyjwt/commit/783f324e5d2155462515ced45718fc164dd04db2"><code>783f324</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1006">#1006</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/0116fc6cb2b5088b02efa4506ecb6dcea42d72b3"><code>0116fc6</code></a> Bump codecov/codecov-action from 4 to 5 (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1014">#1014</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/b032353bd93fee330cb79a351cc4d03affee19f5"><code>b032353</code></a> feat: surface <code>jwt.decode_complete(...)</code></li> <li><a href="https://github.com/jpadilla/pyjwt/commit/a759c455cde3e9ff99afe25e9fc56278af666ff3"><code>a759c45</code></a> Prepare 2.10.0 release (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1011">#1011</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/b6b8bce07717b0b4bb7816b99c33ab9e6907059a"><code>b6b8bce</code></a> Drop support for Python 3.8 (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1007">#1007</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/189c2561c47030d2e34aea040cf135ae4997a2d8"><code>189c256</code></a> Update index.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/19008577fbda9cbce879defa2c7cd6387f8ca66f"><code>1900857</code></a> Update index.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/8fe9eab822cf7d9ea1e424379d64e29abfe33f34"><code>8fe9eab</code></a> Update README.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/6f73f6f75c6fa9b35302d7d71b8015fcfc5d5802"><code>6f73f6f</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1000">#1000</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16"><code>c2629f6</code></a> update changelog</li> <li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt[crypto]&package-manager=pip&previous-version=2.9.0&new-version=2.10.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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eps-autoapprove-dependabot bot
pushed a commit
to NHSDigital/eps-prescription-status-update-api
that referenced
this pull request
Nov 18, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.9.0 to 2.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/releases">pyjwt's releases</a>.</em></p> <blockquote> <h2>2.10.0</h2> <h2>What's Changed</h2> <ul> <li>chore: use sequence for typing rather than list by <a href="https://github.com/imnotjames"><code>@imnotjames</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/970">jpadilla/pyjwt#970</a></li> <li>Add support for Python 3.13 by <a href="https://github.com/hugovk"><code>@hugovk</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/972">jpadilla/pyjwt#972</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/971">jpadilla/pyjwt#971</a></li> <li>Add an RTD config file to resolve RTD build failures by <a href="https://github.com/kurtmckee"><code>@kurtmckee</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/977">jpadilla/pyjwt#977</a></li> <li>docs: Update <code>iat</code> exception docs by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/974">jpadilla/pyjwt#974</a></li> <li>Remove algorithm requirement for JWT API by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/975">jpadilla/pyjwt#975</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/978">jpadilla/pyjwt#978</a></li> <li>Create SECURITY.md by <a href="https://github.com/auvipy"><code>@auvipy</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/973">jpadilla/pyjwt#973</a></li> <li>docs fix: decode_complete scope and algorithms by <a href="https://github.com/RbnRncn"><code>@RbnRncn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/982">jpadilla/pyjwt#982</a></li> <li>fix doctest for docs/usage.rst by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/986">jpadilla/pyjwt#986</a></li> <li>fix test_utils.py not to xfail by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/987">jpadilla/pyjwt#987</a></li> <li>Correct jwt.decode audience param doc expression by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/994">jpadilla/pyjwt#994</a></li> <li>Add PS256 encoding and decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/992">jpadilla/pyjwt#992</a></li> <li>Add API docs for PyJWK by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/980">jpadilla/pyjwt#980</a></li> <li>Refactor project configuration files from setup.cfg to pyproject.toml PEP-518 by <a href="https://github.com/cleder"><code>@cleder</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/995">jpadilla/pyjwt#995</a></li> <li>Add JWK support to JWT encode by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/979">jpadilla/pyjwt#979</a></li> <li>Update pre-commit hooks to lint pyproject.toml by <a href="https://github.com/cleder"><code>@cleder</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1002">jpadilla/pyjwt#1002</a></li> <li>Add EdDSA algorithm encoding/decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/993">jpadilla/pyjwt#993</a></li> <li>Ruff linter and formatter changes by <a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1001">jpadilla/pyjwt#1001</a></li> <li>Validate <code>sub</code> and <code>jti</code> claims for the token by <a href="https://github.com/Divan009"><code>@Divan009</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1005">jpadilla/pyjwt#1005</a></li> <li>Add ES256 usage by <a href="https://github.com/Gautam-Hegde"><code>@Gautam-Hegde</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1003">jpadilla/pyjwt#1003</a></li> <li>Encode EC keys with a fixed bit length by <a href="https://github.com/way-dave"><code>@way-dave</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/990">jpadilla/pyjwt#990</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1000">jpadilla/pyjwt#1000</a></li> <li>Drop support for Python 3.8 by <a href="https://github.com/kkirsche"><code>@kkirsche</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1007">jpadilla/pyjwt#1007</a></li> <li>Prepare 2.10.0 release by <a href="https://github.com/benvdh"><code>@benvdh</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1011">jpadilla/pyjwt#1011</a></li> <li>Bump codecov/codecov-action from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1014">jpadilla/pyjwt#1014</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1006">jpadilla/pyjwt#1006</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/imnotjames"><code>@imnotjames</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/970">jpadilla/pyjwt#970</a></li> <li><a href="https://github.com/kurtmckee"><code>@kurtmckee</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/977">jpadilla/pyjwt#977</a></li> <li><a href="https://github.com/pachewise"><code>@pachewise</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/974">jpadilla/pyjwt#974</a></li> <li><a href="https://github.com/RbnRncn"><code>@RbnRncn</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/982">jpadilla/pyjwt#982</a></li> <li><a href="https://github.com/peter279k"><code>@peter279k</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/994">jpadilla/pyjwt#994</a></li> <li><a href="https://github.com/cleder"><code>@cleder</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/995">jpadilla/pyjwt#995</a></li> <li><a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1001">jpadilla/pyjwt#1001</a></li> <li><a href="https://github.com/Divan009"><code>@Divan009</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1005">jpadilla/pyjwt#1005</a></li> <li><a href="https://github.com/Gautam-Hegde"><code>@Gautam-Hegde</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1003">jpadilla/pyjwt#1003</a></li> <li><a href="https://github.com/way-dave"><code>@way-dave</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/990">jpadilla/pyjwt#990</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0">https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's changelog</a>.</em></p> <blockquote> <h2><code>v2.10.0 <https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0></code>__</h2> <p>Changed</p> <pre><code> - Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by @luhn in `[#975](jpadilla/pyjwt#975) <https://github.com/jpadilla/pyjwt/pull/975>`__ - Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `[#970](jpadilla/pyjwt#970) <https://github.com/jpadilla/pyjwt/pull/970>`__ - Add JWK support to JWT encode by @luhn in `[#979](jpadilla/pyjwt#979) <https://github.com/jpadilla/pyjwt/pull/979>`__ - Encoding and decoding payloads using the `none` algorithm by @jpadilla in `#c2629f6 <https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16>` <p>Before:</p> <p>.. code-block:: pycon</p> <p>>>> import jwt >>> jwt.encode({"payload": "abc"}, key=None, algorithm=None)</p> <p>After:</p> <p>.. code-block:: pycon</p> <p>>>> import jwt >>> jwt.encode({"payload": "abc"}, key=None, algorithm="none")</p> <ul> <li>Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens by <a href="https://github.com/Divan009"><code>@Divan009</code></a> in <code>[#1005](jpadilla/pyjwt#1005) &lt;https://github.com/jpadilla/pyjwt/pull/1005&gt;</code>__</li> <li>Refactor project configuration files from <code>setup.cfg</code> to <code>pyproject.toml</code> by <a href="https://github.com/cleder"><code>@cleder</code></a> in <code>[#995](jpadilla/pyjwt#995) &lt;https://github.com/jpadilla/pyjwt/pull/995&gt;</code>__</li> <li>Ruff linter and formatter changes by <a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> in <code>[#1001](jpadilla/pyjwt#1001) &lt;https://github.com/jpadilla/pyjwt/pull/1001&gt;</code>__</li> <li>Drop support for Python 3.8 (EOL) by <a href="https://github.com/kkirsche"><code>@kkirsche</code></a> in <code>[#1007](jpadilla/pyjwt#1007) &lt;https://github.com/jpadilla/pyjwt/pull/1007&gt;</code>__</li> </ul> <p>Fixed</p> <pre><code> - Encode EC keys with a fixed bit length by @etianen in `[#990](jpadilla/pyjwt#990) &lt;https://github.com/jpadilla/pyjwt/pull/990&gt;`__ - Add an RTD config file to resolve Read the Docs build failures by @kurtmckee in `[#977](jpadilla/pyjwt#977) &lt;https://github.com/jpadilla/pyjwt/pull/977&gt;`__ - Docs: Update ``iat`` exception docs by @pachewise in `[#974](jpadilla/pyjwt#974) &lt;https://github.com/jpadilla/pyjwt/pull/974&gt;`__ - Docs: Fix ``decode_complete`` scope and algorithms by @RbnRncn in `[#982](jpadilla/pyjwt#982) &lt;https://github.com/jpadilla/pyjwt/pull/982&gt;`__ - Fix doctest for ``docs/usage.rst`` by @pachewise in `[#986](jpadilla/pyjwt#986) &lt;https://github.com/jpadilla/pyjwt/pull/986&gt;`__ - Fix ``test_utils.py`` not to xfail by @pachewise in `[#987](jpadilla/pyjwt#987) &lt;https://github.com/jpadilla/pyjwt/pull/987&gt;`__ - Docs: Correct `jwt.decode` audience param doc expression by @peter279k in `[#994](jpadilla/pyjwt#994) &lt;https://github.com/jpadilla/pyjwt/pull/994&gt;`__ Added </code></pre> <ul> <li>Add support for python 3.13 by <a href="https://github.com/hugovk"><code>@hugovk</code></a> in <code>[#972](jpadilla/pyjwt#972) &lt;https://github.com/jpadilla/pyjwt/pull/972&gt;</code>__</li> <li>Create SECURITY.md by <a href="https://github.com/auvipy"><code>@auvipy</code></a> and <a href="https://github.com/jpadilla"><code>@jpadilla</code></a> in <code>[#973](jpadilla/pyjwt#973) &lt;https://github.com/jpadilla/pyjwt/pull/973&gt;</code>__</li> <li>Docs: Add PS256 encoding and decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <code>[#992](jpadilla/pyjwt#992) &lt;https://github.com/jpadilla/pyjwt/pull/992&gt;</code>__ </tr></table> </code></pre></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jpadilla/pyjwt/commit/783f324e5d2155462515ced45718fc164dd04db2"><code>783f324</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1006">#1006</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/0116fc6cb2b5088b02efa4506ecb6dcea42d72b3"><code>0116fc6</code></a> Bump codecov/codecov-action from 4 to 5 (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1014">#1014</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/b032353bd93fee330cb79a351cc4d03affee19f5"><code>b032353</code></a> feat: surface <code>jwt.decode_complete(...)</code></li> <li><a href="https://github.com/jpadilla/pyjwt/commit/a759c455cde3e9ff99afe25e9fc56278af666ff3"><code>a759c45</code></a> Prepare 2.10.0 release (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1011">#1011</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/b6b8bce07717b0b4bb7816b99c33ab9e6907059a"><code>b6b8bce</code></a> Drop support for Python 3.8 (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1007">#1007</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/189c2561c47030d2e34aea040cf135ae4997a2d8"><code>189c256</code></a> Update index.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/19008577fbda9cbce879defa2c7cd6387f8ca66f"><code>1900857</code></a> Update index.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/8fe9eab822cf7d9ea1e424379d64e29abfe33f34"><code>8fe9eab</code></a> Update README.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/6f73f6f75c6fa9b35302d7d71b8015fcfc5d5802"><code>6f73f6f</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1000">#1000</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16"><code>c2629f6</code></a> update changelog</li> <li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.9.0&new-version=2.10.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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
inmantaci
pushed a commit
to inmanta/inmanta-core
that referenced
this pull request
Nov 20, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.9.0 to 2.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/releases">pyjwt's releases</a>.</em></p> <blockquote> <h2>2.10.0</h2> <h2>What's Changed</h2> <ul> <li>chore: use sequence for typing rather than list by <a href="https://github.com/imnotjames"><code>@imnotjames</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/970">jpadilla/pyjwt#970</a></li> <li>Add support for Python 3.13 by <a href="https://github.com/hugovk"><code>@hugovk</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/972">jpadilla/pyjwt#972</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/971">jpadilla/pyjwt#971</a></li> <li>Add an RTD config file to resolve RTD build failures by <a href="https://github.com/kurtmckee"><code>@kurtmckee</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/977">jpadilla/pyjwt#977</a></li> <li>docs: Update <code>iat</code> exception docs by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/974">jpadilla/pyjwt#974</a></li> <li>Remove algorithm requirement for JWT API by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/975">jpadilla/pyjwt#975</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/978">jpadilla/pyjwt#978</a></li> <li>Create SECURITY.md by <a href="https://github.com/auvipy"><code>@auvipy</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/973">jpadilla/pyjwt#973</a></li> <li>docs fix: decode_complete scope and algorithms by <a href="https://github.com/RbnRncn"><code>@RbnRncn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/982">jpadilla/pyjwt#982</a></li> <li>fix doctest for docs/usage.rst by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/986">jpadilla/pyjwt#986</a></li> <li>fix test_utils.py not to xfail by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/987">jpadilla/pyjwt#987</a></li> <li>Correct jwt.decode audience param doc expression by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/994">jpadilla/pyjwt#994</a></li> <li>Add PS256 encoding and decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/992">jpadilla/pyjwt#992</a></li> <li>Add API docs for PyJWK by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/980">jpadilla/pyjwt#980</a></li> <li>Refactor project configuration files from setup.cfg to pyproject.toml PEP-518 by <a href="https://github.com/cleder"><code>@cleder</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/995">jpadilla/pyjwt#995</a></li> <li>Add JWK support to JWT encode by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/979">jpadilla/pyjwt#979</a></li> <li>Update pre-commit hooks to lint pyproject.toml by <a href="https://github.com/cleder"><code>@cleder</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1002">jpadilla/pyjwt#1002</a></li> <li>Add EdDSA algorithm encoding/decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/993">jpadilla/pyjwt#993</a></li> <li>Ruff linter and formatter changes by <a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1001">jpadilla/pyjwt#1001</a></li> <li>Validate <code>sub</code> and <code>jti</code> claims for the token by <a href="https://github.com/Divan009"><code>@Divan009</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1005">jpadilla/pyjwt#1005</a></li> <li>Add ES256 usage by <a href="https://github.com/Gautam-Hegde"><code>@Gautam-Hegde</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1003">jpadilla/pyjwt#1003</a></li> <li>Encode EC keys with a fixed bit length by <a href="https://github.com/way-dave"><code>@way-dave</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/990">jpadilla/pyjwt#990</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1000">jpadilla/pyjwt#1000</a></li> <li>Drop support for Python 3.8 by <a href="https://github.com/kkirsche"><code>@kkirsche</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1007">jpadilla/pyjwt#1007</a></li> <li>Prepare 2.10.0 release by <a href="https://github.com/benvdh"><code>@benvdh</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1011">jpadilla/pyjwt#1011</a></li> <li>Bump codecov/codecov-action from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1014">jpadilla/pyjwt#1014</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1006">jpadilla/pyjwt#1006</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/imnotjames"><code>@imnotjames</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/970">jpadilla/pyjwt#970</a></li> <li><a href="https://github.com/kurtmckee"><code>@kurtmckee</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/977">jpadilla/pyjwt#977</a></li> <li><a href="https://github.com/pachewise"><code>@pachewise</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/974">jpadilla/pyjwt#974</a></li> <li><a href="https://github.com/RbnRncn"><code>@RbnRncn</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/982">jpadilla/pyjwt#982</a></li> <li><a href="https://github.com/peter279k"><code>@peter279k</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/994">jpadilla/pyjwt#994</a></li> <li><a href="https://github.com/cleder"><code>@cleder</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/995">jpadilla/pyjwt#995</a></li> <li><a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1001">jpadilla/pyjwt#1001</a></li> <li><a href="https://github.com/Divan009"><code>@Divan009</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1005">jpadilla/pyjwt#1005</a></li> <li><a href="https://github.com/Gautam-Hegde"><code>@Gautam-Hegde</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1003">jpadilla/pyjwt#1003</a></li> <li><a href="https://github.com/way-dave"><code>@way-dave</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/990">jpadilla/pyjwt#990</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0">https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's changelog</a>.</em></p> <blockquote> <h2><code>v2.10.0 <https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0></code>__</h2> <p>Changed</p> <pre><code> - Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by @luhn in `[#975](jpadilla/pyjwt#975) <https://github.com/jpadilla/pyjwt/pull/975>`__ - Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `[#970](jpadilla/pyjwt#970) <https://github.com/jpadilla/pyjwt/pull/970>`__ - Add JWK support to JWT encode by @luhn in `[#979](jpadilla/pyjwt#979) <https://github.com/jpadilla/pyjwt/pull/979>`__ - Encoding and decoding payloads using the `none` algorithm by @jpadilla in `#c2629f6 <https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16>` <p>Before:</p> <p>.. code-block:: pycon</p> <p>>>> import jwt >>> jwt.encode({"payload": "abc"}, key=None, algorithm=None)</p> <p>After:</p> <p>.. code-block:: pycon</p> <p>>>> import jwt >>> jwt.encode({"payload": "abc"}, key=None, algorithm="none")</p> <ul> <li>Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens by <a href="https://github.com/Divan009"><code>@Divan009</code></a> in <code>[#1005](jpadilla/pyjwt#1005) &lt;https://github.com/jpadilla/pyjwt/pull/1005&gt;</code>__</li> <li>Refactor project configuration files from <code>setup.cfg</code> to <code>pyproject.toml</code> by <a href="https://github.com/cleder"><code>@cleder</code></a> in <code>[#995](jpadilla/pyjwt#995) &lt;https://github.com/jpadilla/pyjwt/pull/995&gt;</code>__</li> <li>Ruff linter and formatter changes by <a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> in <code>[#1001](jpadilla/pyjwt#1001) &lt;https://github.com/jpadilla/pyjwt/pull/1001&gt;</code>__</li> <li>Drop support for Python 3.8 (EOL) by <a href="https://github.com/kkirsche"><code>@kkirsche</code></a> in <code>[#1007](jpadilla/pyjwt#1007) &lt;https://github.com/jpadilla/pyjwt/pull/1007&gt;</code>__</li> </ul> <p>Fixed</p> <pre><code> - Encode EC keys with a fixed bit length by @etianen in `[#990](jpadilla/pyjwt#990) &lt;https://github.com/jpadilla/pyjwt/pull/990&gt;`__ - Add an RTD config file to resolve Read the Docs build failures by @kurtmckee in `[#977](jpadilla/pyjwt#977) &lt;https://github.com/jpadilla/pyjwt/pull/977&gt;`__ - Docs: Update ``iat`` exception docs by @pachewise in `[#974](jpadilla/pyjwt#974) &lt;https://github.com/jpadilla/pyjwt/pull/974&gt;`__ - Docs: Fix ``decode_complete`` scope and algorithms by @RbnRncn in `[#982](jpadilla/pyjwt#982) &lt;https://github.com/jpadilla/pyjwt/pull/982&gt;`__ - Fix doctest for ``docs/usage.rst`` by @pachewise in `[#986](jpadilla/pyjwt#986) &lt;https://github.com/jpadilla/pyjwt/pull/986&gt;`__ - Fix ``test_utils.py`` not to xfail by @pachewise in `[#987](jpadilla/pyjwt#987) &lt;https://github.com/jpadilla/pyjwt/pull/987&gt;`__ - Docs: Correct `jwt.decode` audience param doc expression by @peter279k in `[#994](jpadilla/pyjwt#994) &lt;https://github.com/jpadilla/pyjwt/pull/994&gt;`__ Added </code></pre> <ul> <li>Add support for python 3.13 by <a href="https://github.com/hugovk"><code>@hugovk</code></a> in <code>[#972](jpadilla/pyjwt#972) &lt;https://github.com/jpadilla/pyjwt/pull/972&gt;</code>__</li> <li>Create SECURITY.md by <a href="https://github.com/auvipy"><code>@auvipy</code></a> and <a href="https://github.com/jpadilla"><code>@jpadilla</code></a> in <code>[#973](jpadilla/pyjwt#973) &lt;https://github.com/jpadilla/pyjwt/pull/973&gt;</code>__</li> <li>Docs: Add PS256 encoding and decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <code>[#992](jpadilla/pyjwt#992) &lt;https://github.com/jpadilla/pyjwt/pull/992&gt;</code>__ </tr></table> </code></pre></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jpadilla/pyjwt/commit/783f324e5d2155462515ced45718fc164dd04db2"><code>783f324</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1006">#1006</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/0116fc6cb2b5088b02efa4506ecb6dcea42d72b3"><code>0116fc6</code></a> Bump codecov/codecov-action from 4 to 5 (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1014">#1014</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/b032353bd93fee330cb79a351cc4d03affee19f5"><code>b032353</code></a> feat: surface <code>jwt.decode_complete(...)</code></li> <li><a href="https://github.com/jpadilla/pyjwt/commit/a759c455cde3e9ff99afe25e9fc56278af666ff3"><code>a759c45</code></a> Prepare 2.10.0 release (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1011">#1011</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/b6b8bce07717b0b4bb7816b99c33ab9e6907059a"><code>b6b8bce</code></a> Drop support for Python 3.8 (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1007">#1007</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/189c2561c47030d2e34aea040cf135ae4997a2d8"><code>189c256</code></a> Update index.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/19008577fbda9cbce879defa2c7cd6387f8ca66f"><code>1900857</code></a> Update index.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/8fe9eab822cf7d9ea1e424379d64e29abfe33f34"><code>8fe9eab</code></a> Update README.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/6f73f6f75c6fa9b35302d7d71b8015fcfc5d5802"><code>6f73f6f</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1000">#1000</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16"><code>c2629f6</code></a> update changelog</li> <li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.9.0&new-version=2.10.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>
inmantaci
pushed a commit
to inmanta/inmanta-core
that referenced
this pull request
Nov 20, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.9.0 to 2.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/releases">pyjwt's releases</a>.</em></p> <blockquote> <h2>2.10.0</h2> <h2>What's Changed</h2> <ul> <li>chore: use sequence for typing rather than list by <a href="https://github.com/imnotjames"><code>@imnotjames</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/970">jpadilla/pyjwt#970</a></li> <li>Add support for Python 3.13 by <a href="https://github.com/hugovk"><code>@hugovk</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/972">jpadilla/pyjwt#972</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/971">jpadilla/pyjwt#971</a></li> <li>Add an RTD config file to resolve RTD build failures by <a href="https://github.com/kurtmckee"><code>@kurtmckee</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/977">jpadilla/pyjwt#977</a></li> <li>docs: Update <code>iat</code> exception docs by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/974">jpadilla/pyjwt#974</a></li> <li>Remove algorithm requirement for JWT API by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/975">jpadilla/pyjwt#975</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/978">jpadilla/pyjwt#978</a></li> <li>Create SECURITY.md by <a href="https://github.com/auvipy"><code>@auvipy</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/973">jpadilla/pyjwt#973</a></li> <li>docs fix: decode_complete scope and algorithms by <a href="https://github.com/RbnRncn"><code>@RbnRncn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/982">jpadilla/pyjwt#982</a></li> <li>fix doctest for docs/usage.rst by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/986">jpadilla/pyjwt#986</a></li> <li>fix test_utils.py not to xfail by <a href="https://github.com/pachewise"><code>@pachewise</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/987">jpadilla/pyjwt#987</a></li> <li>Correct jwt.decode audience param doc expression by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/994">jpadilla/pyjwt#994</a></li> <li>Add PS256 encoding and decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/992">jpadilla/pyjwt#992</a></li> <li>Add API docs for PyJWK by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/980">jpadilla/pyjwt#980</a></li> <li>Refactor project configuration files from setup.cfg to pyproject.toml PEP-518 by <a href="https://github.com/cleder"><code>@cleder</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/995">jpadilla/pyjwt#995</a></li> <li>Add JWK support to JWT encode by <a href="https://github.com/luhn"><code>@luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/979">jpadilla/pyjwt#979</a></li> <li>Update pre-commit hooks to lint pyproject.toml by <a href="https://github.com/cleder"><code>@cleder</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1002">jpadilla/pyjwt#1002</a></li> <li>Add EdDSA algorithm encoding/decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/993">jpadilla/pyjwt#993</a></li> <li>Ruff linter and formatter changes by <a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1001">jpadilla/pyjwt#1001</a></li> <li>Validate <code>sub</code> and <code>jti</code> claims for the token by <a href="https://github.com/Divan009"><code>@Divan009</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1005">jpadilla/pyjwt#1005</a></li> <li>Add ES256 usage by <a href="https://github.com/Gautam-Hegde"><code>@Gautam-Hegde</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1003">jpadilla/pyjwt#1003</a></li> <li>Encode EC keys with a fixed bit length by <a href="https://github.com/way-dave"><code>@way-dave</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/990">jpadilla/pyjwt#990</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1000">jpadilla/pyjwt#1000</a></li> <li>Drop support for Python 3.8 by <a href="https://github.com/kkirsche"><code>@kkirsche</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1007">jpadilla/pyjwt#1007</a></li> <li>Prepare 2.10.0 release by <a href="https://github.com/benvdh"><code>@benvdh</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1011">jpadilla/pyjwt#1011</a></li> <li>Bump codecov/codecov-action from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1014">jpadilla/pyjwt#1014</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1006">jpadilla/pyjwt#1006</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/imnotjames"><code>@imnotjames</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/970">jpadilla/pyjwt#970</a></li> <li><a href="https://github.com/kurtmckee"><code>@kurtmckee</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/977">jpadilla/pyjwt#977</a></li> <li><a href="https://github.com/pachewise"><code>@pachewise</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/974">jpadilla/pyjwt#974</a></li> <li><a href="https://github.com/RbnRncn"><code>@RbnRncn</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/982">jpadilla/pyjwt#982</a></li> <li><a href="https://github.com/peter279k"><code>@peter279k</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/994">jpadilla/pyjwt#994</a></li> <li><a href="https://github.com/cleder"><code>@cleder</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/995">jpadilla/pyjwt#995</a></li> <li><a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1001">jpadilla/pyjwt#1001</a></li> <li><a href="https://github.com/Divan009"><code>@Divan009</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1005">jpadilla/pyjwt#1005</a></li> <li><a href="https://github.com/Gautam-Hegde"><code>@Gautam-Hegde</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/1003">jpadilla/pyjwt#1003</a></li> <li><a href="https://github.com/way-dave"><code>@way-dave</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/990">jpadilla/pyjwt#990</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0">https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's changelog</a>.</em></p> <blockquote> <h2><code>v2.10.0 <https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0></code>__</h2> <p>Changed</p> <pre><code> - Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by @luhn in `[#975](jpadilla/pyjwt#975) <https://github.com/jpadilla/pyjwt/pull/975>`__ - Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `[#970](jpadilla/pyjwt#970) <https://github.com/jpadilla/pyjwt/pull/970>`__ - Add JWK support to JWT encode by @luhn in `[#979](jpadilla/pyjwt#979) <https://github.com/jpadilla/pyjwt/pull/979>`__ - Encoding and decoding payloads using the `none` algorithm by @jpadilla in `#c2629f6 <https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16>` <p>Before:</p> <p>.. code-block:: pycon</p> <p>>>> import jwt >>> jwt.encode({"payload": "abc"}, key=None, algorithm=None)</p> <p>After:</p> <p>.. code-block:: pycon</p> <p>>>> import jwt >>> jwt.encode({"payload": "abc"}, key=None, algorithm="none")</p> <ul> <li>Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens by <a href="https://github.com/Divan009"><code>@Divan009</code></a> in <code>[#1005](jpadilla/pyjwt#1005) &lt;https://github.com/jpadilla/pyjwt/pull/1005&gt;</code>__</li> <li>Refactor project configuration files from <code>setup.cfg</code> to <code>pyproject.toml</code> by <a href="https://github.com/cleder"><code>@cleder</code></a> in <code>[#995](jpadilla/pyjwt#995) &lt;https://github.com/jpadilla/pyjwt/pull/995&gt;</code>__</li> <li>Ruff linter and formatter changes by <a href="https://github.com/gagandeepp"><code>@gagandeepp</code></a> in <code>[#1001](jpadilla/pyjwt#1001) &lt;https://github.com/jpadilla/pyjwt/pull/1001&gt;</code>__</li> <li>Drop support for Python 3.8 (EOL) by <a href="https://github.com/kkirsche"><code>@kkirsche</code></a> in <code>[#1007](jpadilla/pyjwt#1007) &lt;https://github.com/jpadilla/pyjwt/pull/1007&gt;</code>__</li> </ul> <p>Fixed</p> <pre><code> - Encode EC keys with a fixed bit length by @etianen in `[#990](jpadilla/pyjwt#990) &lt;https://github.com/jpadilla/pyjwt/pull/990&gt;`__ - Add an RTD config file to resolve Read the Docs build failures by @kurtmckee in `[#977](jpadilla/pyjwt#977) &lt;https://github.com/jpadilla/pyjwt/pull/977&gt;`__ - Docs: Update ``iat`` exception docs by @pachewise in `[#974](jpadilla/pyjwt#974) &lt;https://github.com/jpadilla/pyjwt/pull/974&gt;`__ - Docs: Fix ``decode_complete`` scope and algorithms by @RbnRncn in `[#982](jpadilla/pyjwt#982) &lt;https://github.com/jpadilla/pyjwt/pull/982&gt;`__ - Fix doctest for ``docs/usage.rst`` by @pachewise in `[#986](jpadilla/pyjwt#986) &lt;https://github.com/jpadilla/pyjwt/pull/986&gt;`__ - Fix ``test_utils.py`` not to xfail by @pachewise in `[#987](jpadilla/pyjwt#987) &lt;https://github.com/jpadilla/pyjwt/pull/987&gt;`__ - Docs: Correct `jwt.decode` audience param doc expression by @peter279k in `[#994](jpadilla/pyjwt#994) &lt;https://github.com/jpadilla/pyjwt/pull/994&gt;`__ Added </code></pre> <ul> <li>Add support for python 3.13 by <a href="https://github.com/hugovk"><code>@hugovk</code></a> in <code>[#972](jpadilla/pyjwt#972) &lt;https://github.com/jpadilla/pyjwt/pull/972&gt;</code>__</li> <li>Create SECURITY.md by <a href="https://github.com/auvipy"><code>@auvipy</code></a> and <a href="https://github.com/jpadilla"><code>@jpadilla</code></a> in <code>[#973](jpadilla/pyjwt#973) &lt;https://github.com/jpadilla/pyjwt/pull/973&gt;</code>__</li> <li>Docs: Add PS256 encoding and decoding usage by <a href="https://github.com/peter279k"><code>@peter279k</code></a> in <code>[#992](jpadilla/pyjwt#992) &lt;https://github.com/jpadilla/pyjwt/pull/992&gt;</code>__ </tr></table> </code></pre></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jpadilla/pyjwt/commit/783f324e5d2155462515ced45718fc164dd04db2"><code>783f324</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1006">#1006</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/0116fc6cb2b5088b02efa4506ecb6dcea42d72b3"><code>0116fc6</code></a> Bump codecov/codecov-action from 4 to 5 (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1014">#1014</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/b032353bd93fee330cb79a351cc4d03affee19f5"><code>b032353</code></a> feat: surface <code>jwt.decode_complete(...)</code></li> <li><a href="https://github.com/jpadilla/pyjwt/commit/a759c455cde3e9ff99afe25e9fc56278af666ff3"><code>a759c45</code></a> Prepare 2.10.0 release (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1011">#1011</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/b6b8bce07717b0b4bb7816b99c33ab9e6907059a"><code>b6b8bce</code></a> Drop support for Python 3.8 (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1007">#1007</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/189c2561c47030d2e34aea040cf135ae4997a2d8"><code>189c256</code></a> Update index.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/19008577fbda9cbce879defa2c7cd6387f8ca66f"><code>1900857</code></a> Update index.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/8fe9eab822cf7d9ea1e424379d64e29abfe33f34"><code>8fe9eab</code></a> Update README.rst</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/6f73f6f75c6fa9b35302d7d71b8015fcfc5d5802"><code>6f73f6f</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/1000">#1000</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16"><code>c2629f6</code></a> update changelog</li> <li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.9.0&new-version=2.10.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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See https://docs.pytest.org/en/stable/example/parametrize.html#parametrizing-conditional-raising. We should be "passing" the test if the correct action is to raise a ValueError.