-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PYTHON-5049 Drop support for PyPy 3.9 #2070
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -256,15 +256,15 @@ buildvariants: | |
expansions: | ||
COMPRESSORS: zstd | ||
PYTHON_BINARY: /opt/python/3.9/bin/python3 | ||
- name: compression-snappy-rhel8-pypy3.9 | ||
- name: compression-snappy-rhel8-pypy3.10 | ||
tasks: | ||
- name: .standalone .noauth .nossl .sync_async | ||
display_name: Compression snappy RHEL8 PyPy3.9 | ||
display_name: Compression snappy RHEL8 PyPy3.10 | ||
run_on: | ||
- rhel87-small | ||
expansions: | ||
COMPRESSORS: snappy | ||
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 | ||
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 | ||
- name: compression-zlib-rhel8-pypy3.10 | ||
tasks: | ||
- name: .standalone .noauth .nossl .sync_async | ||
|
@@ -274,15 +274,15 @@ buildvariants: | |
expansions: | ||
COMPRESSORS: zlib | ||
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 | ||
- name: compression-zstd-rhel8-pypy3.9 | ||
- name: compression-zstd-rhel8-pypy3.10 | ||
tasks: | ||
- name: .standalone .noauth .nossl .sync_async !.4.0 | ||
display_name: Compression zstd RHEL8 PyPy3.9 | ||
display_name: Compression zstd RHEL8 PyPy3.10 | ||
run_on: | ||
- rhel87-small | ||
expansions: | ||
COMPRESSORS: zstd | ||
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 | ||
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 | ||
|
||
# Disable test commands tests | ||
- name: disable-test-commands-rhel8-python3.9 | ||
|
@@ -460,15 +460,6 @@ buildvariants: | |
test_encryption: "true" | ||
test_encryption_pyopenssl: "true" | ||
PYTHON_BINARY: /opt/python/3.12/bin/python3 | ||
- name: encryption-rhel8-pypy3.9 | ||
tasks: | ||
- name: .sharded_cluster .auth .ssl .sync_async | ||
display_name: Encryption RHEL8 PyPy3.9 | ||
run_on: | ||
- rhel87-small | ||
expansions: | ||
test_encryption: "true" | ||
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 | ||
- name: encryption-macos-python3.9 | ||
tasks: | ||
- name: .latest .replica_set .sync_async | ||
|
@@ -608,15 +599,6 @@ buildvariants: | |
expansions: | ||
AUTH: auth | ||
PYTHON_BINARY: C:/python/Python313/python.exe | ||
- name: auth-enterprise-rhel8-pypy3.9-auth | ||
tasks: | ||
- name: test-enterprise-auth | ||
display_name: Auth Enterprise RHEL8 PyPy3.9 Auth | ||
run_on: | ||
- rhel87-small | ||
expansions: | ||
AUTH: auth | ||
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 | ||
- name: auth-enterprise-rhel8-pypy3.10-auth | ||
tasks: | ||
- name: test-enterprise-auth | ||
|
@@ -900,10 +882,10 @@ buildvariants: | |
TOPOLOGY: server | ||
VERSION: "8.0" | ||
PYTHON_BINARY: /opt/python/3.13/bin/python3 | ||
- name: ocsp-rhel8-rapid-pypy3.9 | ||
- name: ocsp-rhel8-rapid-pypy3.10 | ||
tasks: | ||
- name: .ocsp | ||
display_name: OCSP RHEL8 rapid PyPy3.9 | ||
display_name: OCSP RHEL8 rapid PyPy3.10 | ||
run_on: | ||
- rhel87-small | ||
batchtime: 20160 | ||
|
@@ -912,11 +894,11 @@ buildvariants: | |
SSL: ssl | ||
TOPOLOGY: server | ||
VERSION: rapid | ||
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 | ||
- name: ocsp-rhel8-latest-pypy3.10 | ||
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 | ||
- name: ocsp-rhel8-latest-python3.9 | ||
tasks: | ||
- name: .ocsp | ||
display_name: OCSP RHEL8 latest PyPy3.10 | ||
display_name: OCSP RHEL8 latest Python3.9 | ||
run_on: | ||
- rhel87-small | ||
batchtime: 20160 | ||
|
@@ -925,7 +907,7 @@ buildvariants: | |
SSL: ssl | ||
TOPOLOGY: server | ||
VERSION: latest | ||
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 | ||
PYTHON_BINARY: /opt/python/3.9/bin/python3 | ||
- name: ocsp-win64-v4.4-python3.9 | ||
tasks: | ||
- name: .ocsp-rsa !.ocsp-staple | ||
|
@@ -1061,17 +1043,6 @@ buildvariants: | |
expansions: | ||
test_pyopenssl: "true" | ||
PYTHON_BINARY: C:/python/Python313/python.exe | ||
- name: pyopenssl-rhel8-pypy3.9 | ||
tasks: | ||
- name: .replica_set .auth .ssl .sync_async | ||
- name: .7.0 .auth .ssl .sync_async | ||
display_name: PyOpenSSL RHEL8 PyPy3.9 | ||
run_on: | ||
- rhel87-small | ||
batchtime: 10080 | ||
expansions: | ||
test_pyopenssl: "true" | ||
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 | ||
- name: pyopenssl-rhel8-pypy3.10 | ||
tasks: | ||
- name: .replica_set .auth .ssl .sync_async | ||
|
@@ -1164,17 +1135,6 @@ buildvariants: | |
expansions: | ||
COVERAGE: coverage | ||
PYTHON_BINARY: /opt/python/3.12/bin/python3 | ||
- name: test-rhel8-pypy3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
tasks: | ||
- name: .sharded_cluster .auth .ssl .sync_async | ||
- name: .replica_set .noauth .ssl .sync_async | ||
- name: .standalone .noauth .nossl .sync_async | ||
display_name: "* Test RHEL8 PyPy3.9" | ||
run_on: | ||
- rhel87-small | ||
expansions: | ||
COVERAGE: coverage | ||
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 | ||
- name: test-macos-python3.9 | ||
tasks: | ||
- name: .sharded_cluster .auth .ssl !.sync_async | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,13 +133,10 @@ def test_getattr(self): | |
|
||
def test_iteration(self): | ||
coll = self.db.coll | ||
if "PyPy" in sys.version and sys.version_info < (3, 8, 15): | ||
msg = "'NoneType' object is not callable" | ||
if _IS_SYNC: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can remove this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed |
||
msg = "'Collection' object is not iterable" | ||
else: | ||
if _IS_SYNC: | ||
msg = "'Collection' object is not iterable" | ||
else: | ||
msg = "'AsyncCollection' object is not iterable" | ||
msg = "'AsyncCollection' object is not iterable" | ||
# Iteration fails | ||
with self.assertRaisesRegex(TypeError, msg): | ||
for _ in coll: # type: ignore[misc] # error: "None" not callable [misc] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: there is still a pypy 3.10 variant above.