Skip to content

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Sep 17, 2025

  • Ensured lower bounds for all encryption deps. I chose certifi>=2023.7.22 due to GHSA-xqr8-7jwr-rhp7.
  • I also had to add min deps for gevent and simplejson in order to avoid build errors. For gevent I chose the version that added Python 3.9 support from 2020. For simplejson I chose a version from 2019.
  • Added a new --test-min-deps (TEST_MIN_DEPS) option that enables --resolution=lowest-direct. I brought in the env var override code from drivers-orchestration to minimize adding more ad-hoc environment var handling.
  • Added instructions for running tests with min dependencies
  • Added tasks for all topologies to use min deps with the lowest supported CPython
  • Adds 6 new tasks for encryption on Linux. I could not test on Windows yet until we have the rest of the min dependencies due to a uv error.

Passing build: https://spruce.mongodb.com/version/68cd41981bd9fc0007b7a193/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

@blink1073 blink1073 requested a review from NoahStapp September 17, 2025 23:55
@blink1073 blink1073 requested a review from a team as a code owner September 17, 2025 23:55
@blink1073 blink1073 marked this pull request as draft September 18, 2025 10:25
@blink1073 blink1073 changed the title PYTHON-3152 Test Against Minimum Supported Library Versions PYTHON-5564 Add minimum version test for Encryption Sep 19, 2025
@blink1073 blink1073 changed the title PYTHON-5564 Add minimum version test for Encryption PYTHON-5565 Add minimum version test for Encryption Sep 19, 2025
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.

1 participant