Bump pyjwt from 2.12.1 to 2.13.0#3993
Conversation
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.12.1 to 2.13.0. - [Release notes](https://github.com/jpadilla/pyjwt/releases) - [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst) - [Commits](jpadilla/pyjwt@2.12.1...2.13.0) --- updated-dependencies: - dependency-name: pyjwt dependency-version: 2.13.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
jstvz
left a comment
There was a problem hiding this comment.
Reviewed at 0229d5a. Lockfile-only bump from 2.12.1 to 2.13.0.
The behavioral changes do not reach this codebase. The only call site is cumulusci/oauth/salesforce.py jwt_session, which calls jwt.encode(payload, private_key, algorithm="RS256") for the JWT bearer flow. CumulusCI does not call jwt.decode, does not use PyJWK or PyJWKClient, does not use HS256, and does not produce b64=false tokens. The OAuth tests mock jwt.encode and remain unaffected.
Downstream consumers (MetaDeploy, Metecho, MetaCI) import jwt_session from cumulusci.oauth.salesforce. They reach the same RS256 encode path and are unaffected by the breaking changes. They also pin PyJWT independently in their own lockfiles, so this CCI bump does not propagate transitively.
Note for MetaCI maintainers: metaci/release/utils.py:jwt_for_webhook uses HS256 with METACI_RELEASE_WEBHOOK_AUTH_KEY. PyJWT 2.13.0 now raises InvalidKeyError on empty HMAC keys. If that setting is ever unset in an environment, JWT generation will fail loudly instead of silently. Out of scope for this PR; flagging for awareness when MetaCI bumps next.
The unrelated cffi marker expansion in uv.lock is a benign uv resolver artifact, equivalent under PEP 508 evaluation.
No blocking findings. Safe to merge.
Bumps pyjwt from 2.12.1 to 2.13.0.
Release notes
Sourced from pyjwt's releases.
Changelog
Sourced from pyjwt's changelog.
Commits
7144e45Apply ruff formatd2f4becRestorecast()calls with cross-versiontype: ignoreforprepare_key22f478cRemove redundant casts inRSAAlgorithm.prepare_keyand `ECAlgorithm.prepare...95791b1Bundle security fixes and hardening into 2.13.0dcc27a9[pre-commit.ci] pre-commit autoupdate (#1155)9d08a9a[pre-commit.ci] pre-commit autoupdate (#1146)b87c100Bump codecov/codecov-action from 5 to 6 (#1154)40e3147Migrate development extras to dependency groups (#1152)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.