Skip to content

Prepare 26.4.0 release - #1527

Merged
reaperhulk merged 1 commit into
mainfrom
claude/cryptography-50-release-3yw8ly
Aug 1, 2026
Merged

Prepare 26.4.0 release#1527
reaperhulk merged 1 commit into
mainfrom
claude/cryptography-50-release-3yw8ly

Conversation

@alex

@alex alex commented Aug 1, 2026

Copy link
Copy Markdown
Member

Raises the maximum supported cryptography version to 50.x and bumps the version to 26.4.0.

Fixes #1525
Closes #1526 (identical setup.py change, wrapped in a release)

Changes

  • setup.py: cryptography>=49.0.0,<50cryptography>=49.0.0,<51
  • CHANGELOG.rst: new 26.4.0 (2026-08-01) section noting the new maximum
  • src/OpenSSL/version.py: 26.3.026.4.0

The minimum stays at 49.0.0, so noxfile.py's MINIMUM_CRYPTOGRAPHY_VERSION is unchanged.

Verification

Locally against cryptography 50.0.0 (OpenSSL 4.0.1) and, as a control, against the 49.0.0 minimum:

  • Test suite: 431 passed on both. The one failure, TestContext::test_fallback_default_verify_paths, reproduces identically on cryptography 49 — it needs system CA certs at OpenSSL's default path, which this sandbox lacks. Not a cryptography 50 regression.
  • mypy src/ tests/ (strict): clean on cryptography 50.
  • ruff check / ruff format --check / check-manifest: clean.
  • Built the sdist + wheel and installed the wheel into a fresh venv: resolves to cryptography 50.0.0, and python -m OpenSSL.debug reports pyOpenSSL 26.4.0 / cryptography 50.0.0. Wheel metadata declares Requires-Dist: cryptography<51,>=49.0.0.

One unrelated observation, left alone since it predates this change: setup.py's long_description regex terminates on the first literal ---- line, which now lives at CHANGELOG.rst:499, so the PyPI "Release Information" section carries every release back to that point rather than just the newest.


Generated by Claude Code

Raises the maximum supported cryptography version to 50.x and bumps
the version to 26.4.0.

Fixes #1525
Closes #1526

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vb6YjYEyUrAMT2UAQtaUHp
@reaperhulk
reaperhulk enabled auto-merge (squash) August 1, 2026 19:47
@reaperhulk
reaperhulk merged commit 07b1ef7 into main Aug 1, 2026
74 checks passed
@alex
alex deleted the claude/cryptography-50-release-3yw8ly branch August 1, 2026 19:51
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.

Allow cryptography 50.x

3 participants