Repository navigation
PYTHON-6063 Remove PyPy support - #3119
Open
sleepyStick wants to merge 4 commits into
Open
sleepyStick wants to merge 4 commits into
sleepyStick wants to merge 4 commits into
Conversation
Contributor
Author
|
oops made this branch off of my previous branch hence the first commit not relating to this ticket >.< |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
sleepyStick
marked this pull request as ready for review
October 14, 2026 02:01
sleepyStick
requested review from
aclark4life
and
a balanced review from Copilot
October 14, 2026 02:01
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Removing the last @flaky use leaves an unused import that will fail linting.
1 open finding
What changed in this PR
Removes PyPy support across packaging, runtime accommodations, tests, documentation, and Evergreen CI.
Changes:
- Declares CPython 3.11+ as the supported interpreter range.
- Removes PyPy-specific workarounds and test skips.
- Removes PyPy CI tasks and regenerates Evergreen configuration.
| File | Description |
|---|---|
README.md |
Documents CPython-only support. |
CONTRIBUTING.md |
Updates interpreter and CI guidance. |
pyproject.toml |
Removes the PyPy classifier. |
_setup.py |
Enables extension builds except on GraalPy. |
doc/changelog.rst |
Announces removal of PyPy support. |
bson/codec_options.py |
Generalizes implementation-specific commentary. |
pymongo/common.py |
Generalizes implementation-specific commentary. |
pymongo/network_layer.py |
Removes PyPy socket handling. |
pymongo/pool_options.py |
Removes PyPy-specific metadata formatting. |
pymongo/asynchronous/pool.py |
Updates race-condition commentary. |
pymongo/synchronous/pool.py |
Mirrors pool commentary update. |
.evergreen/scripts/setup-uv-python.sh |
Removes PyPy examples. |
.evergreen/scripts/setup_tests.py |
Enables coverage without implementation filtering. |
.evergreen/scripts/generate_config.py |
Removes PyPy task generation and filtering. |
.evergreen/scripts/generate_config_utils.py |
Removes PyPy interpreter definitions. |
.evergreen/generated_configs/variants.yml |
Regenerates CPython-only variants. |
.evergreen/generated_configs/tasks.yml |
Regenerates CPython-only tasks. |
test/helpers_shared.py |
Removes obsolete PyPy commentary. |
test/unified_format.py |
Removes PyPy-specific CSOT skips. |
test/test_client.py |
Removes PyPy skips and GC workaround. |
test/test_collection.py |
Removes obsolete GC commentary. |
test/test_compression_support.py |
Assumes tracemalloc availability. |
test/test_discovery_and_monitoring.py |
Removes PyPy flakiness marking. |
test/test_load_balancer.py |
Simplifies explicit collection. |
test/test_logger.py |
Generalizes cleanup commentary. |
test/test_monitor.py |
Removes a PyPy skip. |
test/test_network_layer.py |
Updates Windows-specific commentary. |
test/test_session.py |
Enforces session pooling on supported interpreters. |
test/test_ssl.py |
Removes PyPy SSL skips. |
test/test_streaming_protocol.py |
Uses the standard heartbeat timeout. |
test/test_transactions.py |
Removes a PyPy TLS skip. |
test/asynchronous/unified_format.py |
Removes async PyPy CSOT skips. |
test/asynchronous/test_async_network_layer.py |
Updates Windows-specific commentary. |
test/asynchronous/test_client.py |
Removes async PyPy skips and workaround. |
test/asynchronous/test_collection.py |
Removes obsolete GC commentary. |
test/asynchronous/test_discovery_and_monitoring.py |
Removes PyPy flakiness marking. |
test/asynchronous/test_load_balancer.py |
Simplifies explicit collection. |
test/asynchronous/test_logger.py |
Generalizes cleanup commentary. |
test/asynchronous/test_monitor.py |
Removes a PyPy skip. |
test/asynchronous/test_session.py |
Enforces session pooling on supported interpreters. |
test/asynchronous/test_ssl.py |
Removes async PyPy SSL skips. |
test/asynchronous/test_streaming_protocol.py |
Uses the standard heartbeat timeout. |
test/asynchronous/test_transactions.py |
Removes an async PyPy TLS skip. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| @@ -409,7 +409,6 @@ async def test_pool_unpause(self): | |||
| @async_client_context.require_failCommand_appName | |||
| @async_client_context.require_test_commands | |||
| @async_client_context.require_async | |||
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

PYTHON-6063
Changes in this PR
Test Plan
Checklist
Checklist for Author
Checklist for Reviewer