11Python 3
22~~~~~~~~
33
4+ The following compatibility tables show {+driver-short+}'s compatibility with different
5+ versions of CPython and PyPy.
6+
7+ For more information about how to read the compatibility tables, see
8+ :ref: `MongoDB Compatibility Tables. <about-driver-compatibility >`
9+
10+ CPython
11+ ```````
12+
413.. list-table ::
514 :header-rows: 1
615 :stub-columns: 1
@@ -17,7 +26,6 @@ Python 3
1726 - CPython 3.6
1827 - CPython 3.5
1928 - CPython 3.4
20- - PyPy3
2129
2230 * - 4.11
2331 - ✓
@@ -30,7 +38,6 @@ Python 3
3038 -
3139 -
3240 -
33- -
3441
3542 * - 4.9 to 4.10
3643 - ✓
@@ -43,7 +50,6 @@ Python 3
4350 -
4451 -
4552 -
46- -
4753
4854 * - 4.8
4955 -
@@ -56,7 +62,6 @@ Python 3
5662 -
5763 -
5864 -
59- -
6065
6166 * - 4.5 to 4.7
6267 -
@@ -69,7 +74,6 @@ Python 3
6974 -
7075 -
7176 -
72- -
7377
7478 * - 4.3 to 4.4
7579 -
@@ -82,7 +86,6 @@ Python 3
8286 -
8387 -
8488 -
85- -
8689
8790 * - 4.2
8891 -
@@ -95,7 +98,6 @@ Python 3
9598 -
9699 -
97100 -
98- -
99101
100102 * - 4.1 [#three-six-compat ]_
101103 -
@@ -108,7 +110,6 @@ Python 3
108110 - ✓
109111 -
110112 -
111- -
112113
113114 * - 4.0
114115 -
@@ -121,7 +122,6 @@ Python 3
121122 - ✓
122123 -
123124 -
124- -
125125
126126 * - 3.13
127127 -
@@ -134,7 +134,6 @@ Python 3
134134 - ✓
135135 - ✓
136136 - ✓
137- - ✓
138137
139138 * - 3.12
140139 -
@@ -147,7 +146,6 @@ Python 3
147146 - ✓
148147 - ✓
149148 - ✓
150- - ✓
151149
152150 * - 3.11
153151 -
@@ -160,7 +158,6 @@ Python 3
160158 - ✓
161159 - ✓
162160 - ✓
163- - ✓
164161
165162 * - 3.10
166163 -
@@ -173,7 +170,6 @@ Python 3
173170 - ✓
174171 - ✓
175172 - ✓
176- - ✓
177173
178174 * - 3.7 to 3.9
179175 -
@@ -186,21 +182,85 @@ Python 3
186182 - ✓
187183 - ✓
188184 - ✓
189- - ✓
190185
191186.. [#ssl-4.0-issue ] Versions of Python 3.10 and later are not compatible with
192187 TLS/SSL for versions of MongoDB 4.0 and earlier. For more information, see the
193188 :ref: `TLS <pymongo-troubleshoot-tls >` section of the Troubleshooting guide.
194189 .. [#three-six-compat ] Pymongo 4.1 requires Python 3.6.2 or later.
195190
196- For more information about how to read the compatibility tables, see
197- :ref: `MongoDB Compatibility Tables. <about-driver-compatibility >`
191+ PyPy
192+ ````
193+
194+ .. list-table ::
195+ :header-rows: 1
196+ :stub-columns: 1
197+ :class: compatibility-large
198+
199+ * - {+driver-short+} Version
200+ - PyPy3.11
201+ - PyPy3.10
202+ - PyPy3.9
203+ - PyPy3.8
204+ - PyPy3.7
205+ - PyPy3.6
206+ - PyPy3.5
207+ - PyPy3.4
208+
209+ * - 4.11
210+ - ✓
211+ - ✓
212+ -
213+ -
214+ -
215+ -
216+ -
217+ -
218+
219+ * - 4.8 to 4.10
220+ - ✓
221+ - ✓
222+ - ✓
223+ -
224+ -
225+ -
226+ -
227+ -
228+
229+ * - 4.5 to 4.7
230+ - ✓
231+ - ✓
232+ - ✓
233+ - ✓
234+ -
235+ -
236+ -
237+ -
238+
239+ * - 3.8 to 4.4
240+ - ✓
241+ - ✓
242+ - ✓
243+ - ✓
244+ - ✓
245+ - ✓
246+ - ✓
247+ -
248+
249+ * - 3.7
250+ - ✓
251+ - ✓
252+ - ✓
253+ - ✓
254+ - ✓
255+ - ✓
256+ - ✓
257+ - ✓
198258
199259Python 2
200260~~~~~~~~
201261
202- {+driver-short+} versions 3.7 through 3.12 are compatible with Python 2.7 and PyPy, a
203- Python 2.7-compatible alternative interpreter. However, in some cases, {+driver-short+}
262+ {+driver-short+} versions 3.7 through 3.12 are compatible with Python 2.7 and PyPy2.7.
263+ However, in some cases, {+driver-short+}
204264applications behave differently when running in a Python 2 environment.
205265
206266The following sections describe the differences in behavior between Python 2 and Python 3
0 commit comments