Update cryptography and requests dependencies#17
Closed
naomi-robusta wants to merge 7 commits intomainfrom
Closed
Conversation
Bumps cryptography, Pygments, pyasn1, PyJWT, and requests to versions that resolve CVE-2026-34073, CVE-2026-39892, CVE-2026-4539, CVE-2026-30922, CVE-2026-32597, and CVE-2026-25645. requests 2.33+ dropped Python 3.9 support, so it's expressed as a multi-constraint with 2.32.x retained for Python <3.10. https://claude.ai/code/session_01Nsf9RKZvau6jx2vA8MULoD
requests 2.33.0+ requires Python >=3.10. The previous multi-constraint approach left Python 3.9 installs on requests 2.32.x, which is still vulnerable. Python 3.9 has been EOL since October 2025. Also simplifies the cryptography pin now that the 3.9.2 marker is moot. https://claude.ai/code/session_01Nsf9RKZvau6jx2vA8MULoD
Reverts the 3.9 drop. Python 3.9 installs stay on requests 2.32.5 (no upstream backport for CVE-2026-25645 exists) while Python >=3.10 gets 2.33.1. https://claude.ai/code/session_01Nsf9RKZvau6jx2vA8MULoD
2.33.1 was released 2026-03-30 (less than a month old). 2.33.0 also fixes CVE-2026-25645 and has been out long enough to be considered stable. https://claude.ai/code/session_01Nsf9RKZvau6jx2vA8MULoD
Bumps pyasn1 0.6.2 -> 0.6.3 (CVE-2026-30922) and PyJWT 2.10.1 -> 2.12.1 (CVE-2026-32597). Both are transitive deps; only the lockfile changes. Reverts the earlier cryptography/Pygments/requests bumps and Python constraint changes — those CVEs will be addressed separately. https://claude.ai/code/session_01Nsf9RKZvau6jx2vA8MULoD
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.
Summary
This PR updates the cryptography and requests dependencies to newer versions with improved Python version compatibility handling.
Key Changes
Details
The requests dependency now uses environment markers to specify different version ranges based on the Python version being used. This allows the project to leverage newer features and improvements in requests 2.33.0+ for Python 3.10+ while maintaining compatibility with earlier Python versions using the 2.32.x series.
https://claude.ai/code/session_01Nsf9RKZvau6jx2vA8MULoD