Skip to content

Commit 4d0a621

Browse files
authored
DOCSP-46954 - PyPy compatibility (#185)
1 parent dca5d8e commit 4d0a621

File tree

1 file changed

+107
-19
lines changed

1 file changed

+107
-19
lines changed

source/includes/language-compatibility-table-pymongo.rst

Lines changed: 107 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Python 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,113 @@ Python 3
186182
- ✓
187183
- ✓
188184
- ✓
185+
186+
PyPy
187+
````
188+
189+
.. list-table::
190+
:header-rows: 1
191+
:stub-columns: 1
192+
:class: compatibility-large
193+
194+
* - {+driver-short+} Version
195+
- PyPy3.10
196+
- PyPy3.9
197+
- PyPy3.8
198+
- PyPy3.7
199+
- PyPy3.6
200+
- PyPy3.5
201+
202+
* - 4.11
203+
- ✓
204+
-
205+
-
206+
-
207+
-
208+
-
209+
210+
* - 4.8 to 4.10
211+
- ✓
212+
- ✓
213+
-
214+
-
215+
-
216+
-
217+
218+
* - 4.5 to 4.7
219+
- ✓
220+
- ✓
221+
- ✓
222+
-
223+
-
224+
-
225+
226+
* - 4.2 to 4.4
227+
- ✓
228+
- ✓
229+
- ✓
230+
- ✓
231+
-
232+
-
233+
234+
* - 4.1 [#three-six-compat]_
235+
- ✓
236+
- ✓
237+
- ✓
238+
- ✓
239+
- ✓
240+
-
241+
242+
* - 4.0
243+
- ✓
244+
- ✓
245+
- ✓
246+
- ✓
247+
- ✓
248+
-
249+
250+
* - 3.12
251+
- ✓
252+
- ✓
253+
- ✓
254+
- ✓
255+
- ✓
256+
- ✓
257+
258+
* - 3.11
259+
-
260+
- ✓
261+
- ✓
262+
- ✓
263+
- ✓
264+
- ✓
265+
266+
* - 3.10
267+
-
268+
-
269+
- ✓
270+
- ✓
271+
- ✓
272+
- ✓
273+
274+
* - 3.7 to 3.9
275+
-
276+
-
277+
-
278+
- ✓
279+
- ✓
189280
- ✓
190281

191282
.. [#ssl-4.0-issue] Versions of Python 3.10 and later are not compatible with
192283
TLS/SSL for versions of MongoDB 4.0 and earlier. For more information, see the
193284
:ref:`TLS <pymongo-troubleshoot-tls>` section of the Troubleshooting guide.
194-
.. [#three-six-compat] Pymongo 4.1 requires Python 3.6.2 or later.
195-
196-
For more information about how to read the compatibility tables, see
197-
:ref:`MongoDB Compatibility Tables. <about-driver-compatibility>`
285+
.. [#three-six-compat] {+driver-short+} 4.1 requires Python 3.6.2 or later.
198286
199287
Python 2
200288
~~~~~~~~
201289

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+}
290+
{+driver-short+} versions 3.7 through 3.12 are compatible with Python 2.7 and PyPy2.7.
291+
However, in some cases, {+driver-short+}
204292
applications behave differently when running in a Python 2 environment.
205293

206294
The following sections describe the differences in behavior between Python 2 and Python 3

0 commit comments

Comments
 (0)