-
-
Notifications
You must be signed in to change notification settings - Fork 694
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
chore: use sequence for typing rather than list #970
Conversation
there's no reason we need to use `List` for the typing of issuers & other parameters - the `Sequence` type allows us to accept more types such as `tuple` and `set` which still support the behavior we need
loosens up the typing on `api_jws` so we accept sequences rather than just lists
the reasoning I had here is that it's a looser type that still supports everything needed with regards to requirements of the parameters this doesn't change return types to make them looser as that'd be breaking (though, making the return types / exposes prop types sequences & immutable could be a good breaking change?) |
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.
lgtm, thanks! mind updating the CHANGELOG?
Sure thing, I think I matched previous formats |
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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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>
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>
this loosens up the typing for
issuers
&algorithms
in the APIthere's no reason we need to use
List
for the typing of issuers & other parameters - theSequence
type allows us to accept more types such astuple
andset
which still support the behavior we need