Skip to content

chore: Resolved CI build failures on PyPy 3.9 by pinning cryptography#952

Merged
lahirumaramba merged 1 commit intomainfrom
lm-fix-pypy39
May 7, 2026
Merged

chore: Resolved CI build failures on PyPy 3.9 by pinning cryptography#952
lahirumaramba merged 1 commit intomainfrom
lm-fix-pypy39

Conversation

@lahirumaramba
Copy link
Copy Markdown
Member

Newer versions of the cryptography package (>= 44.0.0) upgraded their internal Rust PyO3 dependency to a version that requires PyPy >= 3.11. Consequently, building cryptography from source fails in older PyPy environments like pypy3.9.

This PR introduces an environment marker constraint to restrict cryptography < 44.0.0 on PyPy interpreters older than 3.11, ensuring stable dependency resolution and restoring successful builds.

@lahirumaramba lahirumaramba requested a review from jonathanedey May 7, 2026 18:59
@lahirumaramba lahirumaramba added the release:stage Stage a release candidate label May 7, 2026
@lahirumaramba lahirumaramba requested a review from yvonnep165 May 7, 2026 18:59
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a version constraint for the cryptography library in both requirements.txt and setup.py, specifically limiting it to versions below 44.0.0 for PyPy environments running Python versions earlier than 3.11. I have no feedback to provide as there are no review comments.

Copy link
Copy Markdown
Collaborator

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@lahirumaramba lahirumaramba merged commit f493fb0 into main May 7, 2026
14 checks passed
@lahirumaramba lahirumaramba deleted the lm-fix-pypy39 branch May 7, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:stage Stage a release candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants