From 2882d5f7849775788387cc96ea83ae6394f2a4fc Mon Sep 17 00:00:00 2001 From: Mike Woofter Date: Fri, 26 Apr 2024 11:59:34 -0500 Subject: [PATCH 1/6] autobuilder From 4de9280849cf3294c912bda2ae9a9a83bd9a39f9 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Mon, 24 Feb 2025 14:19:44 -0600 Subject: [PATCH 2/6] first draft --- .../language-compatibility-table-pymongo.rst | 96 +++++++++++++++---- 1 file changed, 78 insertions(+), 18 deletions(-) diff --git a/source/includes/language-compatibility-table-pymongo.rst b/source/includes/language-compatibility-table-pymongo.rst index 55347b1b..ac554bbf 100644 --- a/source/includes/language-compatibility-table-pymongo.rst +++ b/source/includes/language-compatibility-table-pymongo.rst @@ -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. ` + +CPython +``````` + .. list-table:: :header-rows: 1 :stub-columns: 1 @@ -17,7 +26,6 @@ Python 3 - CPython 3.6 - CPython 3.5 - CPython 3.4 - - PyPy3 * - 4.11 - ✓ @@ -30,7 +38,6 @@ Python 3 - - - - - * - 4.9 to 4.10 - ✓ @@ -43,7 +50,6 @@ Python 3 - - - - - * - 4.8 - @@ -56,7 +62,6 @@ Python 3 - - - - - * - 4.5 to 4.7 - @@ -69,7 +74,6 @@ Python 3 - - - - - * - 4.3 to 4.4 - @@ -82,7 +86,6 @@ Python 3 - - - - - * - 4.2 - @@ -95,7 +98,6 @@ Python 3 - - - - - * - 4.1 [#three-six-compat]_ - @@ -108,7 +110,6 @@ Python 3 - ✓ - - - - * - 4.0 - @@ -121,7 +122,6 @@ Python 3 - ✓ - - - - * - 3.13 - @@ -134,7 +134,6 @@ Python 3 - ✓ - ✓ - ✓ - - ✓ * - 3.12 - @@ -147,7 +146,6 @@ Python 3 - ✓ - ✓ - ✓ - - ✓ * - 3.11 - @@ -160,7 +158,6 @@ Python 3 - ✓ - ✓ - ✓ - - ✓ * - 3.10 - @@ -173,7 +170,6 @@ Python 3 - ✓ - ✓ - ✓ - - ✓ * - 3.7 to 3.9 - @@ -186,21 +182,85 @@ Python 3 - ✓ - ✓ - ✓ - - ✓ .. [#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 ` 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. ` +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 + - PyPy3.4 + + * - 4.11 + - ✓ + - ✓ + - + - + - + - + - + - + + * - 4.8 to 4.10 + - ✓ + - ✓ + - ✓ + - + - + - + - + - + + * - 4.5 to 4.7 + - ✓ + - ✓ + - ✓ + - ✓ + - + - + - + - + + * - 3.8 to 4.4 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + + * - 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+} applications behave differently when running in a Python 2 environment. The following sections describe the differences in behavior between Python 2 and Python 3 From 61154ec56f68a58f472bba43f2ab8eac88d96ba2 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Mon, 24 Feb 2025 16:24:43 -0600 Subject: [PATCH 3/6] wip --- .../language-compatibility-table-pymongo.rst | 31 ++++++++++++++++--- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/source/includes/language-compatibility-table-pymongo.rst b/source/includes/language-compatibility-table-pymongo.rst index ac554bbf..fe00e085 100644 --- a/source/includes/language-compatibility-table-pymongo.rst +++ b/source/includes/language-compatibility-table-pymongo.rst @@ -204,7 +204,6 @@ PyPy - PyPy3.7 - PyPy3.6 - PyPy3.5 - - PyPy3.4 * - 4.11 - ✓ @@ -214,7 +213,6 @@ PyPy - - - - - * - 4.8 to 4.10 - ✓ @@ -224,7 +222,6 @@ PyPy - - - - - * - 4.5 to 4.7 - ✓ @@ -234,10 +231,26 @@ PyPy - - - + + * - 4.2 to 4.4 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - - - * - 3.8 to 4.4 + * - 4.1 [#three-six-compat]_ + - ✓ - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + + * - 4.0 - ✓ - ✓ - ✓ @@ -246,12 +259,20 @@ PyPy - ✓ - - * - 3.7 + * - 3.8 to 3.12 + - ✓ + - ✓ - ✓ - ✓ - ✓ - ✓ - ✓ + + * - 3.7 + - ✓ + - ✓ + - ✓ + - ✓ - ✓ - ✓ - ✓ From 6e8662b6752c205b8644e57a5b0a3740b9c20871 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Tue, 25 Feb 2025 10:20:24 -0600 Subject: [PATCH 4/6] updates --- .../language-compatibility-table-pymongo.rst | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/source/includes/language-compatibility-table-pymongo.rst b/source/includes/language-compatibility-table-pymongo.rst index fe00e085..9be0adf4 100644 --- a/source/includes/language-compatibility-table-pymongo.rst +++ b/source/includes/language-compatibility-table-pymongo.rst @@ -215,7 +215,7 @@ PyPy - * - 4.8 to 4.10 - - ✓ + - - ✓ - ✓ - @@ -224,7 +224,7 @@ PyPy - * - 4.5 to 4.7 - - ✓ + - - ✓ - ✓ - ✓ @@ -233,7 +233,7 @@ PyPy - * - 4.2 to 4.4 - - ✓ + - - ✓ - ✓ - ✓ @@ -242,7 +242,7 @@ PyPy - * - 4.1 [#three-six-compat]_ - - ✓ + - - ✓ - ✓ - ✓ @@ -251,7 +251,7 @@ PyPy - * - 4.0 - - ✓ + - - ✓ - ✓ - ✓ @@ -259,20 +259,38 @@ PyPy - ✓ - - * - 3.8 to 3.12 + * - 3.12 + - + - ✓ + - ✓ + - ✓ - ✓ - ✓ - ✓ + + * - 3.11 + - + - + - ✓ - ✓ - ✓ - ✓ - ✓ - * - 3.7 + * - 3.10 + - + - + - - ✓ - ✓ - ✓ - ✓ + + * - 3.7 to 3.9 + - + - + - + - - ✓ - ✓ - ✓ From 25f45cd1dd84c46dfe64fcf4a16e1f8a92eae9cf Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Tue, 25 Feb 2025 10:31:30 -0600 Subject: [PATCH 5/6] wip --- .../includes/language-compatibility-table-pymongo.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/includes/language-compatibility-table-pymongo.rst b/source/includes/language-compatibility-table-pymongo.rst index 9be0adf4..cddc7b8a 100644 --- a/source/includes/language-compatibility-table-pymongo.rst +++ b/source/includes/language-compatibility-table-pymongo.rst @@ -183,11 +183,6 @@ CPython - ✓ - ✓ -.. [#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 ` section of the Troubleshooting guide. -.. [#three-six-compat] Pymongo 4.1 requires Python 3.6.2 or later. - PyPy ```` @@ -295,6 +290,11 @@ PyPy - ✓ - ✓ +.. [#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 ` section of the Troubleshooting guide. +.. [#three-six-compat] {+driver-short+} 4.1 requires Python 3.6.2 or later. + Python 2 ~~~~~~~~ From e4f96ada40070769f54697e871049d02781e88c2 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Tue, 4 Mar 2025 13:11:23 -0600 Subject: [PATCH 6/6] remove pypy 3.11 --- .../includes/language-compatibility-table-pymongo.rst | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/source/includes/language-compatibility-table-pymongo.rst b/source/includes/language-compatibility-table-pymongo.rst index cddc7b8a..6c0cefc4 100644 --- a/source/includes/language-compatibility-table-pymongo.rst +++ b/source/includes/language-compatibility-table-pymongo.rst @@ -192,7 +192,6 @@ PyPy :class: compatibility-large * - {+driver-short+} Version - - PyPy3.11 - PyPy3.10 - PyPy3.9 - PyPy3.8 @@ -201,7 +200,6 @@ PyPy - PyPy3.5 * - 4.11 - - ✓ - ✓ - - @@ -210,7 +208,6 @@ PyPy - * - 4.8 to 4.10 - - - ✓ - ✓ - @@ -219,7 +216,6 @@ PyPy - * - 4.5 to 4.7 - - - ✓ - ✓ - ✓ @@ -228,7 +224,6 @@ PyPy - * - 4.2 to 4.4 - - - ✓ - ✓ - ✓ @@ -237,7 +232,6 @@ PyPy - * - 4.1 [#three-six-compat]_ - - - ✓ - ✓ - ✓ @@ -246,7 +240,6 @@ PyPy - * - 4.0 - - - ✓ - ✓ - ✓ @@ -255,7 +248,6 @@ PyPy - * - 3.12 - - - ✓ - ✓ - ✓ @@ -264,7 +256,6 @@ PyPy - ✓ * - 3.11 - - - - ✓ - ✓ @@ -273,7 +264,6 @@ PyPy - ✓ * - 3.10 - - - - - ✓ @@ -285,7 +275,6 @@ PyPy - - - - - - ✓ - ✓ - ✓