Python: bump cryptography upper bound from <45 to <47#389
Open
matthiasgoergens wants to merge 1 commit intoTrueLayer:mainfrom
Open
Python: bump cryptography upper bound from <45 to <47#389matthiasgoergens wants to merge 1 commit intoTrueLayer:mainfrom
matthiasgoergens wants to merge 1 commit intoTrueLayer:mainfrom
Conversation
cryptography 46.0.5 fixes GHSA-vqmq-vfhg-gg2m (subgroup attack on SECT curves). The current <45 cap prevents users from upgrading.
There was a problem hiding this comment.
Pull request overview
This PR relaxes the upper bound constraint on the cryptography dependency from <45 to <47, allowing downstream users to upgrade to cryptography versions 45.x and 46.x to address security vulnerabilities, particularly GHSA-vqmq-vfhg-gg2m fixed in 46.0.5.
Changes:
- Updated cryptography version constraint in pyproject.toml from
>=39,<45to>=39,<47 - Regenerated poetry.lock with Poetry 2.3.2, which normalized the astroid version constraint format to PEP 440 compliance
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| python/pyproject.toml | Relaxed cryptography upper bound constraint from <45 to <47 |
| python/poetry.lock | Updated Poetry generator version and normalized astroid version format; updated content hash |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or 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
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.
cryptography46.0.5 fixes GHSA-vqmq-vfhg-gg2m (subgroup attack due to missing subgroup validation for SECT curves). The current<45upper bound inpyproject.tomlprevents downstream users from upgrading to the patched version.This bumps the constraint to
<47to allow cryptography 45.x and 46.x, following the same pattern as PR #343 which bumped from<44to<45.