Skip to content

fix: widen cryptography upper bound to major version#520

Closed
gavin913-lss wants to merge 1 commit into
AvaCodeSolutions:masterfrom
gavin913-lss:fix/cryptography-upper-bound
Closed

fix: widen cryptography upper bound to major version#520
gavin913-lss wants to merge 1 commit into
AvaCodeSolutions:masterfrom
gavin913-lss:fix/cryptography-upper-bound

Conversation

@gavin913-lss

@gavin913-lss gavin913-lss commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Problem

pyproject.toml originally pinned cryptography at patch level (<48.1.0), and was previously updated to <49.0.0. However cryptography 49.0.0 has now been released, causing the same install conflict for anyone with a newer environment.

Fixes #500

Fix

Widen the constraint to >=48.0.0,<50.0.0 — a full major-version range following standard open-source library practice. This means the pin only needs updating if cryptography ships a breaking change in a new major version, rather than on every minor/patch release.

Note

The branch has been rebased onto master and the constraint updated to <50.0.0 since the original <49.0.0 is now also stale.

Patch-level pin (>=48.0.0,<48.1.0) causes dependency conflicts
for any integrator that already has cryptography>=48.1.0.

Widen to >=48.0.0,<49.0.0 following the standard pattern.

Fixes AvaCodeSolutions#500
@payamnj

payamnj commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Thank you @gavin913-lss, the pipeline failed and it seems that poetry lock should be updated as well.

@payamnj

payamnj commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Will be handled here:
#551

@payamnj payamnj closed this Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cryptography dependency pinned too tightly (patch-level pin)

2 participants