Skip to content

Commit a2e4ba7

Browse files
authored
DOCSP-37481 - Compatibility (#34)
1 parent 95affe5 commit a2e4ba7

File tree

5 files changed

+389
-0
lines changed

5 files changed

+389
-0
lines changed

source/compatibility.txt

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
.. _pymongo-compatibility:
2+
3+
=============
4+
Compatibility
5+
=============
6+
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 2
11+
:class: singlecol
12+
13+
.. facet::
14+
:name: genre
15+
:values: reference
16+
17+
.. meta::
18+
:keywords: backwards compatibility, versions, upgrade
19+
20+
MongoDB Compatibility
21+
---------------------
22+
23+
The following compatibility table specifies the recommended version or versions
24+
of {+driver-short+} for use with a specific version of MongoDB.
25+
26+
The first column lists the driver version.
27+
28+
.. sharedinclude:: dbx/lifecycle-schedule-callout.rst
29+
30+
.. sharedinclude:: dbx/compatibility-table-legend.rst
31+
32+
.. include:: /includes/mongodb-compatibility-table-pymongo.rst
33+
34+
Language Compatibility
35+
----------------------
36+
37+
The following compatibility table specifies the recommended version of
38+
{+driver-short+} for use with a specific version of Python.
39+
40+
The first column lists the driver version.
41+
42+
.. include:: /includes/language-compatibility-table-pymongo.rst
43+
44+
For more information on how to read the compatibility tables, see our guide on
45+
:ref:`MongoDB Compatibility Tables. <about-driver-compatibility>`

source/fundamentals/connection/tls.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ revocation checking failed:
279279

280280
See :ref:`OCSP` for more details.
281281

282+
.. _pymongo-python-3.10-tls:
283+
282284
Python 3.10+ Incompatibilities with TLS/SSL on MongoDB <= 4.0
283285
-------------------------------------------------------------
284286

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
Python 3
2+
~~~~~~~~
3+
4+
.. list-table::
5+
:header-rows: 1
6+
:stub-columns: 1
7+
:class: compatibility-large
8+
9+
* - {+driver-short+} Version
10+
- Python 3.12
11+
- Python 3.11
12+
- Python 3.10 [#ssl-4.0-issue]_
13+
- Python 3.9
14+
- Python 3.8
15+
- Python 3.7
16+
- Python 3.6
17+
- Python 3.5
18+
- Python 3.4
19+
- PyPy3
20+
21+
* - 4.6
22+
- ✓
23+
- ✓
24+
- ✓
25+
- ✓
26+
- ✓
27+
- ✓
28+
-
29+
-
30+
-
31+
-
32+
33+
* - 4.5
34+
- ✓
35+
- ✓
36+
- ✓
37+
- ✓
38+
- ✓
39+
- ✓
40+
-
41+
-
42+
-
43+
-
44+
45+
* - 4.4
46+
-
47+
- ✓
48+
- ✓
49+
- ✓
50+
- ✓
51+
- ✓
52+
-
53+
-
54+
-
55+
-
56+
57+
* - 4.3
58+
-
59+
- ✓
60+
- ✓
61+
- ✓
62+
- ✓
63+
- ✓
64+
-
65+
-
66+
-
67+
-
68+
69+
* - 4.2
70+
-
71+
-
72+
- ✓
73+
- ✓
74+
- ✓
75+
- ✓
76+
-
77+
-
78+
-
79+
-
80+
81+
* - 4.1 [#three-six-compat]_
82+
-
83+
-
84+
- ✓
85+
- ✓
86+
- ✓
87+
- ✓
88+
- ✓
89+
-
90+
-
91+
-
92+
93+
* - 4.0
94+
-
95+
-
96+
- ✓
97+
- ✓
98+
- ✓
99+
- ✓
100+
- ✓
101+
-
102+
-
103+
-
104+
105+
* - 3.13
106+
-
107+
- ✓
108+
- ✓
109+
- ✓
110+
- ✓
111+
- ✓
112+
- ✓
113+
- ✓
114+
- ✓
115+
- ✓
116+
117+
* - 3.12
118+
-
119+
-
120+
- ✓
121+
- ✓
122+
- ✓
123+
- ✓
124+
- ✓
125+
- ✓
126+
- ✓
127+
- ✓
128+
129+
* - 3.11
130+
-
131+
-
132+
-
133+
- ✓
134+
- ✓
135+
- ✓
136+
- ✓
137+
- ✓
138+
- ✓
139+
- ✓
140+
141+
* - 3.10
142+
-
143+
-
144+
-
145+
-
146+
- ✓
147+
- ✓
148+
- ✓
149+
- ✓
150+
- ✓
151+
- ✓
152+
153+
* - 3.9
154+
-
155+
-
156+
-
157+
-
158+
-
159+
- ✓
160+
- ✓
161+
- ✓
162+
- ✓
163+
- ✓
164+
165+
* - 3.8
166+
-
167+
-
168+
-
169+
-
170+
-
171+
- ✓
172+
- ✓
173+
- ✓
174+
- ✓
175+
- ✓
176+
177+
* - 3.7
178+
-
179+
-
180+
-
181+
-
182+
-
183+
- ✓
184+
- ✓
185+
- ✓
186+
- ✓
187+
- ✓
188+
189+
.. [#ssl-4.0-issue] Versions of Python 3.10 and later are not compatible with
190+
TLS/SSL for versions of MongoDB 4.0 and earlier. For more information, see the
191+
:ref:`TLS guide <pymongo-python-3.10-tls>`.
192+
.. [#three-six-compat] Pymongo 4.1 requires Python 3.6.2 or later.
193+
194+
.. note::
195+
196+
PyPy3 is a Python 3.2-compatible alternative interpreter.
197+
198+
Python 2
199+
~~~~~~~~
200+
201+
{+driver-short+} versions 3.7 through 3.12 are compatible with Python 2.7 and PyPy, a Python 2.7-
202+
compatible alternative interpreter.
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
.. list-table::
2+
:header-rows: 1
3+
:stub-columns: 1
4+
:class: compatibility-large
5+
6+
* - {+driver-short+} Version
7+
- MongoDB 7.0
8+
- MongoDB 6.0
9+
- MongoDB 5.0
10+
- MongoDB 4.4
11+
- MongoDB 4.2
12+
- MongoDB 4.0
13+
- MongoDB 3.6
14+
15+
* - 4.6
16+
- ✓
17+
- ✓
18+
- ✓
19+
- ✓
20+
- ✓
21+
- ✓
22+
- ✓
23+
24+
* - 4.5
25+
- ✓
26+
- ✓
27+
- ✓
28+
- ✓
29+
- ✓
30+
- ✓
31+
- ✓
32+
33+
* - 4.4
34+
- ✓
35+
- ✓
36+
- ✓
37+
- ✓
38+
- ✓
39+
- ✓
40+
- ✓
41+
42+
* - 4.3
43+
- ⊛
44+
- ✓
45+
- ✓
46+
- ✓
47+
- ✓
48+
- ✓
49+
- ✓
50+
51+
* - 4.2
52+
- ⊛
53+
- ✓
54+
- ✓
55+
- ✓
56+
- ✓
57+
- ✓
58+
- ✓
59+
60+
* - 4.1
61+
- ⊛
62+
- ⊛
63+
- ✓
64+
- ✓
65+
- ✓
66+
- ✓
67+
- ✓
68+
69+
* - 4.0
70+
- ⊛
71+
- ⊛
72+
- ✓
73+
- ✓
74+
- ✓
75+
- ✓
76+
- ✓
77+
78+
* - 3.13
79+
- ⊛
80+
- ⊛
81+
- ✓
82+
- ✓
83+
- ✓
84+
- ✓
85+
- ✓
86+
87+
* - 3.12
88+
- ⊛
89+
- ⊛
90+
- ✓
91+
- ✓
92+
- ✓
93+
- ✓
94+
- ✓
95+
96+
* - 3.11
97+
- ⊛
98+
- ⊛
99+
- ⊛
100+
- ✓
101+
- ✓
102+
- ✓
103+
- ✓
104+
105+
* - 3.10
106+
- ⊛
107+
- ⊛
108+
- ⊛
109+
- ⊛
110+
- ✓
111+
- ✓
112+
- ✓
113+
114+
* - 3.9
115+
- ⊛
116+
- ⊛
117+
- ⊛
118+
- ⊛
119+
- ✓
120+
- ✓
121+
- ✓
122+
123+
* - 3.8
124+
- ⊛
125+
- ⊛
126+
- ⊛
127+
- ⊛
128+
- ⊛
129+
- ✓
130+
- ✓
131+
132+
* - 3.7
133+
- ⊛
134+
- ⊛
135+
- ⊛
136+
- ⊛
137+
- ⊛
138+
- ✓
139+
- ✓

0 commit comments

Comments
 (0)