Skip to content

Commit

Permalink
PYTHON-4378 Update supported PyPy Versions to 3.9 and 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahStapp committed May 2, 2024
1 parent 551b8a2 commit 035d981
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2346,10 +2346,10 @@ axes:
display_name: "Python 3.12"
variables:
PYTHON_BINARY: "/opt/python/3.12/bin/python3"
- id: "pypy3.8"
display_name: "PyPy 3.8"
- id: "pypy3.9"
display_name: "PyPy 3.9"
variables:
PYTHON_BINARY: "/opt/python/pypy3.8/bin/pypy3"
PYTHON_BINARY: "/opt/python/pypy3.9/bin/pypy3"
- id: "pypy3.10"
display_name: "PyPy 3.10"
variables:
Expand Down Expand Up @@ -2668,7 +2668,7 @@ buildvariants:
# Only test "noauth" with Python 3.8.
exclude_spec:
platform: rhel8
python-version: ["3.9", "3.10", "pypy3.8", "pypy3.10"]
python-version: ["3.9", "3.10", "pypy3.9", "pypy3.10"]
auth: "noauth"
ssl: "ssl"
pyopenssl: "*"
Expand Down Expand Up @@ -2729,7 +2729,7 @@ buildvariants:
exclude_spec:
# These interpreters are always tested without extensions.
- platform: rhel8
python-version: ["pypy3.8", "pypy3.10"]
python-version: ["pypy3.9", "pypy3.10"]
c-extensions: "*"
auth-ssl: "*"
coverage: "*"
Expand All @@ -2745,7 +2745,7 @@ buildvariants:
exclude_spec:
# These interpreters are always tested without extensions.
- platform: rhel8
python-version: ["pypy3.8", "pypy3.10"]
python-version: ["pypy3.9", "pypy3.10"]
c-extensions: "with-c-extensions"
compression: "*"
display_name: "${compression} ${c-extensions} ${python-version} ${platform}"
Expand Down Expand Up @@ -2774,7 +2774,7 @@ buildvariants:
exclude_spec:
# Don't test green frameworks on these Python versions.
- platform: rhel8
python-version: ["pypy3.8", "pypy3.10"]
python-version: ["pypy3.9", "pypy3.10"]
green-framework: "*"
auth-ssl: "*"
display_name: "${green-framework} ${python-version} ${platform} ${auth-ssl}"
Expand All @@ -2800,7 +2800,7 @@ buildvariants:
matrix_spec:
platform: rhel7
# Python 3.10+ requires OpenSSL 1.1.1+
python-version: ["3.8", "3.9", "pypy3.8", "pypy3.10"]
python-version: ["3.8", "3.9", "pypy3.9", "pypy3.10"]
auth-ssl: "*"
display_name: "OpenSSL 1.0.2 ${python-version} ${platform} ${auth-ssl}"
tasks:
Expand Down Expand Up @@ -2989,7 +2989,7 @@ buildvariants:
- matrix_name: "ocsp-test"
matrix_spec:
platform: rhel8
python-version: ["3.8", "3.10", "pypy3.8", "pypy3.10"]
python-version: ["3.8", "3.10", "pypy3.9", "pypy3.10"]
mongodb-version: ["4.4", "5.0", "6.0", "7.0", "latest"]
auth: "noauth"
ssl: "ssl"
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ be of interest or that has already been addressed.

## Supported Interpreters

PyMongo supports CPython 3.7+ and PyPy3.8+. Language features not
PyMongo supports CPython 3.8+ and PyPy3.9+. Language features not
supported by all interpreters can not be used.

## Style Guide
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ package that is incompatible with PyMongo.

## Dependencies

PyMongo supports CPython 3.7+ and PyPy3.7+.
PyMongo supports CPython 3.8+ and PyPy3.9+.

Required dependencies:

Expand Down
2 changes: 1 addition & 1 deletion doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changelog
Changes in Version 4.8.0
-------------------------

.. warning:: PyMongo 4.8 drops support for Python 3.7: Python 3.8+ is now required.
.. warning:: PyMongo 4.8 drops support for Python 3.7 and PyPy 3.8: Python 3.8+ or PyPy 3.9+ is now required.

Changes in Version 4.7.1
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ they are returned to the pool.
Does PyMongo support Python 3?
------------------------------

PyMongo supports CPython 3.8+ and PyPy3.8+. See the :doc:`python3` for details.
PyMongo supports CPython 3.8+ and PyPy3.9+. See the :doc:`python3` for details.

Does PyMongo support asynchronous frameworks like Gevent, asyncio, Tornado, or Twisted?
---------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To upgrade using pip::
Dependencies
------------

PyMongo supports CPython 3.8+ and PyPy3.7+.
PyMongo supports CPython 3.8+ and PyPy3.9+.

Required dependencies
.....................
Expand Down
2 changes: 1 addition & 1 deletion doc/python3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Python 3 FAQ
What Python 3 versions are supported?
-------------------------------------

PyMongo supports CPython 3.8+ and PyPy3.8+.
PyMongo supports CPython 3.8+ and PyPy3.9+.

Are there any PyMongo behavior changes with Python 3?
-----------------------------------------------------
Expand Down

0 comments on commit 035d981

Please sign in to comment.