Skip to content

fix: relax cryptography version pin to allow patch releases#522

Open
cmw-creator wants to merge 1 commit into
AvaCodeSolutions:masterfrom
cmw-creator:fix/relax-cryptography-pin
Open

fix: relax cryptography version pin to allow patch releases#522
cmw-creator wants to merge 1 commit into
AvaCodeSolutions:masterfrom
cmw-creator:fix/relax-cryptography-pin

Conversation

@cmw-creator

Copy link
Copy Markdown

Summary

Fixes the overly strict cryptography dependency pin in pyproject.toml.

Problem

pyproject.toml pins cryptography at patch level:

"cryptography (>=48.0.0,<48.1.0)"

This causes dependency conflicts for any integrator who has cryptography>=48.1.0 installed, as pip/resolve cannot find a satisfying version.

Fix

Broadened the upper bound to the next minor version:

"cryptography (>=48.0.0,<49.0.0)"

This follows the standard open-source convention of pinning at the minor version level, allowing patch releases while preventing breaking changes.

Closes #500

Currently pinned at <48.1.0, causing dependency conflicts for integrators
with cryptography>=48.1.0 installed. Broaden to <49.0.0.
@payamnj

payamnj commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Thank you @cmw-creator, The pipeline failed. It seems that poetry lock should be updated as well.

@payamnj

payamnj commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

@cmw-creator also I noticed this PR is a duplicate PR another contributor already had a PR for this ticket.
#520

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