Require cryptography 49, drop Python 3.8#1513
Merged
Merged
Conversation
- Bump the cryptography pin to >=49.0.0,<50 - Drop Python 3.8: python_requires, classifiers, CI jobs, and the now-dead version gates in crypto.py and _util.py https://claude.ai/code/session_01NiSGpbM6ady8SuJPmiZ9SP
reaperhulk
approved these changes
Jun 12, 2026
|
As a maintainer of a Linux distribution, I'm very curious what critical features in the latest cryptography mandate such a strict lower bound. Needlessly strict version bounds are a warrantless burden on users in general, and an even greater burden on distribution packagers. |
Member
|
We bump the lower bound when we depend on something in that version. In this case it's |
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.
cryptographypin to>=49.0.0,<50now that 49 has been released, and updateMINIMUM_CRYPTOGRAPHY_VERSIONin the noxfile to match.python_requires, trove classifiers, the two 3.8 CI matrix rows, and the now-dead version gates (the< (3, 8)deprecatedshim incrypto.pyand the 3.9os.PathLikegate in_util.py). The typing-extensions environment marker simplifies to justpython_version < '3.13'.https://claude.ai/code/session_01NiSGpbM6ady8SuJPmiZ9SP
Generated by Claude Code