Skip to content

PYTHON-5915 - Bump cryptography version to 47.0.0#2911

Open
NoahStapp wants to merge 2 commits into
mongodb:masterfrom
NoahStapp:PYTHON-5862-1
Open

PYTHON-5915 - Bump cryptography version to 47.0.0#2911
NoahStapp wants to merge 2 commits into
mongodb:masterfrom
NoahStapp:PYTHON-5862-1

Conversation

@NoahStapp

Copy link
Copy Markdown
Contributor

PYTHON-5915

Changes in this PR

See ticket.

Test Plan

Checklist

Checklist for Author

  • [ ] Did you update the changelog (if necessary)?
  • [ ] Is there test coverage?
  • [ ] Is any followup work tracked in a JIRA ticket? If so, add link(s).

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

Copilot AI review requested due to automatic review settings July 1, 2026 19:12
@NoahStapp NoahStapp requested a review from a team as a code owner July 1, 2026 19:12
@NoahStapp NoahStapp requested a review from blink1073 July 1, 2026 19:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s pinned dependency set and OCSP typing support in response to newer cryptography releases.

Changes:

  • Updates uv.lock with new resolved versions/markers for cryptography (and related packages like pyopenssl) across Python versions.
  • Extends pymongo/ocsp_support.py type annotations to include cryptography’s new mldsa public key types.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
uv.lock Updates the resolved dependency graph, including cryptography/pyopenssl versions and Python resolution markers.
pymongo/ocsp_support.py Adds mldsa key types to the TYPE_CHECKING type union for OCSP issuer public keys.

Comment thread pymongo/ocsp_support.py
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants