Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 99 additions & 18 deletions source/includes/language-compatibility-table-pymongo.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Python 3
~~~~~~~~

The following compatibility tables show {+driver-short+}'s compatibility with different
versions of CPython and PyPy.

For more information about how to read the compatibility tables, see
:ref:`MongoDB Compatibility Tables. <about-driver-compatibility>`

CPython
```````

.. list-table::
:header-rows: 1
:stub-columns: 1
Expand All @@ -17,7 +26,6 @@
- CPython 3.6
- CPython 3.5
- CPython 3.4
- PyPy3

* - 4.11
- ✓
Expand All @@ -30,7 +38,6 @@
-
-
-
-

* - 4.9 to 4.10
- ✓
Expand All @@ -43,7 +50,6 @@
-
-
-
-

* - 4.8
-
Expand All @@ -56,7 +62,6 @@
-
-
-
-

* - 4.5 to 4.7
-
Expand All @@ -69,7 +74,6 @@
-
-
-
-

* - 4.3 to 4.4
-
Expand All @@ -82,7 +86,6 @@
-
-
-
-

* - 4.2
-
Expand All @@ -95,7 +98,6 @@
-
-
-
-

* - 4.1 [#three-six-compat]_
-
Expand All @@ -108,7 +110,6 @@
- ✓
-
-
-

* - 4.0
-
Expand All @@ -121,7 +122,6 @@
- ✓
-
-
-

* - 3.13
-
Expand All @@ -134,7 +134,6 @@
- ✓
- ✓
- ✓
- ✓

* - 3.12
-
Expand All @@ -147,7 +146,6 @@
- ✓
- ✓
- ✓
- ✓

* - 3.11
-
Expand All @@ -160,7 +158,6 @@
- ✓
- ✓
- ✓
- ✓

* - 3.10
-
Expand All @@ -173,7 +170,6 @@
- ✓
- ✓
- ✓
- ✓

* - 3.7 to 3.9
-
Expand All @@ -186,21 +182,106 @@
- ✓
- ✓
- ✓
- ✓

.. [#ssl-4.0-issue] Versions of Python 3.10 and later are not compatible with
TLS/SSL for versions of MongoDB 4.0 and earlier. For more information, see the
:ref:`TLS <pymongo-troubleshoot-tls>` section of the Troubleshooting guide.
.. [#three-six-compat] Pymongo 4.1 requires Python 3.6.2 or later.

For more information about how to read the compatibility tables, see
:ref:`MongoDB Compatibility Tables. <about-driver-compatibility>`
PyPy
````

.. list-table::
:header-rows: 1
:stub-columns: 1
:class: compatibility-large

* - {+driver-short+} Version
- PyPy3.11
- PyPy3.10
- PyPy3.9
- PyPy3.8
- PyPy3.7
- PyPy3.6
- PyPy3.5

* - 4.11
- ✓
- ✓
-
-
-
-
-

* - 4.8 to 4.10
- ✓
- ✓
- ✓
-
-
-
-

* - 4.5 to 4.7
- ✓
- ✓
- ✓
- ✓
-
-
-

* - 4.2 to 4.4
- ✓
- ✓
- ✓
- ✓
- ✓
-
-

* - 4.1 [#three-six-compat]_
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
-

* - 4.0
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
-

* - 3.8 to 3.12
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓

* - 3.7
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓

Python 2
~~~~~~~~

{+driver-short+} versions 3.7 through 3.12 are compatible with Python 2.7 and PyPy, a
Python 2.7-compatible alternative interpreter. However, in some cases, {+driver-short+}
{+driver-short+} versions 3.7 through 3.12 are compatible with Python 2.7 and PyPy2.7.
However, in some cases, {+driver-short+}

Check failure on line 284 in source/includes/language-compatibility-table-pymongo.rst

View workflow job for this annotation

GitHub Actions / TDBX Vale rules

[vale] reported by reviewdog 🐶 [MongoDB.Wordiness] Consider using 'sometimes' instead of 'in some cases'. Raw Output: {"message": "[MongoDB.Wordiness] Consider using 'sometimes' instead of 'in some cases'.", "location": {"path": "source/includes/language-compatibility-table-pymongo.rst", "range": {"start": {"line": 284, "column": 10}}}, "severity": "ERROR"}
applications behave differently when running in a Python 2 environment.

The following sections describe the differences in behavior between Python 2 and Python 3
Expand Down
Loading