Skip to content

PYTHON-6192 Bump gevent mininum version to include Python 3.11 wheels - #3146

Merged
NoahStapp merged 1 commit into
mongodb:mainfrom
NoahStapp:PYTHON-6192
Oct 27, 2026
Merged

NoahStapp merged 1 commit into
mongodb:mainfrom
NoahStapp:PYTHON-6192

Conversation

@NoahStapp

@NoahStapp NoahStapp commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

PYTHON-6192

Changes in this PR

Update minimum gevent version from 21.12 to 25.9.1. Remove setuptools workaround now that the minimum version is new enough.

Test Plan

Passing build.

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?

@NoahStapp
NoahStapp marked this pull request as ready for review October 26, 2026 21:00
@NoahStapp
NoahStapp requested a review from a team as a code owner October 26, 2026 21:00
@NoahStapp
NoahStapp requested review from sleepyStick and a balanced review from Copilot October 26, 2026 21:00

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.

🟢 Approval recommended

The dependency constraints are consistent, and the workaround removal matches its documented removal condition.

No open issues 🎉

What changed in this PR

This PR raises the minimum gevent version used by PyMongo’s test tooling to include Python 3.11 wheels and removes an obsolete compatibility workaround.

Changes:

  • Raise the gevent minimum from 21.12 to 25.9.1 in the dependency group and lockfile metadata.
  • Remove the setuptools override for minimum-dependency gevent tests.
File Description
uv.lock Align gevent dependency metadata with the new minimum.
pyproject.toml Require gevent>=25.9.1 in the gevent dependency group.
.evergreen/​scripts/​setup_tests.py Remove the obsolete setuptools==81.0 override.

Review effort: Balanced

@NoahStapp
NoahStapp merged commit 818e378 into mongodb:main Oct 27, 2026
82 checks passed
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