File: requirements.rst

package info (click to toggle)
python-motor 3.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,572 kB
  • sloc: python: 12,252; javascript: 137; makefile: 74; sh: 8
file content (171 lines) | stat: -rw-r--r-- 8,178 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
Requirements
============

.. warning:: Motor will be deprecated on May 14th, 2026, one year after the production release of the PyMongo Async driver. Critical bug fixes will be made until May 14th, 2027.
  We strongly recommend that Motor users migrate to the PyMongo Async driver while Motor is still supported.
  To learn more, see `the migration guide <https://www.mongodb.com/docs/languages/python/pymongo-driver/current/reference/migration/>`_.


The current version of Motor requires:

* CPython 3.9 and later.
* PyMongo_ 4.9 and later.

Motor can integrate with either Tornado or asyncio.

The default authentication mechanism for MongoDB is SCRAM-SHA-1.

Building the docs requires `sphinx`_.

.. _PyMongo: https://pypi.python.org/pypi/pymongo/

.. _sphinx: https://www.sphinx-doc.org/

.. _compatibility-matrix:

Compatibility Matrix
--------------------

Motor and PyMongo
`````````````````

+-------------------+-----------------+
| Motor Version     | PyMongo Version |
+===================+=================+
| 2.5               | 3.12+           |
+-------------------+-----------------+
| 3.0               | 4.1+            |
+-------------------+-----------------+
| 3.1               | 4.2+            |
+-------------------+-----------------+
| 3.2               | 4.4+            |
+-------------------+-----------------+
| 3.3               | 4.5+            |
+-------------------+-----------------+
| 3.4               | 4.5+            |
+-------------------+-----------------+
| 3.5               | 4.5+            |
+-------------------+-----------------+
| 3.6               | 4.9             |
+-------------------+-----------------+
| 3.7               | 4.9+            |
+-------------------+-----------------+

Motor and MongoDB
`````````````````

+---------------------------------------------------------------------+
|                        MongoDB Version                              |
+=====================+=====+=====+=====+=====+=====+=====+=====+=====+
|                     | 3.6 | 4.0 | 4.2 | 4.4 | 5.0 | 6.0 | 7.0 | 8.0 |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| Motor Version | 2.5 |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.0 |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.1 |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.2 |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.3 |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.4 |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.5 |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.6 |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.7 |  N  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+

There is no relationship between PyMongo and MongoDB version numbers, although
the numbers happen to be close or equal in recent releases of PyMongo and MongoDB.
Use `the PyMongo compatibility matrix`_ to determine what MongoDB version is
supported by PyMongo. Use the compatibility matrix above to determine what
MongoDB version Motor supports.

.. _the PyMongo compatibility matrix: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/reference/compatibility/

Motor and Tornado
`````````````````

Where "N" appears in this matrix, the versions of Motor and Tornado are
known to be incompatible, or have not been tested together.

+---------------------------------------------+
|       Tornado Version                       |
+=====================+=====+=====+=====+=====+
| Motor Version | 2.5 |**N**|**N**|  Y  |  Y  |
+---------------+-----+-----+-----+-----+-----+
|               | 3.0 |**N**|**N**|**N**|  Y  |
+---------------+-----+-----+-----+-----+-----+
|               | 3.1 |**N**|**N**|**N**|  Y  |
+---------------+-----+-----+-----+-----+-----+
|               | 3.2 |**N**|**N**|**N**|  Y  |
+---------------+-----+-----+-----+-----+-----+
|               | 3.3 |**N**|**N**|**N**|  Y  |
+---------------+-----+-----+-----+-----+-----+
|               | 3.4 |**N**|**N**|**N**|  Y  |
+---------------+-----+-----+-----+-----+-----+

Motor and Python
````````````````

Motor 2.5 deprecated support for Python 3.5.

Motor 3.0 dropped support for Pythons older than 3.7.

Motor 3.1.1 added support for Python 3.11.

Motor 3.3 added support for Python 3.12.

Motor 3.5 dropped support for Python 3.7 and added support for Python 3.13.

Motor 3.7 dropped support for Python 3.8.

+---------------------------------------------------------------------+
|                   Python Version                                    |
+=====================+=====+=====+=====+=====+=====+=====+=====+=====+
|                     | 3.6 | 3.7 | 3.8 | 3.9 | 3.10| 3.11| 3.12| 3.13|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| Motor Version | 1.0 |  Y  |**N**|**N**|**N**|**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 1.1 |  Y  |**N**|**N**|**N**|**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 1.2 |  Y  |  Y  |**N**|**N**|**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 1.3 |  Y  |  Y  |**N**|**N**|**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 2.0 |  Y  |  Y  |**N**|**N**|**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 2.1 |  Y  |  Y  |  Y  |**N**|**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 2.2 |  Y  |  Y  |  Y  |**N**|**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 2.3 |  Y  |  Y  |  Y  |**N**|**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 2.4 |  Y  |  Y  |  Y  |  Y  |**N**|**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 2.5 |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.0 |**N**|  Y  |  Y  |  Y  |  Y  |**N**|**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.1 |**N**|  Y  |  Y  |  Y  |  Y  |  Y  |**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.2 |**N**|  Y  |  Y  |  Y  |  Y  |  Y  |**N**|**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.3 |**N**|  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.4 |**N**|  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.5 |**N**|**N**|  Y  |  Y  |  Y  |  Y  |  Y  |**N**|
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.6 |**N**|**N**|  Y  |  Y  |  Y  |  Y  |  Y  |  Y  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|               | 3.7 |**N**|**N**|**N**|  Y  |  Y  |  Y  |  Y  |  Y  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+

Not Supported
-------------

Motor does not support Jython or IronPython.