Skip to content

Require cryptography 49, drop Python 3.8#1513

Merged
reaperhulk merged 1 commit into
mainfrom
claude/loving-meitner-bv8ml5
Jun 12, 2026
Merged

Require cryptography 49, drop Python 3.8#1513
reaperhulk merged 1 commit into
mainfrom
claude/loving-meitner-bv8ml5

Conversation

@alex

@alex alex commented Jun 12, 2026

Copy link
Copy Markdown
Member
  • Bump the cryptography pin to >=49.0.0,<50 now that 49 has been released, and update MINIMUM_CRYPTOGRAPHY_VERSION in the noxfile to match.
  • Drop Python 3.8: python_requires, trove classifiers, the two 3.8 CI matrix rows, and the now-dead version gates (the < (3, 8) deprecated shim in crypto.py and the 3.9 os.PathLike gate in _util.py). The typing-extensions environment marker simplifies to just python_version < '3.13'.
  • Changelog and docs updated accordingly.

https://claude.ai/code/session_01NiSGpbM6ady8SuJPmiZ9SP


Generated by Claude Code

- 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 reaperhulk enabled auto-merge (squash) June 12, 2026 20:10
@reaperhulk reaperhulk merged commit 55653a5 into main Jun 12, 2026
74 checks passed
@alex alex deleted the claude/loving-meitner-bv8ml5 branch June 12, 2026 20:12
@alex alex mentioned this pull request Jun 12, 2026
@ahesford

Copy link
Copy Markdown

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.

@reaperhulk

Copy link
Copy Markdown
Member

We bump the lower bound when we depend on something in that version. In this case it's x509.Name.from_bytes, which is used to provide paths for migration on deprecated functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants