diff --git a/source/includes/language-compatibility-table-python.rst b/source/includes/language-compatibility-table-python.rst index 35e6e6560..74a252e5b 100644 --- a/source/includes/language-compatibility-table-python.rst +++ b/source/includes/language-compatibility-table-python.rst @@ -14,6 +14,12 @@ Python 3 Compatibility - Python 3.8 - Python 3.7 - Python 3.6 + - Python 3.5 + - Python 3.4 + - Python 3.3 + - PyPy3 + - Python 3.2 + - Python 3.1 * - 4.6 - ✓ @@ -23,6 +29,12 @@ Python 3 Compatibility - ✓ - ✓ - + - + - + - + - + - + - * - 4.5 - ✓ @@ -32,6 +44,12 @@ Python 3 Compatibility - ✓ - ✓ - + - + - + - + - + - + - * - 4.4 - @@ -41,6 +59,12 @@ Python 3 Compatibility - ✓ - ✓ - + - + - + - + - + - + - * - 4.3 - @@ -50,6 +74,12 @@ Python 3 Compatibility - ✓ - ✓ - + - + - + - + - + - + - * - 4.2 - @@ -59,6 +89,12 @@ Python 3 Compatibility - ✓ - ✓ - + - + - + - + - + - + - * - 4.1 - @@ -68,6 +104,12 @@ Python 3 Compatibility - ✓ - ✓ - ✓ [#three-six-compat]_ + - + - + - + - + - + - * - 4.0 - @@ -77,12 +119,277 @@ Python 3 Compatibility - ✓ - ✓ - ✓ + - + - + - + - + - + - + + * - 3.13 + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - ✓ + - + - + + * - 3.12 + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - ✓ + - + - + + * - 3.11 + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - ✓ + - + - + + * - 3.10 + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - ✓ + - + - + + * - 3.9 + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - + - ✓ + - + - + + * - 3.8 + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - + - ✓ + - + - + + * - 3.7 + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - + - ✓ + - + - + + * - 3.6 + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - + - ✓ + - + - + + * - 3.5 + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - + + * - 3.4 + - + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - + - + + * - 3.3 + - + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - + - + + * - 3.2 + - + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + + * - 3.1 + - + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + + * - 3.0 + - + - + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - + + * - 2.9 + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + + * - 2.8 + - + - + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + + * - 2.7 + - + - + - + - + - + - + - + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ .. [#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. See the `PyMongo documentation `__ for more information. .. [#three-six-compat] Pymongo 4.1 requires Python 3.6.2 or later. +.. note:: + + PyPy3 is a Python 3.2-compatible alternative interpreter. + Python 2 Compatibility `````````````````````` @@ -92,4 +399,118 @@ Python 2 Compatibility :class: compatibility-large * - PyMongo Driver Version - - Python 3.12 + - Python 2.7, PyPy + - Python 2.6 + - Python 2.5, Jython 2.5 + - Python 2.4 + + * - 4.0 [#python-2-compat]_ + - + - + - + - + + * - 3.12 + - ✓ + - + - + - + + * - 3.11 + - ✓ + - + - + - + + * - 3.10 + - ✓ + - + - + - + + * - 3.9 + - ✓ + - + - + - + + * - 3.8 + - ✓ + - + - + - + + * - 3.7 + - ✓ + - ✓ + - + - + + + * - 3.6 + - ✓ + - ✓ + - + - + + * - 3.5 + - ✓ + - ✓ + - + - + + * - 3.4 + - ✓ + - ✓ + - + - + + * - 3.3 + - ✓ + - ✓ + - + - + + * - 3.2 + - ✓ + - ✓ + - + - + + * - 3.1 + - ✓ + - ✓ + - + - + + * - 3.0 + - ✓ + - ✓ + - + - + + * - 2.9 + - ✓ + - ✓ + - ✓ + - ✓ + + * - 2.8 + - ✓ + - ✓ + - ✓ + - ✓ + + * - 2.7 + - ✓ + - ✓ + - ✓ + - ✓ + +.. [#python-2-compat] Versions of PyMongo 4.0 and later are not compatible + with Python 2 + +.. note:: + + - Jython 2.5 is a Python 2.5-compatible alternative interpreter. + - PyPy is a Python 2.7-compatible alternative interpreter.