Update cryptography requirement from >=48.0.1 to >=50.0.0 in /backend - #4819
Update cryptography requirement from >=48.0.1 to >=50.0.0 in /backend#4819dependabot[bot] wants to merge 2 commits into
Conversation
Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@48.0.1...50.0.0) --- updated-dependencies: - dependency-name: cryptography dependency-version: 50.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@claude update the lock file Remember you can rely on CI to run the full test suite In your recap, assert how safe this upgrade is |
|
Claude finished @marcoacierno's task in 3m 19s —— View job Lock file updated ✅
What changed
The only non-wheel-hash lines in the - { name = "cryptography", specifier = ">=48.0.1" },
+ { name = "cryptography", specifier = ">=50.0.0" },
-version = "48.0.1"
+version = "50.0.1"Note it landed on 50.0.1, not 50.0.0 — that's the newest patch (uploaded 2026-08-25) and it satisfies the Safety assessment: safe to merge — high confidenceI'll be concrete about why, because "major version bump" normally warrants caution and here it genuinely doesn't. 1. Nothing in this repo imports 2. Every 50.0.0 breaking change is in a code path we don't reach. Going through the changelog item by item:
3. The transitive consumers all declare it under optional extras that we don't enable. This is the part I checked most carefully, since a transitive pin is the usual way a bump like this bites:
4. The one live crypto path is unaffected. Password-reset tokens use JWT with HS256 ( Verification run
I picked On the mypy/ruff failures: they're not from this PR. Two things worth knowing (neither blocks merge)Wheel platform coverage narrowed. 48.0.1 shipped Dependabot will stop auto-rebasing this PR, since its description says it only resolves conflicts "as long as you don't alter it yourself" and I've now pushed to the branch. If it goes stale, Not doneI didn't run the full backend test suite or the frontend checks — the frontend is untouched by this change, and per your note the full suite is CI's job. The Vercel failure showing above predates this commit and is a frontend deployment, unrelated to a Python dependency. |
Regenerates backend/uv.lock to match the pyproject.toml bump. Resolves cryptography 48.0.1 -> 50.0.1; no other packages changed. Co-authored-by: Marco Acierno <3382153+marcoacierno@users.noreply.github.com>
Updates the requirements on cryptography to permit the latest version.
Changelog
Sourced from cryptography's changelog.
... (truncated)
Commits
dcb7050Prepare for 50.0.0 release (#15372)53fccd9Don't leak how PKCS#7 encryptedKey decryption failed (#15369)d472f97Addfrom __future__ import annotationsto all src/ Python files (#15371)908773dBump downstream dependencies in CI (#15368)2cc07ccBump BoringSSL, OpenSSL, AWS-LC in CI (#15367)c94ede9chore(deps): bump ruff from 0.16.0 to 0.16.1 (#15366)67a8308chore(deps): bump virtualenv from 21.7.0 to 21.7.1 (#15365)95018ffRelease the GIL in one-shot AEAD encrypt/decrypt (#15361)6954733Release the GIL during DH and DSA parameter generation (#15364)6893b94Import _serialization instead of serialization in x509/extensions (#15363)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)